New Question

Revision history [back]

click to hide/show revision 1
initial version

openstack launch instance hangs on 'Getting metadata...'

Hi,

I've prepped a windows install image locally on KVM with the last step being install of cloudbase-init. After importing this image into glance and then launching the instance, cloudbase-init.exe shell hangs on the following message:

2014-12-19 09:36:41.155 1516 DEBUG cloudbaseinit.metadata.services.httpservice [-] Getting metadata from: http://169.254.169.254/openstack/latest/metadata.json _getdata c:\program files (x86)\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbaseinit\metadata\services\httpservice.py:72

It seems fetching metadata is somehow failing. I can close this window to continue, but not surprisingly, hostname renaming, password etc are not setup.

It's probably worth noting that I have no problems with the metadata service in my openstack environment when launching linux instances: they pickup the SSH key injection and hostname just fine, so I'm assuming it's a configuration problem on the windows instance side.

I'm assuming that this may be a setting in the cloudbase-init.conf file that I need to get right, but I can't find any documentation on how.

The github readme explains what plugins are available, but again, I don't see any documentation anywhere explaining how to use them.

any help is appreciated!

openstack launch instance hangs on 'Getting metadata...'

Hi,

I've prepped a windows install image locally on KVM with the last step being install of cloudbase-init. After importing this image into glance and then launching the instance, cloudbase-init.exe shell hangs on the following message:

2014-12-19 09:36:41.155 1516 DEBUG cloudbaseinit.metadata.services.httpservice [-] Getting metadata from: http://169.254.169.254/openstack/latest/metadata.json _getdata http://169.254.169.254/openstack/latest/meta_data.json _get_data c:\program files (x86)\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbaseinit\metadata\services\httpservice.py:72Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbaseinit\metadata\services\httpservice.py:72

(please pardon any minor typos above - typed by hand)

It seems fetching metadata is somehow failing. I can close this window to continue, but not surprisingly, hostname renaming, password etc are not setup.

It's probably worth noting that I have no problems with the metadata service in my openstack environment when launching linux instances: they pickup the SSH key injection and hostname just fine, so I'm assuming it's a configuration problem on the windows instance side.

I'm assuming that this may be a setting in the cloudbase-init.conf file that I need to get right, but I can't find any documentation on how.

The github readme explains what plugins are available, but again, I don't see any documentation anywhere explaining how to use them.

any help is appreciated!

openstack launch instance hangs on 'Getting metadata...'

Hi,

I've prepped a windows install image locally on KVM with the last step being install of cloudbase-init. After importing this image into glance and then launching the instance, cloudbase-init.exe shell hangs on the following message:

2014-12-19 09:36:41.155 1516 DEBUG cloudbaseinit.metadata.services.httpservice [-] Getting metadata from: http://169.254.169.254/openstack/latest/meta_data.json _get_data c:\program files (x86)\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbaseinit\metadata\services\httpservice.py:72

(please pardon any minor typos above - typed by hand)

It seems fetching metadata is somehow failing. I can close this window to continue, but not surprisingly, hostname renaming, password etc are not setup.

It's probably worth noting that I have no problems with the metadata service in my openstack environment when launching linux instances: they pickup the SSH key injection and hostname just fine, so I'm assuming it's a configuration problem on the windows instance side.

I'm assuming that this may be a setting in the cloudbase-init.conf file that I need to get right, but I can't find any documentation on how.

The github readme explains what plugins are available, but again, I don't see any documentation anywhere explaining how to use them.

any help is appreciated!

edit: Here are the logs:

http://paste.openstack.org/show/159132/

Note that the 'Getting metadata' line is the last entry in the logs since it hung there indefinitely, so I closed the shell window

openstack launch instance hangs on 'Getting metadata...'

Hi,

I've prepped a windows install image locally on KVM with the last step being install of cloudbase-init. After importing this image into glance and then launching the instance, cloudbase-init.exe shell hangs on the following message:

2014-12-19 09:36:41.155 1516 DEBUG cloudbaseinit.metadata.services.httpservice [-] Getting metadata from: http://169.254.169.254/openstack/latest/meta_data.json _get_data c:\program files (x86)\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbaseinit\metadata\services\httpservice.py:72

(please pardon any minor typos above - typed by hand)

It seems fetching metadata is somehow failing. I can close this window to continue, but not surprisingly, hostname renaming, password etc are not setup.

It's probably worth noting that I have no problems with the metadata service in my openstack environment when launching linux instances: they pickup the SSH key injection and hostname just fine, so I'm assuming it's a configuration problem on the windows instance side.

I'm assuming that this may be a setting in the cloudbase-init.conf file that I need to get right, but I can't find any documentation on how.

The github readme explains what plugins are available, but again, I don't see any documentation anywhere explaining how to use them.

any help is appreciated!

edit: Here are the logs:

http://paste.openstack.org/show/159132/

Note that the 'Getting metadata' line is the last entry in the logs since it hung there indefinitely, so I closed the shell window

edit2: I've also configured DHCP in Neutron to tell clients to use an MTU of 1438. Basically following instructions found here:

https://ask.openstack.org/en/question/7156/text-editors-vim-nano-emacs-freezes-my-ssh-session-in-ubuntu-instances-1310-1304-and-12042-server/

This solved the terminal freeze problems I was seeing on Linux guests, but it looks like the Windows 7 guest ignores the DHCP directive for MTU.