Keystone container may end up with broken openrc file
Bug #1398632 reported by
Martin André
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Fix Released
|
High
|
Martin André |
Bug Description
If the keystone container is started before the keystone k8s service is up, we'll end up with a broken openrc file:
[root@keystone /]# cat openrc
export OS_AUTH_URL="http://
export OS_USERNAME=admin
export OS_PASSWORD="kolla"
export OS_TENANT_
We need to check that the KEYSTONE_
Changed in kolla: | |
importance: | Undecided → High |
Changed in kolla: | |
milestone: | none → liberty-1 |
assignee: | nobody → Martin André (mandre) |
Changed in kolla: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/138601 /git.openstack. org/cgit/ stackforge/ kolla/commit/ ?id=21f28309e7a 15f25e1763611d1 8330145e0ff0fa
Committed: https:/
Submitter: Jenkins
Branch: master
commit 21f28309e7a15f2 5e1763611d18330 145e0ff0fa
Author: Martin André <email address hidden>
Date: Mon Dec 1 14:50:58 2014 +0900
Check for all required variables in keystone start.sh
This allows Kubernetes to reschedule the container in case a required
variable is missing, for example when the Kubernetes pod is started
before the service.
Additionally, define the KEYSTONE_ ADMIN_SERVICE_ HOST and PUBLIC_ SERVICE_ HOST variables to their common version if not
KEYSTONE_
already set to allow usage outside of Kubernetes with docker link
feature.
Change-Id: Ie0966c18076a77 0e4031bbf5f777d d1be0ba20bc
Closes-Bug: 1398632