Commit Graph

106 Commits

Author SHA1 Message Date
Takashi Kajinami 449db409c2 Capture rsync config file
Change-Id: I8c85439467de734a472d77a9788e6cf3f9a32690
2024-02-01 18:16:07 +09:00
Zuul 619c2d3b94 Merge "nova: Capture cell details" 2024-01-10 12:22:34 +00:00
Takashi Kajinami b285977f6f nova: Capture cell details
Change-Id: I93a1b3f539f135d57fd9e44b4d8082c37a292d75
2024-01-09 09:14:22 +00:00
Zuul 4d2d87540c Merge "Drop patterns for old repository host/namespace" 2024-01-02 16:54:05 +00:00
Takashi Kajinami d961c50855 Drop patterns for old repository host/namespace
Our modules were migrated from stackforge namespace to the openstack
namespace a while ago. Also, all of the OpenStack repos are migrated
from github to opendev.

Change-Id: Ie6dc9c26ffac7cfbcc0387ec46919329b28ea9e7
2023-12-25 16:49:55 +09:00
Takashi Kajinami 0f2b3518e9 Capture Gnocchi resources
... so that we can ensure that telemetry services are working properly.

Change-Id: Iab7de6107f529d0895cf23d60791e521bc3916c8
2023-12-25 11:10:30 +09:00
Takashi Kajinami ee02b55a1c CentOS: Capture list of SELinux booleans
Change-Id: I06dd8529440067cb7abe2d2feea3efe14a8161b7
2023-12-20 22:27:54 +09:00
Takashi Kajinami 547cebc73f Debian/Ubuntu: Fix rndc.key file path in rndc.conf
In Debian families, the rndc.key file is created in /etc/bind instead
of /etc. This fixes the key file path in rndc.conf.

Also this updates the rncd.conf path to place it in the same directory.

Change-Id: If6fa440541b5c8b3073b72de97d9550dbe6f8c2a
2023-12-10 00:20:02 +09:00
Zuul 02822cff64 Merge "Enable libvirt-guests" 2023-11-27 12:36:13 +00:00
Takashi Kajinami e861ca14b1 Enable libvirt-guests
The feature can be easily tested in CI.

Depends-on: https://review.opendev.org/c/openstack/puppet-nova/+/901605
Change-Id: Ib47a11415d04df47dc3085a93475a5293ba7de5e
2023-11-23 01:55:40 +09:00
Takashi Kajinami 3768acbb55 Debian/Ubuntu: Capture core config files
In Debian and Ubuntu, some core config files such as apache2.conf
are located at the top-level config directory and are not captured.

This ensures these files are also captured after test run.

Change-Id: I28ea22a0e14769ba4bc1545a75569f9cf6e881d5
2023-11-19 20:40:19 +09:00
Takashi Kajinami 4e29b9a185 Capture config files of bind
We deploy bind as a backend for Designate so let's capture its config
files so that we can review files generated by puppet-dns.

Change-Id: I7ed857aff5fac295140031e8cdfecd8e35281767
2023-11-16 17:40:01 +00:00
Takashi Kajinami 71e569881e Fix wrong path checked
We should check whether the file being captured actually exists.

Change-Id: I12ae91ac84fdd6ff1eee195b88e257819379ce79
2023-11-10 22:42:23 +09:00
Takashi Kajinami 587df76ac1 Get list of implied roles
... so that we can review how the implied roles are created during
deployment.

Change-Id: I665f07c4aaa3a68c070831ca33697d838191d9f8
2023-11-05 18:33:38 +00:00
Takashi Kajinami 9d4ed82fe6 CentOS: Check package installation source
This adds `dnf list installed` command so that we can review from
which repository a specific package is installed.

Change-Id: I94b032aae6734282ebf7158e9a1ae61830fd667a
2023-10-03 16:00:34 +09:00
Zuul bcf4ffab9b Merge "Stop testing amqp1 messaging driver" 2023-08-16 08:39:10 +00:00
Takashi Kajinami c1f6ba999e Stop testing amqp1 messaging driver
amqp1 driver of the oslo.messaging library was deprecated and it is
no longer tested. This replaces usage of the driver by the RabbitMQ
driver.

