Zaza tests on openstack need python-openstackclient

Bug #1925278 reported by Xav Paice
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Livepatch Charm
Fix Released
Undecided
Unassigned
Elasticsearch Charm
Fix Released
Undecided
Unassigned
Grafana Charm
Fix Released
Undecided
Unassigned
Graylog Charm
Fix Released
Undecided
Unassigned
MongoDB Charm
Fix Released
Undecided
Unassigned
NRPE Charm
Fix Released
Undecided
Unassigned
Prometheus Blackbox Exporter Charm
Fix Released
Undecided
Sudeep Bhandari
Prometheus Ceph Exporter Charm
Won't Fix
Undecided
Unassigned
Prometheus Openstack Exporter Charm
Fix Released
Undecided
Tianqi Xiao
Prometheus libvirt exporter charm
Fix Released
Undecided
JamesLin
Prometheus2 charm
Fix Released
Undecided
Xav Paice
Rsyslog Forwarder HA Charm
Fix Released
Undecided
Xav Paice
Sudo_pair Charm
Won't Fix
Undecided
Unassigned
Telegraf Charm
Fix Released
Low
Unassigned
charm-autoreg
Won't Fix
Undecided
Unassigned
charm-bcache-tuning
Fix Released
Undecided
Sudeep Bhandari
charm-duplicity
Fix Released
Undecided
Xav Paice
charm-fstab-config
Fix Released
Undecided
Sudeep Bhandari
charm-juju-controller
Fix Released
Undecided
Xav Paice
charm-juju-lint
Fix Released
Medium
Xav Paice
charm-jujukeeper
Won't Fix
Undecided
Unassigned
charm-kubernetes-service-checks
Fix Released
Undecided
Unassigned
charm-postfix-relay
Fix Released
Undecided
Robert Gildein
glance-sync-layer
Won't Fix
Undecided
Unassigned
memcached-charm
Fix Released
Undecided
JamesLin
prometheus-grok-exporter-charm
Fix Released
Undecided
Robert Gildein

Bug Description

Since b46f13ef113e690493364dabc87821699626d8e6 in zaza, if running tests on an OpenStack cloud provider, each bundle test concludes with a cleanup routine that needs the python-openstackclient package in requirements.txt for the tox environment, plus the OS_ environment vars exported/passed through such that the Openstack client actually works. If these are not set, the test fails on the first bundle cleanup and does not continue to the remaining bundles.

Related branches

Xav Paice (xavpaice)
tags: added: charm-nrpe
tags: removed: charm-nrpe
Revision history for this message
Xav Paice (xavpaice) wrote :

Resolution:

Add to requirements.txt:

python-openstackclient

Add to tox.ini under `passenv =`:

  OS_REGION_NAME
  OS_AUTH_VERSION
  OS_AUTH_URL
  OS_PROJECT_DOMAIN_NAME
  OS_USERNAME
  OS_PASSWORD
  OS_PROJECT_ID
  OS_USER_DOMAIN_NAME
  OS_PROJECT_NAME
  OS_IDENTITY_API_VERSION

Prior to running any test: source a valid novarc.

Xav Paice (xavpaice)
Changed in charm-canonical-livepatch:
status: New → In Progress
milestone: none → 21.07
Xav Paice (xavpaice)
Changed in charm-elasticsearch:
status: New → In Progress
Changed in charm-grafana:
status: New → In Progress
Changed in charm-elasticsearch:
milestone: none → 21.07
Xav Paice (xavpaice)
Changed in charm-graylog:
milestone: none → 21.07
status: New → In Progress
Changed in charm-grafana:
milestone: none → 21.07
Xav Paice (xavpaice)
Changed in charm-mongodb:
milestone: none → 21.07
status: New → In Progress
Xav Paice (xavpaice)
Changed in charm-nrpe:
milestone: none → 21.07
status: New → In Progress
Edin S (exsdev)
Changed in charm-telegraf:
importance: Undecided → Low
Celia Wang (ziyiwang)
Changed in charm-kubernetes-service-checks:
milestone: none → 21.07
status: New → Fix Committed
status: Fix Committed → Fix Released
Celia Wang (ziyiwang)
Changed in charm-canonical-livepatch:
status: In Progress → Fix Released
Celia Wang (ziyiwang)
Changed in charm-mongodb:
status: In Progress → Fix Released
Celia Wang (ziyiwang)
Changed in charm-elasticsearch:
status: In Progress → Fix Released
Changed in charm-nrpe:
status: In Progress → Fix Released
Celia Wang (ziyiwang)
Changed in charm-grafana:
status: In Progress → Fix Released
Xav Paice (xavpaice)
Changed in charm-telegraf:
assignee: nobody → Xav Paice (xavpaice)
status: New → In Progress
milestone: none → 21.10
Xav Paice (xavpaice)
Changed in charm-telegraf:
status: In Progress → Fix Released
Celia Wang (ziyiwang)
Changed in charm-graylog:
milestone: 21.07 → 21.10
status: In Progress → Fix Released
Xav Paice (xavpaice)
Changed in charm-prometheus2:
status: New → In Progress
Xav Paice (xavpaice)
Changed in charm-telegraf:
assignee: Xav Paice (xavpaice) → nobody
Tianqi Xiao (txiao)
Changed in charm-prometheus-openstack-exporter:
assignee: nobody → Tianqi Xiao (txiao)
status: New → In Progress
Revision history for this message
Robert Gildein (rgildein) wrote :

