DNS stops during install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Fix Released
|
Low
|
Davanum Srinivas (DIMS) |
Bug Description
Today, I was trying to get the latest devstack running on a VM (Ubuntu 12.04, updated today, running on Mac OS X 10.6.8 using VirtualBox 4.1.14 r77440).
When devstack got to the point indicated in the full-res image linked below (somewhere between 'add_nova_opt vncserver_
As a result, later parts of the install fail (e.g., downloading the image file).
This happens regardless of my VM network running in either bridged or NATed mode,
In order to narrow things down, I was running a ping to Google, and as soon as I saw that the hostname stopped resolving, I hit ^c. I wasn't able to tell exactly which point DNS failed, due to the low time resolution and the undetermined reflex response time of my fingers :-)
Full resolution screenshot:
http://
Changed in devstack: | |
status: | Confirmed → In Progress |
To get a better sense of what was going on, I added a "read" at several places to pause the ./stack.sh script.
With the first one, I hit the jackpot:
+ add_nova_opt rabbit_ password= 0a88a309651cf87 fedee password= 0a88a309651cf87 fedee api_servers= 10.0.2. 15:9292 api_servers= 10.0.2. 15:9292 release= True release= True
+ echo rabbit_
+ add_nova_opt glance_
+ echo glance_
+ add_nova_opt force_dhcp_
+ echo force_dhcp_
+ '[' -n '' ']'
+ '[' False '!=' False ']'
+ '[' False '!=' False ']'
+ '[' True '!=' True ']'
+ [[ -z '' ]]
+ [[ -n '' ]]
The read stopped the script right after 'force_ dhcp_release' and before the XenServer checks.
From that point (with the script "paused"), I was able to restart the network and then resume the script, resulting in a complete, error-free install.