Depends-on: https://review.opendev.org/861070
Change-Id: I17666d9507564acb05a69143879ca2ec4b0bdeb0
2023-08-14 23:30:51 +09:00
Takashi Kajinami 0fd4a85c73 Stop capturing /etc/redis.conf
CentOS <= 8 has been using the /etc/redis.conf file, but it was changed
to /etc/redis/redis.conf in CentOS 9.
So we no longer have to check the old path.

This also simplifies the way to capture redis log so that we don't have
to care the actual file name.

Change-Id: I8bf19b002e689e3c7e00f05799927f3433b0c2dc
2023-08-10 07:29:12 +00:00
Takashi Kajinami 8f5817258a Stop generating adminrc
We no longer need this file because now providers use the clouds.yaml
file instead.

Change-Id: Ib8888851c4cd60f35673a0d2ce30e99fb2d09c99
2023-07-29 04:17:24 +00:00
Takashi Kajinami 85937d4666 Enable manila with cephfs driver
This enables manila with cephfs backend in scenario 004 test.

Depends-on: https://review.opendev.org/884461
Change-Id: I60d6ce301cf714cd918becaf493eb7396ec9631a
2023-05-30 01:14:52 +00:00
Takashi Kajinami 49aec62c40 Capture some ceph commands
... so that we can review status of ceph deployment more in detail.

Change-Id: I8d54ae01488f35a70a6aeb97749765bd5edb0afa
2023-05-25 19:16:44 +09:00
Zuul de31067aaa Merge "libvirt: Stop capturing sysconfig/default file" 2023-04-12 05:55:01 +00:00
Takashi Kajinami cc52872828 libvirt: Stop capturing sysconfig/default file
... because puppet-nova no longer manipulate this file.

Depends-on: https://review.opendev.org/879813
Change-Id: Iedc450881d678cb1207694427cf09afb684ebcab
2023-04-07 12:08:39 +09:00
Takashi Kajinami 3192851410 Fix issue with capturing apache config
The mkdir commands require -p, otherwise the commands fail because
the parent directory is not created.

Change-Id: I3478d2886fe6072d6b6d55a0e497f9b67f5c8675
2023-03-30 18:12:50 +09:00
Zuul e7ed381885 Merge "Capture puppet.conf" 2023-03-22 12:15:02 +00:00
Zuul 21d2fe0e22 Merge "Capture more details about apache" 2023-03-22 12:15:00 +00:00
Takashi Kajinami 51e8df7633 Enable SSL in OVN
This introduces the settings required to enable SSL in OVN NB DB, SB DB
and controller.

Depends-on: https://review.opendev.org/875311
Depends-on: https://review.opendev.org/874997
Change-Id: I2ede76684d149f1abbda2fa7b8f2e4b2345df839
2023-03-20 14:09:07 +09:00
Takashi Kajinami 5096c12fe7 Capture puppet.conf
... so that we can review the global config file.

Change-Id: I524ed1cdd1b5d085ab4cf7163955c64c66fc77a7
2023-03-19 18:34:19 +00:00
Takashi Kajinami ad40c00bda Capture more details about apache
This updates the script so that the following config files for apache
are captured in CI logs.
 - base apache configurations
 - enabled modules

Change-Id: I3bf0c422ecad44ff9d7167fc816497cb569b54ba
2023-03-19 01:45:59 +09:00
Zuul 5314aabd92 Merge "Vitrage: Capture service list" 2023-03-18 06:00:47 +00:00
Zuul 4ef7f33412 Merge "Stop querying identity extension list" 2023-03-17 09:18:43 +00:00
Takashi Kajinami 00e5eaae17 Stop querying identity extension list
... because API is not supported and the command consistently fails
with the following error.

```
Extensions list not supported by Identity API
```

Change-Id: If489edb987dfc7bdbeec40aa021f8eb38b17522c
2023-03-14 01:09:25 +00:00
Takashi Kajinami cba9830941 Vitrage: Capture service list
... so that we can verify status of daemon services by the command
outputs. This also adds coordination backend for vitrage because
service API requires it.

Depends-on: https://review.opendev.org/877294
Change-Id: I9db31734028a33c0cae212767e98f0ca410d2a8e
2023-03-14 00:23:41 +09:00
Takashi Kajinami fe83b5488d Refactor usage of puppet-rabbitmq
This refactors current usage of puppet-rabbitmq. Details follow below.

- the rabbitmql class supports the ipv6 parameter which injects
  the required definitions to use IPv6

- ssl options are ignored if rabbitlqm::ssl is false

