[murano] During import multiple packages from catalog, the same images will be imported multiple times

Bug #1455147 reported by Victor Ryzhenkin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
High
Kirill Zaitsev

Bug Description

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "6.1"
  openstack_version: "2014.2.2-6.1"
  api: "1.0"
  build_number: "412"
  build_id: "2015-05-13_11-36-33"
  nailgun_sha: "09a9f2726223b9f31075adf79898045cd269c00c"
  python-fuelclient_sha: "af6c9c3799b9ec107bcdc6dbf035cafc034526ce"
  astute_sha: "484d5038b81b7260597be027b1265dc88091026b"
  fuel-library_sha: "86505a5b4aab91b16abacca9a0da4f4cf90d3da9"
  fuel-ostf_sha: "1ae384a28b42d5325bd5d2546aead1e9d502f6a8"
  fuelmain_sha: "51b86bb24b27742a22b23e2ae3dfc850c47e5fbf"

Steps:
1. Deploy OS+neutron-gre, Murano, All ceph, CentOS, HA (3 KVM controllers, 1 Supermicro compute)
2. Log into Horizon
3. Navigate to Murano->Manage->Package Definitions
4. Click to Import Bundle button and choose a bundle from apps.openstack.org, for example container-based-apps

Actual result:
There is a 32 images imported into glance.

Expected:
2 images imported into glance.

Tags: murano
Changed in mos:
importance: Undecided → High
milestone: none → 6.1
status: New → Confirmed
tags: added: murano
Changed in mos:
assignee: nobody → Kirill Zaitsev (kzaitsev)
description: updated
Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :
Changed in mos:
status: Confirmed → In Progress
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/python-muranoclient (openstack-ci/fuel-6.1/2014.2)

Reviewed: https://review.fuel-infra.org/6717
Submitter: Ekaterina Chernova <email address hidden>
Branch: openstack-ci/fuel-6.1/2014.2

Commit: 8d10d7b2b5f4eddcb147d98a0455fd65d87a6c0f
Author: Ekaterina Chernova <email address hidden>
Date: Thu May 14 18:27:43 2015

Remove hash check during image upload

There were situations, when image was upload twice automatically,
because it was updated and it's hash changed.
But since these images have the same name and some of our applications
currently rely on image name, when constructing heat template it caused
problems in heat, as it could not resolve this situation,
while deploying template, generated by Murano.

Change-Id: Ib8f86f4934b2420d3c1c7e952dcbb47bcc9ab81c
Closes-Bug: #1455147

Changed in mos:
status: In Progress → Fix Committed
Revision history for this message
Yaroslav Lobankov (ylobankov) wrote :

Verified on

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "6.1"
  openstack_version: "2014.2.2-6.1"
  api: "1.0"
  build_number: "432"
  build_id: "2015-05-18_03-43-53"
  nailgun_sha: "076566b5df37f681c3fd5b139c966d680d81e0a5"
  python-fuelclient_sha: "38765563e1a7f14f45201fd47cf507393ff5d673"
  astute_sha: "cb655a9a9ad26848bcd9d9ace91857b6f4a0ec15"
  fuel-library_sha: "1621cb350af744f497c35f2b3bb889c2041465d8"
  fuel-ostf_sha: "9ce1800749081780b8b2a4a7eab6586583ffaf33"
  fuelmain_sha: "0e970647a83d9a7d336c4cc253606d4dd0d59a60"

tags: added: on verification
Changed in mos:
status: Fix Committed → Fix Released
tags: removed: on verification
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/python-muranoclient (openstack-ci/fuel-7.0/2015.1.0)

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

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Change abandoned on openstack/python-muranoclient (openstack-ci/fuel-7.0/2015.1.0)

Change abandoned by Ekaterina Chernova <email address hidden> on branch: openstack-ci/fuel-7.0/2015.1.0
Review: https://review.fuel-infra.org/8304

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Change restored on openstack/python-muranoclient (openstack-ci/fuel-7.0/2015.1.0)

Change restored by Ekaterina Chernova <email address hidden> on branch: openstack-ci/fuel-7.0/2015.1.0
Review: https://review.fuel-infra.org/8304

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Change abandoned on openstack/python-muranoclient (openstack-ci/fuel-7.0/2015.1.0)

Change abandoned by Ekaterina Chernova <email address hidden> on branch: openstack-ci/fuel-7.0/2015.1.0
Review: https://review.fuel-infra.org/8304
Reason: Already there https://review.fuel-infra.org/gitweb?p=openstack/python-muranoclient.git;a=log;h=refs/heads/openstack-ci/fuel-7.0/2015.1.0

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.