Should this be resolved in zaza? There is bug in zaza [1], and I think
it make much more sense to update it there instead of each charm.

---
[1]: https://github.com/openstack-charmers/zaza/issues/452

Tianqi Xiao (txiao)
Changed in charm-prometheus-openstack-exporter:
status: In Progress → Fix Committed
Tianqi Xiao (txiao)
Changed in charm-prometheus-libvirt-exporter:
status: New → Fix Committed
Tianqi Xiao (txiao)
Changed in charm-prometheus-openstack-exporter:
milestone: none → 22.08
Changed in charm-prometheus-libvirt-exporter:
milestone: none → 22.08
Changed in charm-prometheus-openstack-exporter:
status: Fix Committed → Fix Released
JamesLin (jneo8)
Changed in charm-prometheus-libvirt-exporter:
assignee: nobody → JamesLin (jneo8)
milestone: 22.08 → none
status: Fix Committed → Fix Released
Changed in charm-telegraf:
milestone: 21.10 → 22.08
Andrea Ieri (aieri)
Changed in charm-juju-lint:
importance: Undecided → Medium
status: New → Triaged
Changed in charm-prometheus-grok-exporter:
assignee: nobody → Robert Gildein (rgildein)
status: New → In Progress
Changed in charm-prometheus-grok-exporter:
status: In Progress → Fix Committed
milestone: none → 23.04
Changed in charm-bcache-tuning:
milestone: none → 23.01
status: New → Fix Released
assignee: nobody → Sudeep Bhandari (sudeephb)
Revision history for this message
Robert Gildein (rgildein) wrote :
Changed in charm-duplicity:
assignee: nobody → Xav Paice (xavpaice)
status: New → Fix Released
Revision history for this message
Robert Gildein (rgildein) wrote :
Changed in charm-fstab-config:
assignee: nobody → Sudeep Bhandari (sudeephb)
milestone: none → 22.08
status: New → Fix Released
Revision history for this message
Robert Gildein (rgildein) wrote :

released in 22.04

Changed in charm-juju-controller:
assignee: nobody → Xav Paice (xavpaice)
status: New → Fix Released
Changed in charm-juju-lint:
assignee: nobody → Xav Paice (xavpaice)
status: Triaged → Fix Released
Revision history for this message
Robert Gildein (rgildein) wrote :

released in 22.08

Changed in charm-memcached:
assignee: nobody → JamesLin (jneo8)
milestone: none → 22.08
status: New → Fix Released
Changed in charm-postfix-relay:
assignee: nobody → Robert Gildein (rgildein)
milestone: none → 23.01
status: New → Fix Released
Revision history for this message
Robert Gildein (rgildein) wrote :

This was fixed and released in 23.01

Changed in charm-prometheus-blackbox-exporter:
assignee: nobody → Sudeep Bhandari (sudeephb)
milestone: none → 23.01
status: New → Fix Released
Changed in charm-prometheus2:
assignee: nobody → Xav Paice (xavpaice)
milestone: none → 22.04
status: In Progress → Fix Released
Changed in charm-rsyslog-forwarder-ha:
assignee: nobody → Xav Paice (xavpaice)
milestone: none → 22.04
status: New → Fix Released
Changed in charm-prometheus-grok-exporter:
milestone: 23.04 → none
status: Fix Committed → Fix Released
milestone: none → 23.04
Eric Chen (eric-chen)
Changed in charm-juju-autoreg:
status: New → Won't Fix
Eric Chen (eric-chen)
Changed in charm-glance-sync:
status: New → Won't Fix
Eric Chen (eric-chen)
Changed in charm-sudo-pair:
status: New → Won't Fix
Changed in charm-jujukeeper:
status: New → Won't Fix
Revision history for this message
Eric Chen (eric-chen) wrote :

This charm is no longer being actively maintained. Please use ceph-dashboard charm that uses the built-in Ceph Dashboard.
https://opendev.org/openstack/charm-ceph-dashboard

Changed in charm-prometheus-ceph-exporter:
status: New → Won't Fix
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.