[Murano] [Artifacts] Murano doesn't create CLI artifact client.

Bug #1534583 reported by Victor Ryzhenkin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
High
Nikolay Starodubtsev
8.0.x
Fix Released
High
Nikolay Starodubtsev
9.x
Fix Released
High
Nikolay Starodubtsev

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"

HOW TO REPRODUCE:
1. Deploy MOS 8.0 (3 kvm controllers, 1 hw compute, all ceph, neutron VXLAN, murano, murano-glance-artifacts)
2. Run OSTF.

Observed Result:
Murano OSTF failed with NoPackageClass found error.

This happened, because muranoclient CLI can't upload package into Artifacts repository.

********************************************************************

Additional information:
This bug also leads to multiple errors.

--------------------------------------------------------------------------------------------------------------

1. Upload murano app via dashboard from any source
2. source openrc and exec 'murano package-list' from controller node

Observed result: There is no package in output, but it exists in dashboard.

--------------------------------------------------------------------------------------------------------------

1. Upload murano app via murano CLI from any source
2. Login at Horizon and navigate to Murano>Manage>Package Definitions

Observed result: There is no uploaded package in dashboard

Tags: area-murano
Changed in mos:
assignee: MOS Murano (mos-murano) → Alexander Tivelkov (ativelkov)
Revision history for this message
Victor Ryzhenkin (vryzhenkin) wrote :

Moved to high due to this bug doesn't blocks standard murano deployments (Without g-art).

Changed in mos:
importance: Critical → High
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/python-muranoclient (openstack-ci/fuel-8.0/liberty)

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

Changed in mos:
status: Confirmed → In Progress
Revision history for this message
Alexander Tivelkov (ativelkov) wrote :

CLI has been modified to properly process the presence of MURANO_PACKAGES_SERVICE environment variable. Now we need to modify puppets to add this var to openrc file

ruhe (ruhe)
tags: added: area-murano
removed: murano
Revision history for this message
Alexander Tivelkov (ativelkov) wrote :
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/16164
Submitter: Pkgs Jenkins <email address hidden>
Branch: openstack-ci/fuel-8.0/liberty

Commit: 12b248758ac0d3166b06852a2f203c0eec33f71b
Author: Alexander Tivelkov <email address hidden>
Date: Thu Jan 21 15:09:59 2016

CLI shell can now properly interact with Glance Artifacts

Since murano packages can now be stored in Glance Artifact Repository
the client needs to be instructed which service to query for them.
Appropriate argument was added to python client, however it was not
set from the shell for the CLI usage.

This patch adds appropriate command line argument to the shell script
and adds ability to instantiate artifacts_client to be passed to
muranoclient as an option.

Partial-bug: #1534583
Change-Id: Id39257c6fbc5ab5017875d4c574c4c0acb0b7ddc

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 :

Fixed in upstream

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

Fixed in Mitaka

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/18725

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/18725
Reason: fixed in upstream by https://review.openstack.org/271228

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

Verified on #305 ISO
MOS 9.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.