undefined signing_dir does not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Invalid
|
Undecided
|
Unassigned | ||
Folsom |
Fix Released
|
High
|
Dolph Mathews | ||
python-keystoneclient |
Fix Released
|
High
|
Dolph Mathews | ||
openSUSE |
New
|
Undecided
|
Unassigned |
Bug Description
SUSE's automated system testing found a regression for Folsom from the fix of bug 1174608
first failing:
http://
last working:
http://
The problem is that signing_dir is no more defined in /etc/nova/
but the init script does not have HOME setup at all or set to /root and the nova user does not have write-access to the /root/keystone-
The nova-api process should likely use getpwent to determine the real home dir instead of relying on $HOME, which is usually not meaningful during system startup.
Changed in python-keystoneclient: | |
status: | New → Confirmed |
importance: | Undecided → Critical |
Changed in keystone: | |
status: | Incomplete → Invalid |
no longer affects: | nova |
Changed in python-keystoneclient: | |
milestone: | none → 0.2.4 |
status: | Fix Committed → Fix Released |
this actually comes from middleware/ auth_token. py: self.signing_ dirname = '%s/keystone- signing' % os.environ['HOME']
keystone/