Commit Graph

17 Commits

Author SHA1 Message Date
Ghanshyam Mann 72ea117f61 Retire Tripleo: remove repo content
TripleO project is retiring
- https://review.opendev.org/c/openstack/governance/+/905145

this commit remove the content of this project repo

Change-Id: Ic549bdcc76a5e12a0104143fbe79fd0db2c866b0
2024-02-24 11:44:35 -08:00
Sorin Sbarnea cc82349363 Adapt code to newer code style (linters)
Makes those files conformant with current linting rules and avoids
linting errors when we need to toch them again.

Previous doing "pre-commit run -a" uncovered these errors, now is no
longer reporting any other errors.

Change-Id: Ie4cf229c8f11c2b55b323eac23c89483b26d3781
2018-11-16 12:42:51 +00:00
Sagi Shnaidman 6d9fdaa2c8 Revert "Revert "Rerun inventory before collect-logs""
This reverts commit 44ee46e826.

'timeout' in deploy command doesn't work always and we can't
realy on it that it will stop deployment in time and allow
openstack nodes to be added to inventory.

Change-Id: I744aea580d9f22a930a86772847c9665c012dd2a
Related-Bug: #1743436
2018-01-15 18:28:53 +00:00
Sagi Shnaidman 44ee46e826 Revert "Rerun inventory before collect-logs"
This reverts commit 17525035d2.

No need to run it after https://review.openstack.org/#/c/528565/
landed.

Change-Id: Ibf34b2ced53636b3d96e05a0a8de7dd78ade3869
2018-01-09 07:28:44 +02:00
Martin André 24e801ad13 Ignore ansible errors occuring during log collection
It is possible the tripleo-inventory role fails, for instance if the
undercloud install didn't go as planned and it couldn't generate
a stackrc.

Ignore errors to collect at least some amount of logs.

Change-Id: I5a4d3e67a7144e76987859fe8aae33fe809d32e4
2018-01-08 18:40:15 +01:00
Zuul 99db4a68d9 Merge "Rerun inventory before collect-logs" 2018-01-06 16:06:57 +00:00
Wes Hayutin 794dd2fe82 do not dump_vars on localhost
This is causing sudo errors on jenkins slaves

Closes-Bug: #1739654
Change-Id: I9cdf44c16a2b658134d8a57033b95b775e9117fc
2018-01-04 15:11:11 +00:00
James Slagle 17525035d2 Rerun inventory before collect-logs
If the overcloud deploy times out, we don't currently get logs from
overcloud nodes because we never got to the task that adds them to the
ansible inventory.

This patch addresses that by always rebuilding the dynamic inventory as
the first task in the collect-logs playbook.

Partial-Bug:# 1738038

Change-Id: I7bf7733ed93179d15f287513d8031223d3966cc1
2017-12-15 07:30:32 -05:00
Wes Hayutin eb6950ef2c dump out all the variables used
Dump out all the variables found by ansible

Closes-Bug: #1736769
Change-Id: I4c74e9a98d1d4485de19e5d76276af3fca0399c4
2017-12-14 09:38:45 -05:00
Sagi Shnaidman 356bc31545 Exclude 127.0.0.2 from logs collection as localhost
If running quickstart on localhost, we use usually 127.0.0.2 IP
address instead of "localhost". We need to exclude it from logs
collection exactly as localhost. Logs from local host will be
collected according to its role (virthost, undercloud, etc).

Change-Id: I53483fcb1ecc2b548e41a1ac501660392f7661e9
2017-11-12 14:01:26 +00:00
Attila Darazs 2bb8b177bc collect-logs: run in two stages
We should run and publish a minimal sets of files even without any host,
when we failed the run before inventory generation.

This change separates the collection step that runs on all hosts except
localhost, and the rest running on localhost. Running on localhost
always succeeds, even with an empty inventory.

Also add a log environment file for local collect-logs.sh runs that
does not upload logs.

Change-Id: I48d07d42be879026fb80afd73835484770006f85
2016-12-06 15:14:16 +01:00
Attila Darazs 1f47f3afd9 Correct role renames in the imported playbooks
Change-Id: I5d6d7759c12fa8a95a4b33204b95670b2291df3d
2016-11-22 16:49:04 +01:00
Harry Rybacki 8ac2378226 Split role call into logical segements
In preperation for integrating tripleo-documentor[1] funtionality into
tripleo-collect-logs, it makes sense to break apart the collect and
publish sections of the role. This keeps things neat and distinct.

[1] - https://github.com/HarryRybacki/tripleo-documentor

Change-Id: I165dc823ae0dd489a085c1bb7c00871db2d988ba
2016-08-15 15:43:17 -04:00
Attila Darazs d207e02cba Gather logs from the virthost
Also match the settings with quickstart's current one.

Change-Id: I764a700eb00bdfa6acda3b9091d9b4473277d6e2
2016-06-13 17:43:02 +02:00
Attila Darazs 056a23e11e Do not rebuild inventory before log collection
Also small fixes in the README.md file.

Change-Id: Ie8dbe3bb66cb8dc6c7ce1f845e5367f0754d4952
2016-06-13 15:59:24 +02:00
Attila Darazs 36e4cb8f7a Change setup.cfg paths
Change-Id: I0e4ee13d1227a99c9e6494531b216183364b92a8
2016-06-09 16:27:09 +02:00
Attila Darazs d2c6a88680 Move and rename configs and playbooks
Also install them in proper default locations.

Change-Id: I22ee3353baa370eb2a478960d50f2adb7c6a6760
2016-06-01 16:06:47 +02:00