2011-10-06 21:22:16 |
Johannes Erdfelt |
description |
Split from https://bugs.launchpad.net/openstack-guest-agents/+bug/869409
[root@xsArchTest ~]# cat /var/log/nova-agent.log
2011-10-06 19:07:53,016 [INFO] Agent started
2011-10-06 19:07:53,017 [INFO] Received command 'version' with argument: 'agent'
2011-10-06 19:07:53,017 [INFO] 'version' completed with code '0', message '0.0.1.30'
2011-10-06 19:08:02,021 [INFO] Received command 'features' with argument: ''
2011-10-06 19:08:02,022 [INFO] 'features' completed with code '0', message 'kmsactivate,resetnetwork,version,keyinit,features,agentupdate,password,injectfile'
2011-10-06 19:54:54,089 [INFO] Received command 'resetnetwork' with argument: ''
2011-10-06 19:54:54,090 [INFO] executing /usr/bin/pacman -Q netcfg
2011-10-06 19:54:54,111 [ERROR] Exception while trying to process command 'resetnetwork'
Traceback (most recent call last):
File "jsonparser.py", line 93, in parse_request
File "__init__.py", line 99, in run_command
File "network.py", line 135, in resetnetwork_cmd
File "arch/network.py", line 67, in configure_network
File "arch/network.py", line 598, in process_interface_files_netcfg
File "arch/network.py", line 473, in _get_file_data_netcfg
UnboundLocalError: local variable 'dns' referenced before assignment |
Split from https://bugs.launchpad.net/openstack-guest-agents/+bug/869409
0.0.1.30 on Arch. Reply is:
"message": "local variable 'dns' referenced before assignment", "returncode": "500"
Output from /var/log/nova-agent.log:
[root@xsArchTest ~]# cat /var/log/nova-agent.log
2011-10-06 19:07:53,016 [INFO] Agent started
2011-10-06 19:07:53,017 [INFO] Received command 'version' with argument: 'agent'
2011-10-06 19:07:53,017 [INFO] 'version' completed with code '0', message '0.0.1.30'
2011-10-06 19:08:02,021 [INFO] Received command 'features' with argument: ''
2011-10-06 19:08:02,022 [INFO] 'features' completed with code '0', message 'kmsactivate,resetnetwork,version,keyinit,features,agentupdate,password,injectfile'
2011-10-06 19:54:54,089 [INFO] Received command 'resetnetwork' with argument: ''
2011-10-06 19:54:54,090 [INFO] executing /usr/bin/pacman -Q netcfg
2011-10-06 19:54:54,111 [ERROR] Exception while trying to process command 'resetnetwork'
Traceback (most recent call last):
File "jsonparser.py", line 93, in parse_request
File "__init__.py", line 99, in run_command
File "network.py", line 135, in resetnetwork_cmd
File "arch/network.py", line 67, in configure_network
File "arch/network.py", line 598, in process_interface_files_netcfg
File "arch/network.py", line 473, in _get_file_data_netcfg
UnboundLocalError: local variable 'dns' referenced before assignment |
|