[Bug 1585794] [NEW] dpkg unable to configure nova-common if user nova is in ldap

Marcin Zbik zbikmarc+launchpad at gmail.com
Wed May 25 20:33:32 UTC 2016


Public bug reported:

Setting up nova-common (2:13.0.0-0ubuntu2) ...
usermod: user 'nova' does not exist in /etc/passwd
dpkg: error processing package nova-common (--configure):
 subprocess installed post-installation script returned error exit status 6
dpkg: dependency problems prevent configuration of nova-api:
 nova-api depends on nova-common (= 2:13.0.0-0ubuntu2); however:
  Package nova-common is not configured yet.


It fails even if user exists in LDAP. Of course nslcd and nscd are configured to use LDAP as backend for passwd, shadow and groups

Adding nova user with exact same UID and GID to /etc/passwd helps

# lsb_release -rd
Description:    Ubuntu 16.04 LTS
Release:        16.04

** Affects: nova (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1585794

Title:
  dpkg unable to configure nova-common if user nova is in ldap

Status in nova package in Ubuntu:
  New

Bug description:
  Setting up nova-common (2:13.0.0-0ubuntu2) ...
  usermod: user 'nova' does not exist in /etc/passwd
  dpkg: error processing package nova-common (--configure):
   subprocess installed post-installation script returned error exit status 6
  dpkg: dependency problems prevent configuration of nova-api:
   nova-api depends on nova-common (= 2:13.0.0-0ubuntu2); however:
    Package nova-common is not configured yet.

  
  It fails even if user exists in LDAP. Of course nslcd and nscd are configured to use LDAP as backend for passwd, shadow and groups

  Adding nova user with exact same UID and GID to /etc/passwd helps

  # lsb_release -rd
  Description:    Ubuntu 16.04 LTS
  Release:        16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1585794/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list