00861b75a084e6fe1fff3cceed8f869e54b34ef0
Commit Graph

68 Commits

Author SHA1 Message Date
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
Zuul
a8b73a8ff2 Merge "Ubuntu: Capture /etc/apt" 2022年06月28日 14:45:01 +00:00
Zuul
e9396c49da Merge "Use clouds.yaml to get keystone resources" 2022年06月28日 14:30:07 +00:00
Zuul
d575d877af Merge "Disable the default libvirt network" 2022年06月28日 14:25:48 +00:00
Takashi Kajinami
e7ffabe5bb Use clouds.yaml to get keystone resources
... to use the system-admin user who has access to these API even when
SRBAC is enforced in Keystone.
Depends-on: https://review.opendev.org/806474
Change-Id: If796fd83c4d1ba47b290997515c2eab74ce1c29a
2022年06月27日 09:24:13 +09:00
Takashi Kajinami
198c00cf16 Remove control characters from systemctl command output
Change-Id: Idca394bca37bb3d167ec7c3a79a41b699c551172
2022年06月26日 14:12:59 +00:00
Takashi Kajinami
1b1c72a9ea Disable the default libvirt network
... using the new class added to the puppet-nova, because it is not
required in OpenStack deployment.
Depends-on: https://review.opendev.org/847677
Change-Id: Ic538ec9d9758ef70e3edd852bfbbcf42f3a4dc1a
2022年06月26日 21:52:10 +09:00
Takashi Kajinami
e7d8263b27 Ubuntu: Capture /etc/apt
... to review repository settings.
Change-Id: I96306b48c130503e1db32bff0036dc429a6bdb9f
2022年06月08日 16:45:13 +09:00
Takashi Kajinami
6f090cc74d Add a new scenario to test ml2+ovn
This introduces a new scenario (005) to integration tests to cover
ml2+ovn, because ml2+ovn is now the default plugin/mechanism driver
used by Neutron.
Change-Id: I15b52f34c6bff9aa68e9abbecc261af50d59e393
2022年06月06日 15:48:08 +09:00
Takashi Kajinami
528479f0f5 Capture list of api extensions enabled
Change-Id: I88564a09a782a31d3934b71fdf20224bcd3efd40
2022年06月06日 00:33:41 +00:00
Takashi Kajinami
3fd0d3edcb Capture openstack resources as part of logs
This change ensures more openstack resources like services are captured
after tests, so that we can review status of deployment more in detail.
Change-Id: I1aef98da30b559d2e2e772e4f9601b09ff5f9238
2022年05月13日 16:24:30 +09:00
Tobias Urdin
8df05be65b Use --long when saving keystone-resources log
Change-Id: I91c532a839951d0ce684bfc864b602be22b75ff4
2022年04月11日 07:16:16 +00:00
Zuul
dc272f4dd5 Merge "Capture rabbitmq config files in CI" 2022年03月08日 01:02:10 +00:00
Takashi Kajinami
7da14bf625 Ensure config/log files of mysql/mariadb are copied
Change-Id: I2e151ba62b2ab084fa19e02416f55edf13c5854f
2022年02月23日 03:58:01 +00:00
Takashi Kajinami
9a9e288254 Capture rabbitmq config files in CI
Change-Id: I5cfa0fb39085af2da0a17e5249272c9bdb83a49c
2022年02月22日 17:16:19 +00:00
Zuul
d65f7b5f45 Merge "Capture dnf log" 2022年02月20日 11:58:06 +00:00
Zuul
6f8abd6e0a Merge "CentOS: Capture yum repository files" 2022年02月08日 18:31:32 +00:00
Takashi Kajinami
7fa5072e28 Capture redis.conf
... so that we can check behavior of puppet-redis.
Change-Id: I808c9e927d8f52f596292d3525d00d7429bb87e2
2022年02月05日 23:38:23 +09:00
Takashi Kajinami
8c220d00d4 CentOS: Capture yum repository files
When some of the repositories are not accessible, repository list is
not properly captured and that makes it difficult to find out which
repository is wrong or has an issue.
This change ensures the repository configuration files are captured
as part of logs, for easy reference.
Change-Id: I9eae6425761b9a93ab0f44d4cb42d93a1add6b40
2022年02月05日 17:48:01 +09:00
Takashi Kajinami
37bfcfca77 Capture dnf log
Change-Id: I1ef682f4a0d327ee814a3f75dd66829f92545f80
2022年02月04日 21:48:29 +09:00
Takashi Kajinami
70accb1086 Capture network information in integration/litmus jobs
This change adds output of the following three commands so that we
can check network setup.
 $ sudo ip -d address
 $ sudo brctl show
 $ sudo ovs-vsctl show
