Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

ssh keypair cloud-init error

when launching the instance it's launching without the ssh key added into the authorized_keys file . This is the error from cloud-init log

Cloud-init v. 0.7.5 running 'init-local' at Tue, 31 Mar 2015 15:42:15 +0000. Up 444.34 seconds. Cloud-init v. 0.7.5 running 'init' at Tue, 31 Mar 2015 15:43:21 +0000. Up 510.62 seconds. ci-info: ++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++ ci-info: +--------+------+--------------+---------------+-------------------+ ci-info: | Device | Up | Address | Mask | Hw-Address | ci-info: +--------+------+--------------+---------------+-------------------+ ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | . | ci-info: | eth0 | True | 192.168.1.11 | 255.255.255.0 | fa:16:3e:e7:61:31 | ci-info: +--------+------+--------------+---------------+-------------------+ ci-info: +++++++++++++++++++++++++++++++Route info++++++++++++++++++++++++++++++++ ci-info: +-------+-------------+-------------+---------------+-----------+-------+ ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags | ci-info: +-------+-------------+-------------+---------------+-----------+-------+ ci-info: | 0 | 192.168.1.0 | 0.0.0.0 | 255.255.255.0 | eth0 | U | ci-info: | 1 | 0.0.0.0 | 192.168.1.1 | 0.0.0.0 | eth0 | UG | ci-info: +-------+-------------+-------------+---------------+-----------+-------+ 2015-03-31 11:43:56,658 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [0/120s]: bad status code [500] 2015-03-31 11:43:57,878 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [1/120s]: bad status code [500] 2015-03-31 11:43:59,098 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [2/120s]: bad status code [500] 2015-03-31 11:44:00,297 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [3/120s]: bad status code [500] 2015-03-31 11:44:01,495 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [5/120s]: bad status code [500] 2015-03-31 11:44:02,710 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [6/120s]: bad status code [500] 2015-03-31 11:44:04,900 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [8/120s]: bad status code [500] 2015-03-31 11:44:07,100 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [10/120s]: bad status code

ssh keypair cloud-init error

when launching the instance it's launching without the ssh key added into the authorized_keys file . This is the error from cloud-init log

Cloud-init v. 0.7.5 running 'init-local' at Tue, 31 Mar 2015 15:42:15 +0000. Up 444.34 seconds.
Cloud-init v. 0.7.5 running 'init' at Tue, 31 Mar 2015 15:43:21 +0000. Up 510.62 seconds.
ci-info: ++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++
ci-info: +--------+------+--------------+---------------+-------------------+
ci-info: | Device |  Up  |   Address    |      Mask     |     Hw-Address    |
ci-info: +--------+------+--------------+---------------+-------------------+
ci-info: |   lo   | True |  127.0.0.1   |   255.0.0.0   |         .         |
ci-info: |  eth0  | True | 192.168.1.11 | 255.255.255.0 | fa:16:3e:e7:61:31 |
ci-info: +--------+------+--------------+---------------+-------------------+
ci-info: +++++++++++++++++++++++++++++++Route info++++++++++++++++++++++++++++++++
ci-info: +-------+-------------+-------------+---------------+-----------+-------+
ci-info: | Route | Destination |   Gateway   |    Genmask    | Interface | Flags |
ci-info: +-------+-------------+-------------+---------------+-----------+-------+
ci-info: |   0   | 192.168.1.0 |   0.0.0.0   | 255.255.255.0 |    eth0   |   U   |
ci-info: |   1   |   0.0.0.0   | 192.168.1.1 |    0.0.0.0    |    eth0   |   UG  |
ci-info: +-------+-------------+-------------+---------------+-----------+-------+
2015-03-31 11:43:56,658 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [0/120s]: bad status code [500]
2015-03-31 11:43:57,878 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [1/120s]: bad status code [500]
2015-03-31 11:43:59,098 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [2/120s]: bad status code [500]
2015-03-31 11:44:00,297 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [3/120s]: bad status code [500]
2015-03-31 11:44:01,495 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [5/120s]: bad status code [500]
2015-03-31 11:44:02,710 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [6/120s]: bad status code [500]
2015-03-31 11:44:04,900 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [8/120s]: bad status code [500]
2015-03-31 11:44:07,100 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [10/120s]: bad status code 

code