-
Notifications
You must be signed in to change notification settings - Fork 46
[openstack] detect if http://169.254.169.254/openstack accessible else use config drive #278
Comments
To use ssh you need a local public/private key pair. Run this first: ssh-keygen On Wed, Oct 1, 2014 at 3:23 AM, mioonline [email protected]
|
I've found that the problem seem to be the impossibility to reach the openstack metadata service (169.254.169.254) from the machine. |
I think there is new/ongoing work for microbosh/openstack and the config On Wed, Oct 1, 2014 at 9:49 AM, mioonline [email protected] wrote:
Dr Nic Williams |
I've seen there is the instruction use_config_drive: true that can be used in the manifest file under openstack:
The problem now is that this is not supported by the stemcell downloaded by bosh-bootstrap ( http://bosh-jenkins-artifacts.s3.amazonaws.com/bosh-stemcell/openstack/bosh-stemcell-latest-openstack-kvm-ubuntu.tgz) that isn't aligned with the last stemcell version (2732) |
Gotcha ok so we need to fix the method for selecting a stemcell; and use the use_config_drive: true property. Do you have a suggestion about if/when to include this property? Possible to auto detect the requirement? On Thu, Oct 2, 2014 at 9:06 AM, mioonline [email protected]
|
Maybe you can check the reachability of the metadata service (http://169.254.169.254/openstack). If it's not reachable hopefully a configuration drive should be present. |
That'd work from a jumpbox or VM within the OpenStack environment; the test might give false negatives if you ran it from your laptop. I guess if the test for metadata endpoint fails could fall back to another prompt and/or CLI flag :/ On Thu, Oct 2, 2014 at 9:26 AM, mioonline [email protected]
|
Hi,
my bootstrap deploy is blocked in the "Waiting for the agent" phase.
From the log I've seen that's a problem of ssh authentication.
That's an extract of bosh_micro_deploy.log:
The error is the same for 1.2719.0 and for the new 1.2732.0 .
The stemcel used is bosh-openstack-kvm-ubuntu version 2427 (bosh-stemcell-latest-openstack-kvm-ubuntu.tgz)
Someone have a solution?
Thanks
The text was updated successfully, but these errors were encountered: