Public bug reported:

I've created a build using the 'standard' and 'cloud-image' tasks on
Quantal, but without setting a default user.

Cloud-init fails with the following in the log.


2012-09-21 12:47:31,426 - helpers.py[DEBUG]: Running config-users-groups using 
lock (<FileLock using file 
'/var/lib/cloud/instances/srv-p9zyv/sem/config-users-groups'>)
2012-09-21 12:47:31,427 - cc_users_groups.py[INFO]: Creating default user
2012-09-21 12:47:31,427 - __init__.py[DEBUG]: Creating name ubuntu
2012-09-21 12:47:31,427 - util.py[DEBUG]: Running hidden command to protect 
sensitive input/output logstring: ['useradd', 'ubuntu', '--shell', '/bin/bash', 
'--comment', 'Ubuntu', '--groups', 
'adm,audio,cdrom,dialout,floppy,video,plugdev,dip,netdev,sudo']
2012-09-21 12:47:31,440 - util.py[WARNING]: Failed to create user Unexpected 
error while running command.
Command: ['useradd', 'ubuntu', '--shell', '/bin/bash', '--comment', 'Ubuntu', 
'--groups', 'adm,audio,cdrom,dialout,floppy,video,plugdev,dip,netdev,sudo', 
'-m']
Exit code: 6
Reason: -
Stdout: ''
Stderr: "useradd: group 'netdev' does not exist\n" due to error.
2012-09-21 12:47:31,440 - util.py[DEBUG]: Failed to create user Unexpected 
error while running command.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: cloud-init 0.7.0~bzr659-0ubuntu2
ProcVersionSignature: Ubuntu 3.5.0-15.22-generic 3.5.4
Uname: Linux 3.5.0-15-generic x86_64
ApportVersion: 2.5.2-0ubuntu4
Architecture: amd64
Date: Fri Sep 21 12:57:45 2012
PackageArchitecture: all
SourcePackage: cloud-init
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: cloud-init (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug quantal uec-images

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1054035

Title:
  Adding default user fails due to lack of 'netdev' group

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1054035/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to