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

James Page james.page at ubuntu.com
Thu Jun 9 11:12:27 UTC 2016


OK this is triggered by:

    if [ "$(id -gn nova)"  = "nogroup" ]; then
      usermod -g nova nova
    fi

However I think we can drop that in the current packages (nogroup has
not been used for ages).

-- 
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:
  Fix Committed

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