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

Bug #1535299 reported by Victor Ryzhenkin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
High
Alexander Tivelkov

Bug Description

VERSION:
  feature_groups:
    - mirantis
    - experimental
  production: "docker"
  release: "8.0"
  api: "1.0"
  build_number: "435"
  build_id: "435"
  fuel-nailgun_sha: "1c0f713999acbac09c6b36600f794bf57fd8c619"
  python-fuelclient_sha: "4f234669cfe88a9406f4e438b1e1f74f1ef484a5"
  fuel-agent_sha: "0c1b17537a35d1b56f382fcc48197d0ee0c02d90"
  fuel-nailgun-agent_sha: "92ebd5ade6fab60897761bfa084aefc320bff246"
  astute_sha: "b81577a5b7857c4be8748492bae1dec2fa89b446"
  fuel-library_sha: "81719690e46a26d7873f606d6a97fe65003c96ed"
  fuel-ostf_sha: "4ade03edf9620c3c399dcce60f1a3972f1fc0da8"
  fuel-mirror_sha: "b62f3cce5321fd570c6589bc2684eab994c3f3f2"
  fuelmenu_sha: "85de57080a18fda18e5325f06eaf654b1b931592"
  shotgun_sha: "63645dea384a37dde5c01d4f8905566978e5d906"
  network-checker_sha: "9f0ba4577915ce1e77f5dc9c639a5ef66ca45896"
  fuel-upgrade_sha: "616a7490ec7199f69759e97e42f9b97dfc87e85b"
  fuelmain_sha: "cecae4163e6aa4d393d062380cd19cf8ad1b05ac"

REPRODUCING:

1. Deploy MOS 8.0(3 controlleres, 1 hw compute, neutron vxlmn, experimental group, Murano, Artifacts)
2. SSH to master-node
3. Try to upload package into glance artifact repository.

"murano --debug package-import /var/cache/murano/meta/io.murano.zip"

Observed result:
Code 400 returned and package wasn't uploaded into repository.

Snapshot: https://drive.google.com/a/mirantis.com/file/d/0B3tqtKJGirwwSDFpNUJSUTNDaFU/view?usp=sharing

Tags: area-murano
Revision history for this message
Roman Podoliaka (rpodolyaka) wrote :

Victor, could you please provide a diagnostic snapshot or at least murano logs?

Changed in mos:
status: Confirmed → Invalid
status: Invalid → Incomplete
assignee: nobody → Victor Ryzhenkin (vryzhenkin)
tags: added: area-murano
Changed in mos:
status: Incomplete → Confirmed
description: updated
Changed in mos:
assignee: Victor Ryzhenkin (vryzhenkin) → Alexander Tivelkov (ativelkov)
Revision history for this message
Kirill Zaitsev (kzaitsev) 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-8.0/liberty)

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

Commit: fddc3142e67454c3bddc7b2f55d5c8801d9357f1
Author: Alexander Tivelkov <email address hidden>
Date: Tue Jan 19 14:07:48 2016

Fixed visibility parameter for create package glare call

When creating a murano-package artifact in Glare muranoclient was not
properly passing the visibility parameter. Instead, it was passing the
'is_public' parameter, which is not supported by Glare.

Appropriate conversion has been added to PackageManagerAdapter class

Change-Id: I8531e57cc7d139d1b4e10095c0be194c75a1564c
Closes-bug: #1535299

Changed in mos:
status: In Progress → Fix Committed
Revision history for this message
Anastasia Kuznetsova (akuznetsova) wrote :

Verified on:
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"

Changed in mos:
status: Fix Committed → Fix Released
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/python-muranoclient (9.0/mitaka)

Fix proposed to branch: 9.0/mitaka
Change author: Alexander Tivelkov <email address hidden>
Review: https://review.fuel-infra.org/18730

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

Change abandoned by Serg Melikyan <email address hidden> on branch: 9.0/mitaka
Review: https://review.fuel-infra.org/18730
Reason: fixed in upstream by https://review.openstack.org/271236

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.