On Wed, 31 Jul 2013 13:19:57 +0300 Paul Sokolovsky Paul.Sokolovsky@linaro.org wrote:
[]
I can't create stream anymore: XML-RPC error 403: Only a member of group 'linaro' could create this stream
Well, this looks either related to getting rid of groups mapping we deployed yesterday, or to Antonio's possibly incomplete revert of it yesterday. But for revert, the message doesn't make sense, so it's probably due to original "getting rid of".
But whatever it is, please pay attention to the error message: we don't have group "linaro" any more, so the proper fix would be to fix ACLs or whatever control that to reference proper group (which should be "linaro-lava-access"). So let's fix it properly, applying another round of "mapping" workarounds will just make it more and more confusing.
Argh:
user_name, group_name, slug, is_public, is_anonymous = BundleStream.parse_pathname(pathname)
So, it takes group_name from bundle path, and then expects user to be member of that group. And we don't have "linaro" group for LAVA usage any more, but kinda still want to create bundle streams with that in the path.
Fairly speaking, I don't know what to do. My stance would be to avoid any exceptions to the general rule - if bundle stream path requires inclusion of name of the group, then it always should be name of real group, not something else (because something else can be anything, and this negates original rule and leads to confusion). Otherwise, it shows that applying ACLs based on the path of stream wasn't exactly the brightest choice - names and access restrictions tend to change independently in the real world.
ps: used to work, I'm creating streams on a weekly basis....most likely a recent change.
We did change the XML-RPC URL for validation. Both validation.linaro.org/RPC2/ and validation.linaro.org/lava-server/RPC2/ were supposed to work but I noticed some issues today with validation.linaro.org/lava-server/RPC2/.
If you have not already tried, auth-add using the new URL and try to create a stream?
Cheers,
Fathi Boudra Builds and Baselines Manager | Release Manager Linaro.org | Open source software for ARM SoCs
linaro-validation mailing list linaro-validation@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-validation
-- Tyler Baker Technical Architect, LAVA Linaro.org | Open source software for ARM SoCs Follow Linaro: http://www.facebook.com/pages/Linaro http://twitter.com/#%21/linaroorg - http://www.linaro.org/linaro-blog