[Murano] [Artifacts] Update existing package via CLI causes error with 400 error code

Bug #1539020 reported by Anastasia Kuznetsova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
High
Alexander Tivelkov
8.0.x
Fix Released
High
Alexander Tivelkov
9.x
Fix Released
High
MOS Murano

Bug Description

Steps to reproduce:
1. Deploy MOS 8.0(3 controlleres, 1 hw compute, neutron vxlmn, experimental group, Murano, Artifacts)
2. SSH to master-node
3. export MURANO_PACKAGES_SERVICE=glance if it is not exported
4. Upload package into glance artifact repository.
murano --debug package-import /var/cache/murano/meta/io.murano.zip
5. Try to update uploading package:
murano package-import --is-public /var/cache/murano/meta/io.murano.zip
Importing package io.murano
Importing package io.murano failed. Package with the same name/classes is already registered.
What do you want to do? (s)kip, (u)pdate, (a)bort
u
Error 400 Bad Request: The server could not comply with the request since it is either malformed or otherwise incorrect.: Unexpected filter property (HTTP 400) occurred while installing package io.murano

Environment:
VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "8.0"
  api: "1.0"
  build_number: "478"
  build_id: "478"
  fuel-nailgun_sha: "ae949905142507f2cb446071783731468f34a572"
  python-fuelclient_sha: "4f234669cfe88a9406f4e438b1e1f74f1ef484a5"
  fuel-agent_sha: "481ed135de2cb5060cac3795428625befdd1d814"
  fuel-nailgun-agent_sha: "b2bb466fd5bd92da614cdbd819d6999c510ebfb1"
  astute_sha: "b81577a5b7857c4be8748492bae1dec2fa89b446"
  fuel-library_sha: "420c6fa5f8cb51f3322d95113f783967bde9836e"
  fuel-ostf_sha: "ab5fd151fc6c1aa0b35bc2023631b1f4836ecd61"
  fuel-mirror_sha: "b62f3cce5321fd570c6589bc2684eab994c3f3f2"
  fuelmenu_sha: "fac143f4dfa75785758e72afbdc029693e94ff2b"
  shotgun_sha: "63645dea384a37dde5c01d4f8905566978e5d906"
  network-checker_sha: "9f0ba4577915ce1e77f5dc9c639a5ef66ca45896"
  fuel-upgrade_sha: "616a7490ec7199f69759e97e42f9b97dfc87e85b"
  fuelmain_sha: "6c6b088a3d52dd0eaf43d59f3a3a149c93a07e7e"

Upstream bug: https://bugs.launchpad.net/python-muranoclient/+bug/1539031

Tags: area-murano
Changed in mos:
importance: Undecided → High
assignee: nobody → Alexander Tivelkov (ativelkov)
milestone: none → 8.0
Revision history for this message
Anastasia Kuznetsova (akuznetsova) wrote :
Changed in mos:
status: New → In Progress
tags: added: area-murano
description: updated
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/python-muranoclient (openstack-ci/fuel-8.0/liberty)

Reviewed: https://review.fuel-infra.org/16510
Submitter: Pkgs Jenkins <email address hidden>
Branch: openstack-ci/fuel-8.0/liberty

Commit: 859f8da4f87802ac917c51480b7d7810dd95fd41
Author: Alexander Tivelkov <email address hidden>
Date: Thu Jan 28 14:14:46 2016

Fix package delete on update when using Glare

Since Glare is unable to filter artifacts by "owned' flag, it should
not be passed as one of list query params.
Such a call is made when cli shell attempts to delete the conflicting
package during the package import process.

Another issue was that durint the package conflict CLI was searching
for confilicting package by its name only, ignoring version, thus it
was unable to delete proper package.

Closes-bug: #1539020
Change-Id: Ia191698d6c0a6cb4c832908b7ed3ee1ef9c472ee

Revision history for this message
Roman Podoliaka (rpodolyaka) wrote :

https://review.fuel-infra.org/#/c/16510/ was merged, closing the bug

Revision history for this message
Anastasia Kuznetsova (akuznetsova) wrote :

Verified on:
VERSION:
  feature_groups:
    - mirantis
    - experimental
  production: "docker"
  release: "8.0"
  api: "1.0"
  build_number: "529"
  build_id: "529"
  fuel-nailgun_sha: "baec8643ca624e52b37873f2dbd511c135d236d9"
  python-fuelclient_sha: "4f234669cfe88a9406f4e438b1e1f74f1ef484a5"
  fuel-agent_sha: "658be72c4b42d3e1436b86ac4567ab914bfb451b"
  fuel-nailgun-agent_sha: "b2bb466fd5bd92da614cdbd819d6999c510ebfb1"
  astute_sha: "b81577a5b7857c4be8748492bae1dec2fa89b446"
  fuel-library_sha: "e2d79330d5d708796330fac67722c21f85569b87"
  fuel-ostf_sha: "3bc76a63a9e7d195ff34eadc29552f4235fa6c52"
  fuel-mirror_sha: "fb45b80d7bee5899d931f926e5c9512e2b442749"
  fuelmenu_sha: "e071216cb214e34b4d861478033425ee6a54a3be"
  shotgun_sha: "63645dea384a37dde5c01d4f8905566978e5d906"
  network-checker_sha: "a43cf96cd9532f10794dce736350bf5bed350e9d"
  fuel-upgrade_sha: "616a7490ec7199f69759e97e42f9b97dfc87e85b"
  fuelmain_sha: "a365f05b903368225da3fea9aa42afc1d50dc9b4"

Revision history for this message
Alexander Tivelkov (ativelkov) wrote :
Revision history for this message
Alex Kholkin (akholkin) wrote :

Verified on #390 ISO
9.0-mos.all

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

Change abandoned by Kirill Zaitsev <email address hidden> on branch: 9.0/mitaka
Review: https://review.fuel-infra.org/21110
Reason: Already merged from upstream

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.