- we can use native parameters to define the bind address

Change-Id: Id33b56f84b04f0086f0e19e1938f36d109e4a188
2023-03-14 00:02:16 +09:00
Takashi Kajinami 23baae9a20 Capture region/domain list
... so that we can check that region and domain are properly created by
bootstrap.

Change-Id: I79243662b97c62d7eaf9d05b079b98f1abf970ce
2023-02-28 16:33:35 +09:00
Zuul e719dda6ba Merge "ovn: Capture additional items" 2023-02-27 21:02:11 +00:00
Takashi Kajinami bd0ff7cedf ovn: Capture additional items
This adds the following two items to logs captured during CI.

- the sysconfig/default file which contains ovn-northd command line
  options

- the created remote connections of ovn nb/sb db

Change-Id: Ia8024a2916c16d7067513cfa33565e3d6961b9cc
2023-02-26 23:25:43 +09:00
Takashi Kajinami fe75d23e76 Capture resources of more OpenStack services
This adds some openstack CLI commands for some more OpenStack services
so that we can check service status and created resources in CI.

Change-Id: I15b83c7a9f0a3b89dfd82e20cfd616d2086e2995
2023-02-24 04:32:22 +09:00
Takashi Kajinami 00861b75a0 Capture OS user/group in integration/litmus jobs
Change-Id: Icb582e0956f02f1ac6b6d9568fc33ec086b747ee
2022-11-21 14:47:42 +09:00
Takashi Kajinami 835ee39ad4 Capture storage setup
This change adds a few items to review storage setups in integration
and litmus jobs.

- device mounts (for swift)
- loopback devices (for cinder, manila and swift)
- lvm (for cinder and manila)

Change-Id: I65525f13b31b5041e3b0b7b4b818ec6c5cfc7e6b
2022-10-21 01:05:41 +00:00
Takashi Kajinami 980894eaad Dump detail of swift rings
... so that we can review nodes and devices registered in swift rings
easily.

Change-Id: I6b316894cdcb3ea09d09498fdeeb6cc2283c0314
2022-09-05 15:56:56 +00:00
Zuul fd28ffb7c7 Merge "Capture config files for iscsid/tgtd" 2022-08-18 23:44:23 +00:00
Zuul 215becb15b Merge "Fix wrong function name in copy log script" 2022-08-16 14:47:12 +00:00
Takashi Kajinami 184c9ad358 Fix wrong function name in copy log script
The use_deb function does not exist. It should be use's'_debs.

Change-Id: I6e0af9c5d19e03a976420da01488da0d451cf14a
2022-08-15 17:29:57 +09:00
Takashi Kajinami 3c27e9e496 Capture config files for iscsid/tgtd
Change-Id: Ic3501a6c9d49afec77055f3803a099ffa52018ef
2022-08-15 08:29:26 +00:00
Alfredo Moralejo f9711ee6b2 Fix service logs gathering when using RDO puppet package
This is follow-up of [1]. When using puppet package from RDO, default
location for modules is /etc/puppet/modules/.

[1] https://review.opendev.org/c/openstack/puppet-openstack-integration/+/832265

Change-Id: Ic476cb40c375d05d6897d016677fcebd623a4b97
2022-08-09 16:21:38 +02:00
Zuul fed3733194 Merge "Capture network-scripts" 2022-07-30 16:43:45 +00:00
Takashi Kajinami 6c664af12e Capture network-scripts
The puppet-vswitch modules manages interface scripts when a bridge is
connected to a physical interface. This change ensures the network
scripts are captured in CI, so that we can review the files updated
by the module.

Change-Id: Id52cf40559d24ec1cce4e8cf35471fd4100d4e97
2022-07-19 01:22:15 +09:00
Takashi Kajinami 3bb7ae978a Capture service logs in litmus tests
This change allows gathering logs of OpenStack services in litmus
tests, so that we can check behavior of each services more in detail.

Change-Id: I9e0fe04e6786e1b8b73448c3d85255ffd39804ec
2022-07-15 05:48:41 +00:00
Takashi Kajinami 093db06714 Fix wrong path for clouds.yaml
This fixes the wrong path used to access clouds.yaml, which was
introduced by e7ffabe5bb .

Change-Id: I67347e0e548d9c24d2858ffd1ed0efa69b14055a
2022-07-02 18:59:19 +09:00