groups added with a user list must have all users present.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
$ cat my.yaml
#cloud-config
groups:
- basic
- group1: [foobar]
users:
- name: foobar
groups: basic
$ lxc launch ubuntu-daily:artful "--config=
...
$ lxc exec a2 -- grep WARN /var/log/
2017-10-18 17:18:27,034 - __init_
I found this bug when looking at intergration test WARNINGs per bug 1724354.
I'm not sure what the right change is, options include:
* document this
* move user creation before groups creation. This will probably work, since we now create groups by default that do not already exist when creating users.
* run 2 passes, or otherwise read group content before adding groups.
Related bugs:
* bug 1724354: WARNING in logs due to missing python-jsconschema
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: cloud-init 17.1-18-
ProcVersionSign
Uname: Linux 4.13.0-15-generic x86_64
ApportVersion: 2.20.7-0ubuntu3
Architecture: amd64
CloudName: None
Date: Wed Oct 18 17:18:30 2017
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
LANG=C.UTF-8
SourcePackage: cloud-init
UpgradeStatus: No upgrade log present (probably fresh install)
cloud-init-
Changed in cloud-init (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Low |