← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1691969] [NEW] Functional tests failing due to uid 65534 not present

 

Public bug reported:

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/

** Affects: neutron
     Importance: Undecided
     Assignee: Daniel Alvarez (dalvarezs)
         Status: New


** Tags: functional-tests

** Changed in: neutron
     Assignee: (unassigned) => Daniel Alvarez (dalvarezs)

** Tags added: functional-tests

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1691969

Title:
  Functional tests failing due to uid 65534 not present

Status in neutron:
  New

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/

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1691969/+subscriptions


Follow ups