Comment 25 for bug 1437054

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-ansible-deployment (kilo)

Reviewed: https://review.openstack.org/179836
Committed: https://git.openstack.org/cgit/stackforge/os-ansible-deployment/commit/?id=6ee4ba809642ebdff3b6b14b9f72c350817698ed
Submitter: Jenkins
Branch: kilo

commit 6ee4ba809642ebdff3b6b14b9f72c350817698ed
Author: Kevin Carter <email address hidden>
Date: Mon May 4 10:36:55 2015 -0500

    Fixed container user create issue

    This patch resolves an issue where the LXC container create user
    password is being hard coded due to how the default LXC container
    template is being used. The template allows for a container to be
    created without specifying a password at create time however when
    doing this the default LXC template will create a user and a
    password based on the linux distribution's name. This means that
    all users of a "ubuntu" template will have a "ubuntu" user which
    will have a "ubuntu" password. While the container user must exist
    the password does not need to be known to the end user/deployer
    because there are other means to gain access to a container from
    within the host. So to correct this issue for all deployers as
    well as all future deployments this patch ensures that the container
    user is created with a random password and provides for an additional
    tag to allow the deployer to regenerate the password at will.

    Change-Id: I81d0e8b0d8e9e431cd8eebd43ceaffab7e61b207
    Closes-Bug: 1437054
    (cherry pick from commit 8efb09f90dae73a21ec3dc21842fe28e668ead39)