Re: [Bug 1328958] Re: Local provider run on server images requires an ubuntu user

2014-07-09 Thread Max Brustkern
So mine is working if I remove /home/ubuntu. Is there something else I should check? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to juju-core in Ubuntu. https://bugs.launchpad.net/bugs/1328958 Title: Local provider run on server

[Bug 1328958] Re: Local provider run on server images requires an ubuntu user

2014-07-09 Thread Robie Basak
No that's fine - thank you for confirming. ** Summary changed: - Local provider run on server images requires an ubuntu user + Local provider fails when an unrelated /home/ubuntu directory exists -- You received this bug notification because you are a member of Ubuntu Server Team, which is

[Bug 1328958] Re: Local provider run on server images requires an ubuntu user

2014-07-08 Thread Robie Basak
Max: any joy? My conclusion for now is: When running a local environment, Juju uses the existence of /home/ubuntu to determine if the ubuntu user is special. Instead, it should pay attention to what user my original user was (before sudo-ing, etc). I understand that when deploying to any other

Re: [Bug 1328958] Re: Local provider run on server images requires an ubuntu user

2014-07-08 Thread Max Brustkern
The deployments I've been doing all need swift, so I had to get canonistack working anyway. I'll retry this later this week. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to juju-core in Ubuntu. https://bugs.launchpad.net/bugs/1328958

[Bug 1328958] Re: Local provider run on server images requires an ubuntu user

2014-06-26 Thread Robie Basak
A better way might be to copy the ownership of /home/ubuntu into /home/ubuntu/.juju-proxy. But why was the code trying to touch my system's /home/ubuntu in the first place? My HOME is /home/robie, and my USER is robie. I think this bug goes deeper than this. -- You received this bug

[Bug 1328958] Re: Local provider run on server images requires an ubuntu user

2014-06-26 Thread Robie Basak
I think I've found the problem: environs/cloudinit/cloudinit.go:280 fmt.Sprintf( `[ -e /home/ubuntu ] (printf '%%s\n' %s /home/ubuntu/.juju-proxy chown ubuntu:ubuntu /home/ubuntu/.juju-proxy)`,

[Bug 1328958] Re: Local provider run on server images requires an ubuntu user

2014-06-26 Thread Max Brustkern
There we go! I have /home/ubuntu left over from an old setup simulating the conditions in the CI lab, but I have no ubuntu user. I'll delete /home/ubuntu and try again. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to juju-core in

[Bug 1328958] Re: Local provider run on server images requires an ubuntu user

2014-06-24 Thread Curtis Hovey
** Summary changed: - Local provider run on cloud images want ubuntu user + Local provider run on server images requires an ubuntu user -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to juju-core in Ubuntu.

[Bug 1328958] Re: Local provider run on server images requires an ubuntu user

2014-06-24 Thread Curtis Hovey
@robie cat /etc/cloud/build.info ^ this is a server image. I can reproduce the error in the extraordinary condition of a server image without an ubuntu user. juju local-provider just works with desktop and servers. desktops don't has an ubuntu user, servers have a default ubuntu user. My