canonical / openstack-exporter-operator

The openstack-exporter-operator is a machine charm for openstack-exporter.
Apache License 2.0
1 stars 6 forks source link

chore (testing): add basic integration tests #41

Closed chanchiwai-ray closed 5 months ago

chanchiwai-ray commented 5 months ago

Add simple deployment bundle to test the charm's lifecycle. The following are missing due to the difficulty to restore the testing environment:

Blocked by https://github.com/canonical/openstack-exporter-operator/pull/40, the workload status of openstack-exporter is unstable if there's no full openstack deployment because when relating the grafana-agent, the exporter endpoint will be scraped, and the exporter will crash without correct credentials.

chanchiwai-ray commented 5 months ago

Integration test failed: Machine in Error State, probably the --keep-faulty-model is using up all the quotas

samuelallan72 commented 5 months ago

probably the --keep-faulty-model is using up all the quotas

Yeah we probably shouldn't use this flag in CI. This can be something we can document for users to add locally for debugging purposes.

chanchiwai-ray commented 5 months ago

probably the --keep-faulty-model is using up all the quotas

Yeah we probably shouldn't use this flag in CI. This can be something we can document for users to add locally for debugging purposes.

We need to get the crashdump as the artifact instead of keeping the faulty model