OpenStack provider should fall back to local-ipv4 if public-ipv4 is not found
Bug #1061678 reported by
Clint Byrum
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
Critical
|
Martin Packman | ||
0.5 |
Fix Released
|
Critical
|
Martin Packman | ||
juju (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
On a private cloud with no public ips assigned to instances, if there is no public IP, the metadata service returns a 404:
2012-10-04 15:07:15,970: twisted@ERROR: Unhandled Error
Traceback (most recent call last):
Failure: twisted.
This leaves the unit agent basically dead presumably because there is no error handler.
Related branches
lp:~gz/pyjuju/os_metadata_not_found_1061678
- Clint Byrum (community): Approve
-
Diff: 26 lines (+3/-2)2 files modifiedjuju/unit/address.py (+2/-1)
juju/unit/tests/test_address.py (+1/-1)
lp:~gz/pyjuju/0.5_metadata_not_found_backport
- Martin Packman (community): Approve
-
Diff: 26 lines (+3/-2)2 files modifiedjuju/unit/address.py (+2/-1)
juju/unit/tests/test_address.py (+1/-1)
tags: | added: openstack |
Changed in juju: | |
assignee: | nobody → Martin Packman (gz) |
status: | Triaged → In Progress |
summary: |
- OpenStack provider should fall back to private-ipv4 if instance has no - public-ipv4 + OpenStack provider should fall back to local-ipv4 if public-ipv4 is not + found |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The behaviour change is this used to return 200 with an empty body, but now returns 404.