Bug 1115946

Summary: nova uid and gid are not constant across multinode deployments, causing problems on shared NFS instance storage
Product: Red Hat OpenStack Reporter: Jaroslav Henner <jhenner>
Component: openstack-puppet-modulesAssignee: Lukas Bezdicka <lbezdick>
Status: CLOSED ERRATA QA Contact: Jaroslav Henner <jhenner>
Severity: urgent Docs Contact:
Priority: high    
Version: 5.0 (RHEL 7)CC: apevec, eglynn, lbezdick, sclewis, sgordon, yeylon
Target Milestone: rcKeywords: TestOnly
Target Release: 5.0 (RHEL 7)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-puppet-modules-2014.1-18.2.el7ost openstack-packstack-2014.1.1-0.32.1.dev1209.el7ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1115948 (view as bug list) Environment:
Last Closed: 2014-07-24 17:25:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1001544, 1115948    

Description Jaroslav Henner 2014-07-03 11:27:54 UTC
Description of problem:
`--> pssh -H 1.2.3.15 -H 1.2.3.16 -H 1.2.3.17 -i 'id nova'    
[1] 13:10:27 [SUCCESS] 1.2.3.16
uid=162(nova) gid=162(nova) groups=162(nova),99(nobody),107(qemu)
[2] 13:10:27 [SUCCESS] 1.2.3.15
uid=995(nova) gid=993(nova) groups=993(nova)
[3] 13:10:27 [SUCCESS] 1.2.3.17
uid=995(nova) gid=994(nova) groups=994(nova),107(qemu)

Version-Release number of selected component (if applicable):
openstack-packstack-2014.1.1-0.30.dev1204.el7ost.noarch
openstack-nova-compute-2014.1-7.el7ost.noarch

How reproducible:
>80%

Steps to Reproduce:
1. Deploy multinode with packstack
2. pssh -H 1.2.3.15 -H 1.2.3.16 -H 1.2.3.17 -i 'id nova'

Actual results:
uids and gids are not uniform across the deployment. That makes shared instance storage failing on file access permissions.

Expected results:
 * uids and gids are uniform
 * or id's managment is used



Additional info:

Comment 2 Jaroslav Henner 2014-07-03 13:51:23 UTC
This has probably been caused by

https://github.com/stackforge/puppet-nova/commit/f854ca4e49a760161e17feda949fd8686fb84bda

Comment 3 Stephen Gordon 2014-07-03 14:15:24 UTC
Marking severity as urgent as if a user deploys with this there is no neat way to correct the UIDs in an RPM upgrade later.

Comment 6 Jaroslav Henner 2014-07-04 08:12:25 UTC
It is fixed in
openstack-packstack-2014.1.1-0.32.1.dev1209.el7ost.noarch
openstack-puppet-modules-2014.1-18.2.el7ost.noarch

Comment 11 Jaroslav Henner 2014-07-14 08:51:20 UTC
This has been verified already (comment #6). Setting the status.

Comment 13 errata-xmlrpc 2014-07-24 17:25:04 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-0930.html