Here's the stack trace from ./stack.sh (stripped to just the Nova configure part):
Configuring Nova + init_nova + is_service_enabled mysql postgresql + services='mysql postgresql' + for service in '${services}' + [[ ,g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql, =~ ,mysql, ]] + return 0 + is_service_enabled n-api + services=n-api + for service in '${services}' + [[ ,g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql, =~ ,n-api, ]] + return 0 + recreate_database nova latin1 + local db=nova + local charset=latin1 + recreate_database_mysql nova latin1 + local db=nova + local charset=latin1 + mysql -uroot -pnetapp123 -h127.0.0.1 -e 'DROP DATABASE IF EXISTS nova;' + mysql -uroot -pnetapp123 -h127.0.0.1 -e 'CREATE DATABASE nova CHARACTER SET latin1;' + /usr/local/bin/nova-manage db sync + is_service_enabled n-cell + services=n-cell + for service in '${services}' + [[ ,g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql, =~ ,n-cell, ]] + [[ n-cell == n-cell-* ]] + [[ n-cell == \n\o\v\a ]] + [[ n-cell == \c\i\n\d\e\r ]] + [[ n-cell == \c\e\i\l\o\m\e\t\e\r ]] + [[ n-cell == \g\l\a\n\c\e ]] + [[ n-cell == \n\e\u\t\r\o\n ]] + [[ n-cell == \t\r\o\v\e ]] + [[ n-cell == \s\w\i\f\t ]] + [[ n-cell == s-* ]] + return 1 + is_baremetal + [[ g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql =~ baremetal ]] + return 1 + create_nova_cache_dir + sudo mkdir -p /var/cache/nova + sudo chown vagrant /var/cache/nova + rm -f '/var/cache/nova/*' + create_nova_keys_dir + sudo mkdir -p /opt/stack/data/nova/keys + sudo chown -R vagrant /opt/stack/data/nova + is_service_enabled neutron + services=neutron + for service in '${services}' + [[ ,g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql, =~ ,neutron, ]] + [[ neutron == n-cell-* ]] + [[ neutron == \n\o\v\a ]] + [[ neutron == \c\i\n\d\e\r ]] + [[ neutron == \c\e\i\l\o\m\e\t\e\r ]] + [[ neutron == \g\l\a\n\c\e ]] + [[ neutron == \n\e\u\t\r\o\n ]] + [[ g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql =~ q- ]] + [[ neutron == \t\r\o\v\e ]] + [[ neutron == \s\w\i\f\t ]] + [[ neutron == s-* ]] + return 1 + is_service_enabled n-net + services=n-net + for service in '${services}' + [[ ,g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql, =~ ,n-net, ]] + return 0 + create_nova_conf_nova_network + iniset /etc/nova/nova.conf DEFAULT network_manager nova.network.manager.FlatDHCPManager + local file=/etc/nova/nova.conf + local section=DEFAULT + local option=network_manager + local value=nova.network.manager.FlatDHCPManager + grep -q '^\[DEFAULT\]' /etc/nova/nova.conf + echo -e '\n[DEFAULT]' /home/vagrant/devstack/functions: line 734: /etc/nova/nova.conf: Permission denied + ini_has_option /etc/nova/nova.conf DEFAULT network_manager + local file=/etc/nova/nova.conf + local section=DEFAULT + local option=network_manager + local line ++ sed -ne '/^\[DEFAULT\]/,/^\[.*\]/ { /^network_manager[ \t]*=/ p; }' /etc/nova/nova.conf sed: can't read /etc/nova/nova.conf: Permission denied + line= + '[' -n '' ']' + sed -i -e '/^\[DEFAULT\]/ a\ network_manager = nova.network.manager.FlatDHCPManager ' /etc/nova/nova.conf sed: can't read /etc/nova/nova.conf: Permission denied + iniset /etc/nova/nova.conf DEFAULT public_interface br100 + local file=/etc/nova/nova.conf + local section=DEFAULT + local option=public_interface + local value=br100 + grep -q '^\[DEFAULT\]' /etc/nova/nova.conf + echo -e '\n[DEFAULT]' /home/vagrant/devstack/functions: line 734: /etc/nova/nova.conf: Permission denied + ini_has_option /etc/nova/nova.conf DEFAULT public_interface + local file=/etc/nova/nova.conf + local section=DEFAULT + local option=public_interface + local line ++ sed -ne '/^\[DEFAULT\]/,/^\[.*\]/ { /^public_interface[ \t]*=/ p; }' /etc/nova/nova.conf sed: can't read /etc/nova/nova.conf: Permission denied + line= + '[' -n '' ']' + sed -i -e '/^\[DEFAULT\]/ a\ public_interface = br100 ' /etc/nova/nova.conf sed: can't read /etc/nova/nova.conf: Permission denied + iniset /etc/nova/nova.conf DEFAULT vlan_interface eth0 + local file=/etc/nova/nova.conf + local section=DEFAULT + local option=vlan_interface + local value=eth0 + grep -q '^\[DEFAULT\]' /etc/nova/nova.conf + echo -e '\n[DEFAULT]' /home/vagrant/devstack/functions: line 734: /etc/nova/nova.conf: Permission denied + ini_has_option /etc/nova/nova.conf DEFAULT vlan_interface + local file=/etc/nova/nova.conf + local section=DEFAULT + local option=vlan_interface + local line ++ sed -ne '/^\[DEFAULT\]/,/^\[.*\]/ { /^vlan_interface[ \t]*=/ p; }' /etc/nova/nova.conf sed: can't read /etc/nova/nova.conf: Permission denied + line= + '[' -n '' ']' + sed -i -e '/^\[DEFAULT\]/ a\ vlan_interface = eth0 ' /etc/nova/nova.conf sed: can't read /etc/nova/nova.conf: Permission denied + iniset /etc/nova/nova.conf DEFAULT flat_network_bridge br100 + local file=/etc/nova/nova.conf + local section=DEFAULT + local option=flat_network_bridge + local value=br100 + grep -q '^\[DEFAULT\]' /etc/nova/nova.conf + echo -e '\n[DEFAULT]' /home/vagrant/devstack/functions: line 734: /etc/nova/nova.conf: Permission denied + ini_has_option /etc/nova/nova.conf DEFAULT flat_network_bridge + local file=/etc/nova/nova.conf + local section=DEFAULT + local option=flat_network_bridge + local line ++ sed -ne '/^\[DEFAULT\]/,/^\[.*\]/ { /^flat_network_bridge[ \t]*=/ p; }' /etc/nova/nova.conf sed: can't read /etc/nova/nova.conf: Permission denied + line= + '[' -n '' ']' + sed -i -e '/^\[DEFAULT\]/ a\ flat_network_bridge = br100 ' /etc/nova/nova.conf sed: can't read /etc/nova/nova.conf: Permission denied + '[' -n eth0 ']' + iniset /etc/nova/nova.conf DEFAULT flat_interface eth0 + local file=/etc/nova/nova.conf + local section=DEFAULT + local option=flat_interface + local value=eth0 + grep -q '^\[DEFAULT\]' /etc/nova/nova.conf + echo -e '\n[DEFAULT]' /home/vagrant/devstack/functions: line 734: /etc/nova/nova.conf: Permission denied + ini_has_option /etc/nova/nova.conf DEFAULT flat_interface + local file=/etc/nova/nova.conf + local section=DEFAULT + local option=flat_interface + local line ++ sed -ne '/^\[DEFAULT\]/,/^\[.*\]/ { /^flat_interface[ \t]*=/ p; }' /etc/nova/nova.conf sed: can't read /etc/nova/nova.conf: Permission denied + line= + '[' -n '' ']' + sed -i -e '/^\[DEFAULT\]/ a\ flat_interface = eth0 ' /etc/nova/nova.conf sed: can't read /etc/nova/nova.conf: Permission denied ++ failed ++ local r=2 +++ jobs -p ++ kill ++ set +o xtrace vagrant@precise64:~/devstack$
Here's the stack trace from ./stack.sh (stripped to just the Nova configure part):
Configuring Nova g-reg,key, n-api,n- crt,n-obj, n-cpu,n- net,n-cond, cinder, c-sch,c- api,c-vol, n-sch,n- novnc,n- xvnc,n- cauth,horizon, rabbit, tempest, mysql, =~ ,mysql, ]] g-reg,key, n-api,n- crt,n-obj, n-cpu,n- net,n-cond, cinder, c-sch,c- api,c-vol, n-sch,n- novnc,n- xvnc,n- cauth,horizon, rabbit, tempest, mysql, =~ ,n-api, ]] database_ mysql nova latin1 bin/nova- manage db sync g-reg,key, n-api,n- crt,n-obj, n-cpu,n- net,n-cond, cinder, c-sch,c- api,c-vol, n-sch,n- novnc,n- xvnc,n- cauth,horizon, rabbit, tempest, mysql, =~ ,n-cell, ]] l\o\m\e\ t\e\r ]] reg,key, n-api,n- crt,n-obj, n-cpu,n- net,n-cond, cinder, c-sch,c- api,c-vol, n-sch,n- novnc,n- xvnc,n- cauth,horizon, rabbit, tempest, mysql =~ baremetal ]] nova_cache_ dir nova_keys_ dir data/nova/ keys data/nova g-reg,key, n-api,n- crt,n-obj, n-cpu,n- net,n-cond, cinder, c-sch,c- api,c-vol, n-sch,n- novnc,n- xvnc,n- cauth,horizon, rabbit, tempest, mysql, =~ ,neutron, ]] l\o\m\e\ t\e\r ]] reg,key, n-api,n- crt,n-obj, n-cpu,n- net,n-cond, cinder, c-sch,c- api,c-vol, n-sch,n- novnc,n- xvnc,n- cauth,horizon, rabbit, tempest, mysql =~ q- ]] g-reg,key, n-api,n- crt,n-obj, n-cpu,n- net,n-cond, cinder, c-sch,c- api,c-vol, n-sch,n- novnc,n- xvnc,n- cauth,horizon, rabbit, tempest, mysql, =~ ,n-net, ]] nova_conf_ nova_network manager. FlatDHCPManager nova/nova. conf network_ manager network. manager. FlatDHCPManager devstack/ functions: line 734: /etc/nova/ nova.conf: Permission denied nova/nova. conf network_ manager ]/,/^\[ .*\]/ { /^network_manager[ \t]*=/ p; }' /etc/nova/nova.conf nova.conf: Permission denied manager. FlatDHCPManager nova.conf: Permission denied nova/nova. conf public_ interface devstack/ functions: line 734: /etc/nova/ nova.conf: Permission denied nova/nova. conf public_ interface ]/,/^\[ .*\]/ { /^public_interface[ \t]*=/ p; }' /etc/nova/nova.conf nova.conf: Permission denied nova.conf: Permission denied nova/nova. conf vlan_interface devstack/ functions: line 734: /etc/nova/ nova.conf: Permission denied nova/nova. conf vlan_interface ]/,/^\[ .*\]/ { /^vlan_interface[ \t]*=/ p; }' /etc/nova/nova.conf nova.conf: Permission denied nova.conf: Permission denied nova/nova. conf flat_network_ bridge devstack/ functions: line 734: /etc/nova/ nova.conf: Permission denied nova/nova. conf flat_network_ bridge ]/,/^\[ .*\]/ { /^flat_ network_ bridge[ \t]*=/ p; }' /etc/nova/nova.conf nova.conf: Permission denied nova.conf: Permission denied nova/nova. conf flat_interface devstack/ functions: line 734: /etc/nova/ nova.conf: Permission denied nova/nova. conf flat_interface ]/,/^\[ .*\]/ { /^flat_interface[ \t]*=/ p; }' /etc/nova/nova.conf nova.conf: Permission denied nova.conf: Permission denied precise64: ~/devstack$
+ init_nova
+ is_service_enabled mysql postgresql
+ services='mysql postgresql'
+ for service in '${services}'
+ [[ ,g-api,
+ return 0
+ is_service_enabled n-api
+ services=n-api
+ for service in '${services}'
+ [[ ,g-api,
+ return 0
+ recreate_database nova latin1
+ local db=nova
+ local charset=latin1
+ recreate_
+ local db=nova
+ local charset=latin1
+ mysql -uroot -pnetapp123 -h127.0.0.1 -e 'DROP DATABASE IF EXISTS nova;'
+ mysql -uroot -pnetapp123 -h127.0.0.1 -e 'CREATE DATABASE nova CHARACTER SET latin1;'
+ /usr/local/
+ is_service_enabled n-cell
+ services=n-cell
+ for service in '${services}'
+ [[ ,g-api,
+ [[ n-cell == n-cell-* ]]
+ [[ n-cell == \n\o\v\a ]]
+ [[ n-cell == \c\i\n\d\e\r ]]
+ [[ n-cell == \c\e\i\
+ [[ n-cell == \g\l\a\n\c\e ]]
+ [[ n-cell == \n\e\u\t\r\o\n ]]
+ [[ n-cell == \t\r\o\v\e ]]
+ [[ n-cell == \s\w\i\f\t ]]
+ [[ n-cell == s-* ]]
+ return 1
+ is_baremetal
+ [[ g-api,g-
+ return 1
+ create_
+ sudo mkdir -p /var/cache/nova
+ sudo chown vagrant /var/cache/nova
+ rm -f '/var/cache/nova/*'
+ create_
+ sudo mkdir -p /opt/stack/
+ sudo chown -R vagrant /opt/stack/
+ is_service_enabled neutron
+ services=neutron
+ for service in '${services}'
+ [[ ,g-api,
+ [[ neutron == n-cell-* ]]
+ [[ neutron == \n\o\v\a ]]
+ [[ neutron == \c\i\n\d\e\r ]]
+ [[ neutron == \c\e\i\
+ [[ neutron == \g\l\a\n\c\e ]]
+ [[ neutron == \n\e\u\t\r\o\n ]]
+ [[ g-api,g-
+ [[ neutron == \t\r\o\v\e ]]
+ [[ neutron == \s\w\i\f\t ]]
+ [[ neutron == s-* ]]
+ return 1
+ is_service_enabled n-net
+ services=n-net
+ for service in '${services}'
+ [[ ,g-api,
+ return 0
+ create_
+ iniset /etc/nova/nova.conf DEFAULT network_manager nova.network.
+ local file=/etc/
+ local section=DEFAULT
+ local option=
+ local value=nova.
+ grep -q '^\[DEFAULT\]' /etc/nova/nova.conf
+ echo -e '\n[DEFAULT]'
/home/vagrant/
+ ini_has_option /etc/nova/nova.conf DEFAULT network_manager
+ local file=/etc/
+ local section=DEFAULT
+ local option=
+ local line
++ sed -ne '/^\[DEFAULT\
sed: can't read /etc/nova/
+ line=
+ '[' -n '' ']'
+ sed -i -e '/^\[DEFAULT\]/ a\
network_manager = nova.network.
' /etc/nova/nova.conf
sed: can't read /etc/nova/
+ iniset /etc/nova/nova.conf DEFAULT public_interface br100
+ local file=/etc/
+ local section=DEFAULT
+ local option=
+ local value=br100
+ grep -q '^\[DEFAULT\]' /etc/nova/nova.conf
+ echo -e '\n[DEFAULT]'
/home/vagrant/
+ ini_has_option /etc/nova/nova.conf DEFAULT public_interface
+ local file=/etc/
+ local section=DEFAULT
+ local option=
+ local line
++ sed -ne '/^\[DEFAULT\
sed: can't read /etc/nova/
+ line=
+ '[' -n '' ']'
+ sed -i -e '/^\[DEFAULT\]/ a\
public_interface = br100
' /etc/nova/nova.conf
sed: can't read /etc/nova/
+ iniset /etc/nova/nova.conf DEFAULT vlan_interface eth0
+ local file=/etc/
+ local section=DEFAULT
+ local option=
+ local value=eth0
+ grep -q '^\[DEFAULT\]' /etc/nova/nova.conf
+ echo -e '\n[DEFAULT]'
/home/vagrant/
+ ini_has_option /etc/nova/nova.conf DEFAULT vlan_interface
+ local file=/etc/
+ local section=DEFAULT
+ local option=
+ local line
++ sed -ne '/^\[DEFAULT\
sed: can't read /etc/nova/
+ line=
+ '[' -n '' ']'
+ sed -i -e '/^\[DEFAULT\]/ a\
vlan_interface = eth0
' /etc/nova/nova.conf
sed: can't read /etc/nova/
+ iniset /etc/nova/nova.conf DEFAULT flat_network_bridge br100
+ local file=/etc/
+ local section=DEFAULT
+ local option=
+ local value=br100
+ grep -q '^\[DEFAULT\]' /etc/nova/nova.conf
+ echo -e '\n[DEFAULT]'
/home/vagrant/
+ ini_has_option /etc/nova/nova.conf DEFAULT flat_network_bridge
+ local file=/etc/
+ local section=DEFAULT
+ local option=
+ local line
++ sed -ne '/^\[DEFAULT\
sed: can't read /etc/nova/
+ line=
+ '[' -n '' ']'
+ sed -i -e '/^\[DEFAULT\]/ a\
flat_network_bridge = br100
' /etc/nova/nova.conf
sed: can't read /etc/nova/
+ '[' -n eth0 ']'
+ iniset /etc/nova/nova.conf DEFAULT flat_interface eth0
+ local file=/etc/
+ local section=DEFAULT
+ local option=
+ local value=eth0
+ grep -q '^\[DEFAULT\]' /etc/nova/nova.conf
+ echo -e '\n[DEFAULT]'
/home/vagrant/
+ ini_has_option /etc/nova/nova.conf DEFAULT flat_interface
+ local file=/etc/
+ local section=DEFAULT
+ local option=
+ local line
++ sed -ne '/^\[DEFAULT\
sed: can't read /etc/nova/
+ line=
+ '[' -n '' ']'
+ sed -i -e '/^\[DEFAULT\]/ a\
flat_interface = eth0
' /etc/nova/nova.conf
sed: can't read /etc/nova/
++ failed
++ local r=2
+++ jobs -p
++ kill
++ set +o xtrace
vagrant@