"local variable 'dns' referenced before assignment" during resetnetwork on Arch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-guest-agents |
Fix Released
|
High
|
Johannes Erdfelt |
Bug Description
Split from https:/
0.0.1.30 on Arch. Reply is:
"message": "local variable 'dns' referenced before assignment", "returncode": "500"
Output from /var/log/
[root@xsArchTest ~]# cat /var/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,
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_
File "arch/network.py", line 473, in _get_file_
UnboundLocalError: local variable 'dns' referenced before assignment
summary: |
- local variable 'dns' referenced before assignment + "local variable 'dns' referenced before assignment" during resetnetwork + on Arch |
Changed in openstack-guest-agents: | |
assignee: | nobody → Johannes Erdfelt (johannes.erdfelt) |
status: | New → In Progress |
importance: | Undecided → High |
description: | updated |
Changed in openstack-guest-agents: | |
status: | In Progress → Fix Committed |
Changed in openstack-guest-agents: | |
status: | Fix Committed → Fix Released |
is this fix just in staging or in staging and across our production huddles?