19 Commits

Author SHA1 Message Date
pkomarov
16032b26f7 Check pacemaker resources
Add API to fetch and parse 'pcs status' command result.

Change-Id: Iaaa4896a0fb390ba5ae59b0b1b87ed1664a4b4dd
2019-10-03 08:57:28 +02:00
pkomarov
08e976dac9 collect junit xml results
Change-Id: I380732a5f94023d99b946efdff8598ccfd7580ba
2019-09-30 15:00:43 +03:00
Zuul
d05aa842c2 Merge "add report collection for downstream jobs" 2019-09-30 06:08:09 +00:00
pkomarov
3e6880aa17 Fixes: ansible shell non needed quotes :
TASK [Install pip using get-pip.py] ********************************************
task path: /root/rhos-ci/jenkins/workspace/DFG-network-neutron-14_director-rhel-virthost-3cont_2comp-ipv4-vxlan-tobiko/infrared/plugins/tobiko/infrared/tasks/install.yml:1
Saturday 28 September 2019  17:31:57 +0300 (0:00:00.181)       0:00:13.996 ****
fatal: [undercloud-0]: FAILED! => {
    "changed": true,
    "cmd": "\"curl https://bootstrap.pypa.io/get-pip.py | python2\"",
    "delta": "0:00:00.011237",
    "end": "2019-09-28 10:31:58.071984",
    "rc": 127,
    "start": "2019-09-28 10:31:58.060747"
}

STDERR:

/bin/sh: curl https://bootstrap.pypa.io/get-pip.py | python2: No such file or directory

MSG:

non-zero return code

Change-Id: I280263782e846fb78dd51cdccfbb18aac2db3812
2019-09-29 16:05:40 +03:00
pkomarov
798a175ac9 ir plugin conditional python3 / 2 :
- use python_ver for pip install
- conditional tox<=2.5.0 for py <=2

Change-Id: I838234cd908382095708fae474d0204b6e13fdf3
2019-09-28 00:36:58 +03:00
pkomarov
99d1d5dabd add report collection for downstream jobs
Change-Id: I37511912c3cbde427fd8d41ea9caddd9e0a2cb22
2019-09-27 15:55:04 +03:00
Federico Ressi
2d6d086084 Remove configuration of flavor in InfraRed plugin
Change-Id: I58b4462bbe6fe1afb1a307256847ae29b2f39e14
2019-07-08 16:33:15 +02:00
Zuul
9ec8e520bb Merge "Use CirrosGlanceImageFixture to fetch CirrOS image on Infrared" 2019-07-04 13:52:41 +00:00
pkomarov
013a8cd3d5 Bug fix for : https://trello.com/c/Jjij9ktA/131-fix-tox-not-found-in-downstream-job
Change-Id: I62b7d99fc7edf75e91abe549ac33121b2f4c1452
2019-07-03 21:23:58 +03:00
Federico Ressi
f1867722dc Use CirrosGlanceImageFixture to fetch CirrOS image on Infrared
After a recent patchset[1], Tobiko is able to create CirrOS image
starting from an HTTP URL.

[1] https://review.opendev.org/#/c/666238/

Change-Id: I5985d31e794d98d29d4b9b1736b90e108ebfdae3
2019-07-03 12:03:36 +00:00
Federico Ressi
07ea422696 Implement Glance image management (setup and cleanup)
Change-Id: Ibba2b2ea4ca2e919aca3bbdde225db8f0b79450c
2019-06-27 07:46:03 +02:00
pkomarov
87bb3fc2be fix for typo when: test.refsec for https://trello.com/c/NOgGkEXH/123-add-infrared-plugin-option-gerritchangeid-to-select-specific-patch-for-ir-plugin
Change-Id: I7b01ad67395152c9b5fb1e02d0527dafa0074292
2019-06-26 15:26:20 +03:00
pkomarov
c0d8e38d03 allow specifying custom tobiko gerrit
refsec for checking out and testing a specific patch

Change-Id: I8e7b3ac16700fd28ef6f00577e822838713904d9
2019-06-25 05:12:15 +00:00
pkomarov
52e9f80a19 changes missed for: https://review.opendev.org/#/c/665966/13
Change-Id: I36a01632299fe2fa38a6e328ae5cad9eeb3b06ae
2019-06-24 09:44:32 +03:00
pkomarov
1c56bb1832 - allow rerunning of infrared tobiko configure tasks
- also set external net name according to osp version
- fix the string bug when using multiple words
with --tests : http://pastebin.test.redhat.com/773150
Change-Id: I1d217f179be13498bb5f21b777d39636292da835
2019-06-24 04:39:50 +00:00
pkomarov
a9e05e110c Fix :
/bin/sh: line 1: wget: command not found

Change-Id: I131763037b94e404839eccd4420fc7bdd092ce0b
2019-06-04 13:54:23 +03:00
pkomarov
ede95b9b42 Add infrared plugin to tobiko
Work is based on Arie's initial IR-tobiko plugin, thanks ...:)

Change-Id: I9dfa8a87e8ca8623d347b06e1818612ea66c5580
2019-05-20 08:27:27 +02:00
abregman
641b627a7a Add install command to IR plugin
* Allow users and CI pipelines to run tobiko install command
* Users can specify which environment to use

Also:

* Removed os-fault configuration generation - this is done
  by Tobiko itself
* Remove other unused tasks

Change-Id: Ieeba8d4094cb3764a2a2de99debbac3acd886180
2019-03-24 21:15:49 +02:00
abregman
160da96973 InfraRed Integration Skeleton
Make Tobiko an InfraRed plugin for simple and fine-grained
executions (both personal and in CI/CD environments).

This patch add a plugin spec, main entry playbook and several
tasks for basic config & run execution.

Change-Id: Ifcff4d79b4c920c28cc8170c4b8a8e9821c7b70d
2019-01-11 18:50:16 +02:00