Skip to content

Commit 995f506

Browse files
committed
Add notes file
1 parent d67b180 commit 995f506

File tree

1 file changed

+75
-0
lines changed

1 file changed

+75
-0
lines changed

notes

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
* I can get to trying to init storage.
2+
I don't have the right version of CK
3+
4+
oc logs job/cloudkitty-storageinit
5+
+ sudo -E kolla_set_configs
6+
sudo: unable to send audit message: Operation not permitted
7+
<snip>
8+
++ cat /run_command
9+
+ CMD=/usr/bin/cloudkitty-storage-init
10+
+ ARGS=
11+
+ sudo kolla_copy_cacerts
12+
sudo: unable to send audit message: Operation not permitted
13+
<snip>
14+
+ exec /usr/bin/cloudkitty-storage-init
15+
2025-09-08 11:47:36.433 1 WARNING cloudkitty.storage [-] V2 Storage is in beta. Its API is considered stable but its implementation may still evolve.
16+
2025-09-08 11:47:36.641 1 WARNING stevedore.named [-] Could not load loki
17+
2025-09-08 11:47:36.641 1 CRITICAL cloudkitty [-] Unhandled error: stevedore.exception.NoMatches: No 'cloudkitty.storage.v2.backends' driver found, looking for 'loki'
18+
2025-09-08 11:47:36.641 1 ERROR cloudkitty Traceback (most recent call last):
19+
2025-09-08 11:47:36.641 1 ERROR cloudkitty File "/usr/bin/cloudkitty-storage-init", line 8, in <module>
20+
2025-09-08 11:47:36.641 1 ERROR cloudkitty sys.exit(main())
21+
2025-09-08 11:47:36.641 1 ERROR cloudkitty ^^^^^^
22+
2025-09-08 11:47:36.641 1 ERROR cloudkitty File "/usr/lib/python3.12/site-packages/cloudkitty/cli/storage.py", line 30, in main
23+
2025-09-08 11:47:36.641 1 ERROR cloudkitty init_storage_backend()
24+
2025-09-08 11:47:36.641 1 ERROR cloudkitty File "/usr/lib/python3.12/site-packages/cloudkitty/cli/storage.py", line 22, in init_storage_backend
25+
2025-09-08 11:47:36.641 1 ERROR cloudkitty backend = storage.get_storage()
26+
2025-09-08 11:47:36.641 1 ERROR cloudkitty ^^^^^^^^^^^^^^^^^^^^^
27+
2025-09-08 11:47:36.641 1 ERROR cloudkitty File "/usr/lib/python3.12/site-packages/cloudkitty/storage/__init__.py", line 211, in get_storage
28+
2025-09-08 11:47:36.641 1 ERROR cloudkitty return _get_storage_instance(
29+
2025-09-08 11:47:36.641 1 ERROR cloudkitty ^^^^^^^^^^^^^^^^^^^^^^
30+
2025-09-08 11:47:36.641 1 ERROR cloudkitty File "/usr/lib/python3.12/site-packages/cloudkitty/storage/__init__.py", line 56, in _get_storage_instance
31+
2025-09-08 11:47:36.641 1 ERROR cloudkitty return driver.DriverManager(
32+
2025-09-08 11:47:36.641 1 ERROR cloudkitty ^^^^^^^^^^^^^^^^^^^^^
33+
2025-09-08 11:47:36.641 1 ERROR cloudkitty File "/usr/lib/python3.12/site-packages/stevedore/driver.py", line 54, in __init__
34+
2025-09-08 11:47:36.641 1 ERROR cloudkitty super().__init__(
35+
2025-09-08 11:47:36.641 1 ERROR cloudkitty File "/usr/lib/python3.12/site-packages/stevedore/named.py", line 89, in __init__
36+
2025-09-08 11:47:36.641 1 ERROR cloudkitty self._init_plugins(extensions)
37+
2025-09-08 11:47:36.641 1 ERROR cloudkitty File "/usr/lib/python3.12/site-packages/stevedore/driver.py", line 113, in _init_plugins
38+
2025-09-08 11:47:36.641 1 ERROR cloudkitty raise NoMatches('No %r driver found, looking for %r' %
39+
2025-09-08 11:47:36.641 1 ERROR cloudkitty stevedore.exception.NoMatches: No 'cloudkitty.storage.v2.backends' driver found, looking for 'loki'
40+
2025-09-08 11:47:36.641 1 ERROR cloudkitty
41+
42+
43+
44+
Tempest
45+
=======
46+
To run tempest, you need to do a hack until https://github.com/openstack-k8s-operators/tcib/pull/328 is merged.
47+
This is required because the upper constraints file is incorrect for the master-centos10 containers.
48+
49+
To work around this locally, you can create the tempest CR to get the pods running.
50+
[telemetry-operator] $ oc apply -f telemetry-with-cloudkitty.yaml
51+
Once the pod is up and running,rsh into the container
52+
53+
$ oc rsh tempest-tests-cloudkitty
54+
55+
Then, edit the run_tempest.sh script as root and update it to match this: https://github.com/openstack-k8s-operators/tcib/pull/328/files
56+
57+
To re-run the tests, you need to clean up a little:
58+
59+
$ rm -rf cloudkitty-tempest-plugin/ /var/lib/tempest/openshift
60+
61+
Then re-run the tests:
62+
$ /usr/local/bin/run_tempest.sh
63+
64+
The results will be available in /var/lib/tempest/external_files//tempest-tests-cloudkitty//tempest_results.xml
65+
66+
Updating the config
67+
===================
68+
BUG
69+
When the config for CK is updated, the pods don't automatically get restarted with the new config.
70+
71+
Manually test by editing the telemetry to add e.g. a new custom service config value
72+
Automatically test with envtest
73+
74+
Either changes top the configmap/secret is not being added to the hash, or there needs to be a watch added for changes to configmap/secret.
75+

0 commit comments

Comments
 (0)