Functional tests failing due to uid 65534 not present

Bug #1691969 reported by Daniel Alvarez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Won't Fix
Low
Daniel Alvarez

Bug Description

We're relying on existing uid 65534 to run functional tests [0] and if it doesn't exist,
metadata proxy will fail to spawn [1] and so will the tests.

From what I've seen in centos7, user with uid 65534 exists when deploying devstack because libvirt package is installed and nfs-utils is a dependency. nfs-utils will create nfsnobody user under this uid [2] and the functional tests pass.

We shouldn't rely on this uid to be present on the system. I'll try to come up with something to fix the tests but feedback is very welcome :)

Daniel

[0] https://github.com/openstack/neutron/blob/master/neutron/tests/functional/agent/l3/test_metadata_proxy.py#L188
[1] https://github.com/openstack/neutron/blob/03c5283c69f1f5cba8a9f29e7bd7fd306ee0c123/neutron/agent/metadata/driver.py#L100
[2] http://paste.openstack.org/show/609989/

Changed in neutron:
assignee: nobody → Daniel Alvarez (dalvarezs)
tags: added: functional-tests
Changed in neutron:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Ihar Hrachyshka (ihar-hrachyshka) wrote :

Can't we use the existing user that runs the test? It's guaranteed to be present.

Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :

Bug closed due to lack of activity, please feel free to reopen if needed.

Changed in neutron:
status: Confirmed → Won't Fix
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.