Network Host isn't being set without restarting service
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Trey Morris |
Bug Description
Host isn't being set in network record and tosses the first exception which then causes the other since the hosts field hasn't been populated. If I restart the network worker, it will then apply the network host to the networks table.
2011-07-18 18:52:49,320 ERROR nova [-] in looping call
(nova): TRACE: Traceback (most recent call last):
(nova): TRACE: File "/usr/lib/
(nova): TRACE: self.f(*self.args, **self.kw)
(nova): TRACE: File "/usr/lib/
(nova): TRACE: self.manager.
(nova): TRACE: File "/usr/lib/
(nova): TRACE: self.set_
(nova): TRACE: File "/usr/lib/
(nova): TRACE: for network in networks:
(nova): TRACE: UnboundLocalError: local variable 'networks' referenced before assignment
(nova): TRACE:
2011-07-18 18:56:54,395 DEBUG nova.rpc [-] received {u'_msg_id': u'd0e74c04750b4
2011-07-18 18:56:54,395 DEBUG nova.rpc [-] unpacked context: {'timestamp': u'2011-
2011-07-18 18:56:54,396 DEBUG nova.network.
2011-07-18 18:56:54,407 ERROR nova [-] Exception during message handling
(nova): TRACE: Traceback (most recent call last):
(nova): TRACE: File "/usr/lib/
(nova): TRACE: rval = node_func(
(nova): TRACE: File "/usr/lib/
(nova): TRACE: return self.get_
(nova): TRACE: File "/usr/lib/
(nova): TRACE: fixed_ips = self.db.
(nova): TRACE: File "/usr/lib/
(nova): TRACE: return IMPL.fixed_
(nova): TRACE: File "/usr/lib/
(nova): TRACE: return f(*args, **kwargs)
(nova): TRACE: File "/usr/lib/
(nova): TRACE: raise exception.
(nova): TRACE: FixedIpNotFound
(nova): TRACE:
2011-07-18 18:56:54,416 ERROR nova.rpc [-] Returning exception Instance 9 has zero fixed ips. to caller
Rev. 1281
Related branches
- Devin Carlen (community): Approve
- Jason Kölker (community): Approve
- Josh Kearney (community): Approve
-
Diff: 30 lines (+5/-5)1 file modifiednova/network/manager.py (+5/-5)
Changed in nova: | |
assignee: | nobody → Trey Morris (tr3buchet) |
Changed in nova: | |
status: | New → Fix Committed |
Changed in nova: | |
milestone: | none → diablo-3 |
Changed in nova: | |
milestone: | diablo-3 → 2011.3 |
status: | Fix Committed → Fix Released |