Trove - IP Address Not Returned in Get Command If Addresses is Dynamic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack DBaaS (Trove) |
Fix Committed
|
Medium
|
Steve Leon |
Bug Description
When asking for the status of a Trove deployment:
$ trove-cli instance get --id bf39fa53-
```
{
"created": "2013-06-
"flavor": {
"id": 6,
"links": [
{
},
{
}
]
},
"id": "bf39fa53-
"links": [
{
"href": "https:/
"rel": "self"
},
{
"href": "https:/
"rel": "bookmark"
}
],
"name": "DBaaSBox",
"status": "ACTIVE",
"updated": "2013-06-
"volume": {
"size": 5,
"used": 0.23715972900390625
}
}
```
It shows as ACTIVE, but the response does not contain an IP (the lack of a hostname is to be expected in this situation because `CONF.trove_
I have `CONF.add_
The "trove-cli instance get" command at some point executes the equivalent of a "nova show":
$ curl -i http://
Which results in the following (snippet):
```
{
"server":{
"
"
"
"
"addresses":{
{
}
]
},
```
Example:
"addresses":{
"globo-
{
"version":4,
"
}
]
},
Unfortunately, the Trove function is specifically looking for "private" or "usernet" under "addresses": https:/
Given that the address name will be dynamic, a CONF property like nova_address_prefix (or mask) is needed.
Changed in trove: | |
assignee: | nobody → Steve Leon (steve-leon) |
milestone: | none → havana-3 |
importance: | Undecided → Medium |
status: | New → Fix Committed |