yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #92255
[Bug 1918719] Re: update cc_users_groups for uid parameter must be set as string
Tracked in Github Issues as https://github.com/canonical/cloud-
init/issues/3855
** Bug watch added: github.com/canonical/cloud-init/issues #3855
https://github.com/canonical/cloud-init/issues/3855
** Changed in: cloud-init
Status: Triaged => Expired
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1918719
Title:
update cc_users_groups for uid parameter must be set as string
Status in cloud-init:
Expired
Bug description:
The User and Groups module's uid parameter does not take effect unless
you specify its value as a string.
I do not know if this is a code defect or if it is working as
designed. If it is working as designed, it would be nice if the
documentation were updated to note that uid should be set as a string
instead of an integer.
This line of code in the base distro class only appends the key-val to the useradd command args if the val is a string:
https://github.com/canonical/cloud-init/blob/d95b448fe106146b7510f7b64f2e83c51943f04d/cloudinit/distros/__init__.py#L488
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1918719/+subscriptions
References