packstack metadata and sshkey errors
I'm recently installed PackStack Juno on CentOS 7. My configuration is running Nova only, no Neutron. I will post may answers file later.
I am having issues with accessing my instances once they have been stood up. I think I see where my key is getting injected in the process, but something doesn't look correct about it. I get the following error when I try to SSH to my instances:
Permission denied (publickey).
The permissions set on my key are 600.
I get the following in the logs:
Cloud-init v. 0.7.5 running 'init-local' at Thu, 12 Feb 2015 17:44:05 +0000. Up 2.37 seconds.
cloud-init-nonet[2.56]: waiting 10 seconds for network device
* Starting set console keymap[74G[ OK ]
* Starting Signal sysvinit that virtual filesystems are mounted[74G[ OK ]
* Starting Signal sysvinit that virtual filesystems are mounted[74G[ OK ]
* Starting Bridge udev events into upstart[74G[ OK ]
* Starting Signal sysvinit that remote filesystems are mounted[74G[ OK ]
* Starting device node and kernel event manager[74G[ OK ]
* Starting cold plug devices[74G[ OK ]
* Starting log initial device creation[74G[ OK ]
* Stopping set console keymap[74G[ OK ]
* Starting Uncomplicated firewall[74G[ OK ]
* Starting configure network device security[74G[ OK ]
* Starting configure network device security[74G[ OK ]
* Starting Mount network filesystems[74G[ OK ]
* Stopping Mount network filesystems[74G[ OK ]
* Starting Bridge socket events into upstart[74G[ OK ]
* Starting configure network device[74G[ OK ]
* Starting Mount network filesystems[74G[ OK ]
* Stopping Mount network filesystems[74G[ OK ]
cloud-init-nonet[3.72]: static networking is now up
* Starting configure network device[74G[ OK ]
* Stopping cold plug devices[74G[ OK ]
* Stopping log initial device creation[74G[ OK ]
* Starting enable remaining boot-time encrypted block devices[74G[ OK ]
Cloud-init v. 0.7.5 running 'init' at Thu, 12 Feb 2015 17:44:07 +0000. Up 4.11 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 | 10.3.4.12 | 255.255.255.0 | fa:16:3e:ca:c4:68 |
ci-info: +--------+------+-----------+---------------+-------------------+
ci-info: ++++++++++++++++++++++++++++++Route info++++++++++++++++++++++++++++++
ci-info: +-------+-------------+----------+---------------+-----------+-------+
ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags |
ci-info: +-------+-------------+----------+---------------+-----------+-------+
ci-info: | 0 | 0.0.0.0 | 10.3.4.4 | 0.0.0.0 | eth0 | UG |
ci-info: | 1 | 10.3.4.0 | 0.0.0.0 | 255.255.255.0 | eth0 | U |
ci-info: +-------+-------------+----------+---------------+-----------+-------+
2015-02-12 17:44:07,726 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [0/120s]: bad status code [400]
2015-02-12 17:44:08,733 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [1/120s]: bad status code [400]
2015-02-12 17:44:09,739 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [2/120s]: bad status code [400]
2015-02-12 17:44:10,763 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [3/120s]: bad status code [400]
2015-02-12 17:44:11,771 - url_helper.py[WARNING]: Calling 'http://169.254.169.254 ...
Could you take a minute to read the documentation about properly formatting your question? It's almost impossible to read.
I apologize. This should be better now. After speaking with larsks in irc earlier, my guess is that it's not reaching the metadata service for some reason, but not sure why. All of these images work fine in every other Openstack that I've put them in including the old Grizzley RDO box.