glance source based containers miss 'glance' user

Bug #1483659 reported by Vladislav Belogrudov
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kolla
Fix Released
High
Vladislav Belogrudov

Bug Description

glance-base Dockerfile does not have addition of 'glance' user. In glance-api we have

# Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases
# of the KOLLA_BOOTSTRAP variable being set, including empty.
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
    su -s /bin/sh -c "glance-manage db_sync" glance
    exit 0
fi

This fails and goes unnoticed.

Changed in kolla:
assignee: nobody → Vladislav Belogrudov (vlad-belogrudov)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (master)

Fix proposed to branch: master
Review: https://review.openstack.org/211512

Changed in kolla:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/211512
Committed: https://git.openstack.org/cgit/stackforge/kolla/commit/?id=acd3e618e0cafbbac1595bfd8203a788c9bb8e43
Submitter: Jenkins
Branch: master

commit acd3e618e0cafbbac1595bfd8203a788c9bb8e43
Author: Vladislav Belogrudov <email address hidden>
Date: Tue Aug 11 14:19:27 2015 +0300

    Glance source based container misses 'glance' user

    This will lead to failed database initialization

    Change-Id: If54e928bfe7004b7048294100cebbf693cebda79
    Closes-Bug: #1483659

Changed in kolla:
status: In Progress → Fix Committed
Steven Dake (sdake)
Changed in kolla:
importance: Undecided → High
milestone: none → liberty-rc1
Sam Yaple (s8m)
Changed in kolla:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.