Change-Id: Ic17dbf2eec527eb6a62ba9c21fab66dc98554989
2022年01月14日 11:59:29 +09:00
Zuul
e156d80ebb Merge "Gather config files for libvirt" 2021年07月19日 08:29:47 +00:00
Takashi Kajinami
d1e9389e3f Gather config files for libvirt
This change ensures that config files for the libvirt service is
gathered when copying log files so that we can debug any issue with
the libvirt service in detail.
Change-Id: I05bda8921a97e2c3dad2ffcb3784cd43b7f6654b
2021年07月07日 23:17:09 +00:00
Takashi Kajinami
b0d2e00979 CentOS: Get list of dnf modules
... so that we can check which modules are enabled in CI.
Change-Id: I2e01e3a8da9a0d082ad44c1834083cbb3e64b33b
2021年05月25日 21:15:39 +09:00
Takashi Kajinami
7e9ad193ad Gather cron job definitions
Some modules like puppet-nova configure cron jobs to purge deleted
items from database. This change ensures that cron job definitions are
gathered as part of CI results.
Change-Id: Iaab678c1582ac67d890fcba06f7ca3790dc88106
2021年05月23日 22:28:45 +09:00
Takashi Kajinami
a89ca320aa Capture status of sustemd services
This change allows us to check status of each systemd services in logs
so that we can debug any issues with service start/stop.
Change-Id: I8657f6733cbd397c52b3f7f7de9017c34e1ed2e0
2021年01月23日 14:43:58 +00:00
7be46c1a52 Handle opendev.org sources in copy_logs.sh
[1] updated sources to use opendev.org instead of
github.com, let's handle opendev.org sources too
in copy_logs.sh. Without this services logs are not
collected.
[1] https://review.opendev.org/q/topic:fix-source-metadata
Change-Id: Ie25a35422a0ca5e00d2085bf37e521106b2c11c2
2020年12月02日 18:43:37 +05:30
Takashi Kajinami
72358b3306 Use sudo to gather netstat/ps results
so that we can capture whole infomration.
Change-Id: Ibacded7599f26f09e50813c7406728a01365abe7
2020年08月07日 15:28:29 +09:00
Takashi Kajinami
3a3aa790ef Refactor installation of puppet packages
Change-Id: I74e3b26dfbd5131eb219810a1418e085a7d41a81
2020年05月11日 11:23:27 +09:00
f3a8c9314c Remove explicit compress of log files
Explicit compress is not needed post [1], explicit
compress is making log files not browsable.
[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-January/011875.html
Change-Id: I480391556e809b9d2f2bc693453f0fff2be9b0ab
2020年02月11日 17:34:20 +05:30
Tobias Urdin
a5b22a67fe Use hiera v5 format
Use hiera version 5 instead of version 3 which is
deprecated and outputs a warning.
Change-Id: I26ee3329aa75109625476d6c355e82fed2c050e6
2019年01月15日 14:49:57 +01:00
e931cd247a Allow running poi scenarios on Fedora
Change-Id: I409c11f31d4b82ef9a3d6ba20e2dd045156d66a9
2018年06月13日 19:07:13 +05:30
Tony Breeds
b135fbf95c Add ironic-inspector and iptables to captured logs
Add iptables output so we can validate the firewall config.
Also if ironic is enabled there is a good chnace that we also want to
log the ironic-inspector config/logs
Change-Id: Ia363e7eca12157e0b15b29b4d517c75e07d596de
2018年01月31日 10:37:49 +11:00
Alex Schultz
7ceff2c696 Check for /var/log/audit
The audit.log file may not be readable by the user running the
copy_logs.sh script. Let's check that the directory exists and then copy
the file.
Change-Id: I25247dd8049b8ad4f055ca4e3d6e4b3dfc9ed97b
2017年10月30日 17:11:55 -06:00
Andrew Smith
c82f5689cb Add support for dual oslo.messaging backend configuration
Introduce configuration parameters to specify the oslo.messaging
rpc or notification backend as one of rabbit, amqp. The default
config is to use rabbit broker for both rpc and notification. Selection
of amqp for rpc will use brokerless qpid-dispatch router.
This patch:
* Adds notification_transport_url parameter across services where needed
* Adds rpc and notification parameters to config
* Adds qdr for rpc amqp1 configuration
* Modifies scenario001 for dual messaging backends
* supports ssl config
Depends-On: Id6ebc4ce8b0ffdb0be92a758dbf89c84c3274725
Change-Id: Ia2a79a2e1482f6f72426bc81c8e6d2a04cb211e3
2017年08月27日 10:44:31 -04:00
Emilien Macchi
57aa44502f Generate Tempest results in HTML
1) Generate HTML page from Tempest results, using subunit2html
2) Compress and expose both subunit & HTML results into logdir
Change-Id: I111eb8417428ce2027d21ccdcdfd10dc30d509ac
2017年07月21日 19:43:00 +00:00
Emilien Macchi
2db2279b22 copy_logs: remove stackviz support (temp)
Infra removed stackviz from the images, we now need to deploy it
manually and devstack-gate provides a bash function to do it, but we
don't use it yet. Until then, let's remove the bits to not block CI.
Change-Id: If692ea758e0cacb621b84499e27c585755ee9718
2017年06月01日 15:25:14 +02:00
Emilien Macchi
66aa54f6cb copy_logs: include redis logs
Include redis logs in log collection so we can debug Redis when
something goes wrong with the service.
Change-Id: I8e5d444f8cabb437da6f4285e1d2804ea3938162
2017年05月18日 11:06:34 -04:00
Emilien Macchi
f0b44a2815 copy_logs: save gem list output
It would be helpful when debugging beaker or p-o-i jobs to have the list
of gems so we can easily compare with previous CI runs and make a diff
very quickly.
Change-Id: I6801c18fe345378b15b5f5be9ff0c5e9124bfa1a
2017年03月24日 08:25:43 -04:00