[murano] Murano reads wrong heat stack output and doesn't identify FIP in case of nova-network

Bug #1484189 reported by Anastasia Kuznetsova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
High
Stan Lagun

Bug Description

If user has "nova-network" instead of "neutron" then after successful deployment of murano application user sees following message in deployment logs:
<Application> is available at http://None

while heat reports correct output:
Outputs

mgqdrid8xc0us4-assigned-ips
Network IPs assigned to mgqdrid8xc0us4 instance
{
  "novanetwork": [
    "10.0.0.2",
    "172.18.171.111",
    "172.18.171.112"
  ]
}
mgqdrid8xc0us4-floatingIPaddress
Floating IP of mgqdrid8xc0us4
172.18.171.111

murano got following instance settings:
{
                "instance": {
                    "availabilityZone": "nova",
                    "name": "mgqdrid8xc0us4",
                    "securityGroupName": null,
            ---> "assignFloatingIp": true,
                    "ipAddresses": [
                        "10.0.0.2",
                        "172.18.171.111",
                        "172.18.171.112"
                    ],
                    "networks": {
                        "useFlatNetwork": false,
                        "primaryNetwork": null,
                        "useEnvironmentNetwork": true,
                        "customNetworks": []
                    },
                    "keyname": "",
                    "sharedIps": [],
            ---> "floatingIpAddress": null,
                    ...
            }

Tags: murano
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/murano (openstack-ci/fuel-7.0/2015.1.0)

Fix proposed to branch: openstack-ci/fuel-7.0/2015.1.0
Change author: Stan Lagun <email address hidden>
Review: https://review.fuel-infra.org/10382

Changed in mos:
status: Confirmed → In Progress
Changed in mos:
status: In Progress → Fix Committed
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/murano (openstack-ci/fuel-7.0/2015.1.0)

Reviewed: https://review.fuel-infra.org/10382
Submitter: mos-infra-ci <>
Branch: openstack-ci/fuel-7.0/2015.1.0

Commit: 3a517a432a9fe3b512758226ad11838d767066e7
Author: Stan Lagun <email address hidden>
Date: Wed Aug 12 16:56:28 2015

Typo leaded to FIP not being assigned for nova-network

Because incorrect output name was used for floating IP resource
in NovaNetwork class Instance tried to access wrong Heat output
and didn't saw FIP that was actually assigned to the instance

Change-Id: Ie188f1677140acd12d4fbfb503a4b6a2515d8e6b
Closes-Bug: #1484189

Revision history for this message
Victor Ryzhenkin (vryzhenkin) wrote :

Verified:
VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "7.0"
  openstack_version: "2015.1.0-7.0"
  api: "1.0"
  build_number: "229"
  build_id: "2015-08-25_09-19-20"
  nailgun_sha: "87a569c06ecd478cae523bd437d4e0af8014dd5b"
  python-fuelclient_sha: "fc7b63aa6900fe3b2c183108ba6a13e868bc0472"
  fuel-agent_sha: "4c2ab9d6c623d345086c6e2874d1df81fd96a942"
  fuel-nailgun-agent_sha: "e01693992d7a0304d926b922b43f3b747c35964c"
  astute_sha: "53c86cba593ddbac776ce5a3360240274c20738c"
  fuel-library_sha: "f1443266fa7a32eaf8ccc131677389079339bb43"
  fuel-ostf_sha: "3ad03d076c46347691cc3480dd19d34e37b73df4"
  fuelmain_sha: "28d4bfcff7a0fb1b37504dbcac4998789df17935"

Changed in mos:
status: Fix Committed → Fix Released
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/murano (openstack-ci/fuel-8.0/liberty)

Fix proposed to branch: openstack-ci/fuel-8.0/liberty
Change author: Stan Lagun <email address hidden>
Review: https://review.fuel-infra.org/14092

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Change abandoned on openstack/murano (openstack-ci/fuel-8.0/liberty)

Change abandoned by Kirill Zaitsev <email address hidden> on branch: openstack-ci/fuel-8.0/liberty
Review: https://review.fuel-infra.org/14092
Reason: Already in s/liberty

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.