yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #58880
[Bug 1643043] [NEW] random seed command output not captured
Public bug reported:
[description]
While using a 16.04 (Xenial) lxd cloud image, trying to create random seed data with a command does not get put into a specified file.
[cloud-config]
#cloud-config
random_seed:
command: ["cat", "/proc/sys/kernel/random/uuid"]
command_required: true
file: /root/seed
[steps to reproduce]
Image used: b9cba741ef62 ubuntu 16.04 LTS amd64 (release) (20161115)
cloud-init: 0.7.8-1-g3705bb5-0ubuntu1~16.04.3
lxc init ubuntu:xenial/amd64 xenial
lxc config set xenial user.user-data - < cloud-config.yaml
lxc start xenial
[actual result]
There is no file called /root/seed and no error messages even though the command is marked as required.
[expected result]
I would have expected the file /root/seed to exist with a uuid in it.
** Affects: cloud-init
Importance: Undecided
Status: New
** Attachment added: "cloud-init.log"
https://bugs.launchpad.net/bugs/1643043/+attachment/4779452/+files/cloud-init.log
--
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/1643043
Title:
random seed command output not captured
Status in cloud-init:
New
Bug description:
[description]
While using a 16.04 (Xenial) lxd cloud image, trying to create random seed data with a command does not get put into a specified file.
[cloud-config]
#cloud-config
random_seed:
command: ["cat", "/proc/sys/kernel/random/uuid"]
command_required: true
file: /root/seed
[steps to reproduce]
Image used: b9cba741ef62 ubuntu 16.04 LTS amd64 (release) (20161115)
cloud-init: 0.7.8-1-g3705bb5-0ubuntu1~16.04.3
lxc init ubuntu:xenial/amd64 xenial
lxc config set xenial user.user-data - < cloud-config.yaml
lxc start xenial
[actual result]
There is no file called /root/seed and no error messages even though the command is marked as required.
[expected result]
I would have expected the file /root/seed to exist with a uuid in it.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1643043/+subscriptions
Follow ups