'shared' floating ip resource created in heat stack
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Murano |
Fix Released
|
Critical
|
Stan Lagun |
Bug Description
devstack, murano commit 08feb98be6ab49b
Strangely it is nearly the same as bug https:/
In some cases if multiple applications are in environment with checked 'assign floating ip', then only one floating ip resource is created in heat stack, so all other resources uses this one. Finally it means, that even if there are several instances, then only one IP is used in app various configurations, so the whole application (defined by environment) does not work (e.g., application component connects to the IP of itself, instead of IP of db).
Steps
* use https:/
* check the end of the log - there are following lines - even there are two different instances of tomcat (with its VMs), the same IP is reported.
2015-03-24 16:03:00 - Configure access to DB.
2015-03-24 16:03:00 - Running at http://
2015-03-24 16:03:50 - Application is installed
2015-03-24 16:03:50 - Running at http://
2015-03-24 16:04:20 - Deployment finished
* checking heat stack
- there is just one 'floating ip' resource with name 'format(
* environment yaml file from the rest:
{
"status": "ready",
"updated": "2015-03-
"networking": {},
"name": "t4",
"created": "2015-03-
"tenant_id": "f7d6205f860447
"version": 1,
"services": [
{
"username": "",
"name": "MySqlDB",
"database": "",
"instance": {
"name": "odomki7nhh5s72",
"keyname": "cloud",
"?": {
"type": "io.murano.
"id": "169ab6ad-
},
],
"flavor": "m1.medium",
"image": "17b13ed2-
"networks": {
},
},
"password": "",
"?": {
"status": "ready",
"name": "MySQL"
},
"type": "io.murano.
"id": "6f4e2363-
"_actions": {}
}
},
{
"instance": {
"name": "rxpfui7nhhfvh5",
"keyname": "cloud",
"?": {
"type": "io.murano.
"id": "0a72d53f-
},
],
"flavor": "m1.medium",
"image": "32b639c7-
"networks": {
},
},
"name": "Tomcat",
"?": {
"status": "ready",
"name": "Apache Tomcat"
},
"type": "io.murano.
"id": "3f143c64-
"_actions": {}
}
},
{
"tomcat": "3f143c64-
"repository": "https:/
"database": "6f4e2363-
"?": {
"status": "ready",
"name": "Hello, Java"
},
"type": "io.murano.
"id": "25333fb3-
"_actions": {}
},
"dbPassword": "1qaz!QAZ",
"dbUser": "hello_user",
"dbName": "hello_db",
"dir": "hello_world",
"name": "Hello-World"
},
{
"instance": {
"name": "rqlxoi7nhi7a13",
"keyname": "cloud",
"?": {
"type": "io.murano.
"id": "06e9bfaf-
},
],
"flavor": "m1.medium",
"image": "32b639c7-
"networks": {
},
},
"name": "Tomcat pet clinic",
"?": {
"status": "ready",
"name": "Apache Tomcat"
},
"type": "io.murano.
"id": "77a4457d-
"_actions": {}
}
},
{
"name": "PetClinic",
"tomcat": "77a4457d-
"database": "6f4e2363-
"dbPassword": "1qaz!QAZ",
"
"dbUser": "pet_user",
"dbName": "pet_db",
"?": {
"status": "ready",
"name": "PetClinic"
},
"type": "io.murano.
"id": "573af066-
"_actions": {}
}
}
],
"id": "434559a29cd248
}
Changed in murano: | |
assignee: | nobody → Stan Lagun (slagun) |
status: | New → In Progress |
Changed in murano: | |
milestone: | none → kilo-rc1 |
Changed in murano: | |
importance: | Undecided → Low |
importance: | Low → Critical |
Changed in murano: | |
status: | Fix Committed → Fix Released |
Changed in murano: | |
milestone: | kilo-rc1 → 2015.1.0 |
verified proposed fix https:/ /review. openstack. org/167461 (bug https:/ /bugs.launchpad .net/murano/ +bug/1435787) - fix works correctly floating IPs are allocated as expected