Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add openstack regression test runner #254

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

dosaboy
Copy link
Member

@dosaboy dosaboy commented Sep 27, 2024

Run the Openstack release tests from charmed-openstack-tests.

@dosaboy dosaboy force-pushed the openstack-regression-tests branch 2 times, most recently from c895782 to beceb43 Compare September 27, 2024 16:14
@dosaboy
Copy link
Member Author

dosaboy commented Sep 27, 2024

Currently getting the following error because ceph units do not have enough storage:

root@juju-efd3bb-zaza-c4f5cb82f94b-4:/home/ubuntu# ceph -s
  cluster:
    id:     d6be62ca-7cde-11ef-bc82-5d4897b1b779
    health: HEALTH_ERR
            clock skew detected on mon.juju-efd3bb-zaza-c4f5cb82f94b-6
            3 full osd(s)
            7 pool(s) full
 
  services:
    mon: 3 daemons, quorum juju-efd3bb-zaza-c4f5cb82f94b-4,juju-efd3bb-zaza-c4f5cb82f94b-5,juju-efd3bb-zaza-c4f5cb82f94b-6 (age 91m)
    mgr: juju-efd3bb-zaza-c4f5cb82f94b-6(active, since 90m), standbys: juju-efd3bb-zaza-c4f5cb82f94b-4, juju-efd3bb-zaza-c4f5cb82f94b-5
    mds: 1/1 daemons up
    osd: 3 osds: 3 up (since 89m), 3 in (since 90m)
 
  data:
    volumes: 1/1 healthy
    pools:   7 pools, 157 pgs
    objects: 2.98k objects, 23 GiB
    usage:   69 GiB used, 3.4 GiB / 72 GiB avail
    pgs:     157 active+clean

@dosaboy
Copy link
Member Author

dosaboy commented Sep 27, 2024

they are getting staging-cpu1-ram4-disk20 flavor atm

@dosaboy
Copy link
Member Author

dosaboy commented Sep 27, 2024

bundle has:

  ceph-osd:
    charm: ch:ceph-osd
    num_units: 3
    options:
      source: *source
    storage:
      osd-devices: cinder,24G
    constraints: mem=4096
    channel: *ceph-channel

@dosaboy
Copy link
Member Author

dosaboy commented Sep 27, 2024

# ceph df
--- RAW STORAGE ---
CLASS    SIZE    AVAIL    USED  RAW USED  %RAW USED
hdd    72 GiB  3.4 GiB  69 GiB    69 GiB      95.34
TOTAL  72 GiB  3.4 GiB  69 GiB    69 GiB      95.34
 
--- POOLS ---
POOL              ID  PGS   STORED  OBJECTS     USED   %USED  MAX AVAIL
.mgr               1    1  449 KiB        2  1.3 MiB  100.00        0 B
ceph-fs_data       2    4      0 B        0      0 B       0        0 B
ceph-fs_metadata   3   16  4.0 KiB       22   96 KiB  100.00        0 B
manila-ganesha     4   32      4 B        3   12 KiB  100.00        0 B
gnocchi            5    8     14 B        1   12 KiB  100.00        0 B
glance             6   64   23 GiB    2.95k   68 GiB  100.00        0 B
cinder-ceph        7   32      0 B        0      0 B       0        0 B

@dosaboy
Copy link
Member Author

dosaboy commented Sep 27, 2024

names of images synced to glance:

+---------------------------------------------------------------+
| name                                                          |
+---------------------------------------------------------------+
| cirros_alt                                                    |
| bionic                                                        |
| fedora-coreos                                                 |
| auto-sync/ubuntu-jammy-22.04-amd64-server-20240912-disk1.img  |
| amphora-haproxy-x86_64-ubuntu-22.04-20240912                  |
| noble                                                         |
| fedora-coreos                                                 |
| cirros                                                        |
| jammy                                                         |
| auto-sync/ubuntu-focal-20.04-amd64-server-20240821-disk1.img  |
| auto-sync/ubuntu-xenial-16.04-amd64-server-20211001-disk1.img |
| auto-sync/ubuntu-trusty-14.04-amd64-server-20191107-disk1.img |
| focal                                                         |
| auto-sync/ubuntu-bionic-18.04-amd64-server-20230607-disk1.img |
+---------------------------------------------------------------+

@dosaboy dosaboy force-pushed the openstack-regression-tests branch from beceb43 to fa87081 Compare September 27, 2024 16:36
Copy link
Member

@pponnuvel pponnuvel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some nit picks. Otherwise looks good to me.

openstack/tools/openstack_regression_tests_runner.sh Outdated Show resolved Hide resolved
openstack/tools/openstack_regression_tests_runner.sh Outdated Show resolved Hide resolved
openstack/tools/openstack_regression_tests_runner.sh Outdated Show resolved Hide resolved
openstack/tools/openstack_regression_tests_runner.sh Outdated Show resolved Hide resolved
openstack/tools/openstack_regression_tests_runner.sh Outdated Show resolved Hide resolved
@dosaboy dosaboy force-pushed the openstack-regression-tests branch from fa87081 to a8dbe56 Compare September 30, 2024 10:42
Run the Openstack release tests from charmed-openstack-tester.
@dosaboy dosaboy force-pushed the openstack-regression-tests branch from a8dbe56 to 63cc673 Compare September 30, 2024 12:45
@dosaboy dosaboy merged commit 95bdea4 into canonical:main Sep 30, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants