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

Curtis Hovey curtis at canonical.com
Tue Jun 24 16:23:29 UTC 2014


@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 own local lxc bootstrap
ls -l /home/curtis/.juju/local/cloud-init-output.log
-rw-r--r-- 1 root root 4218 Jun 24 11:23 /home/curtis/.juju/local/cloud-init-output.log

Test of local lxc bootstrap on a trusty server as another user (which I expect ubuntu to exist on)
$ ls -l $JUJU_HOME/local-trusty/cloud-init-output.log 
-rw-r--r-- 1 root root 160425 Jun 24 15:34 /var/lib/jenkins/cloud-city/local-trusty/cloud-init-output.log

When I do remove the ubuntu user from a server, local bootstrap fails
trying to make ubuntu the owner of the cloud-init-output.log. This is
wrong because even when there is an ubuntu user, the log is owned by
root. Desktop's are not effected, though maybe they can be is some some
server packages were added. I imagine the issue relates to what did juju
look at decide the localhost was a server.

The issue is present in all version of juju 1.18.x and 1.19.x. So while
this is a real problem, it happens under special conditions. This
doesn't block the release of 1.20.0



** Attachment added: "log chowned to wrong user"
   https://bugs.launchpad.net/ubuntu/+source/juju-core/+bug/1328958/+attachment/4138369/+files/bootstrap-wants-ubuntu.log

-- 
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 images requires an ubuntu user

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju-core/+bug/1328958/+subscriptions



More information about the Ubuntu-server-bugs mailing list