yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #78119
[Bug 1439653] Re: RFE: do not enable ssh service untill ssh keys are on place
[Expired for cloud-init because there has been no activity for 60 days.]
** Changed in: cloud-init
Status: Incomplete => 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/1439653
Title:
RFE: do not enable ssh service untill ssh keys are on place
Status in cloud-init:
Expired
Bug description:
I have ansible playbook which utilize nova_compute module
http://docs.ansible.com/nova_compute_module.html
and after that we use wait_for module:
http://docs.ansible.com/wait_for_module.html
which waits until port 22 is ready. However next task tries to ssh on that VM, but it fails despite SSHD being enabled and running, because cloud-init did not finished deployment of SSH keys.
The workaround is to wait up to 20 seconds, which is quite pity.
Can be cloud-init (or something else in OpenStack) be enhanced that
SSHD will be started after SSH keys are deployed?
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1439653/+subscriptions
References