<feed xmlns='http://www.w3.org/2005/Atom'>
<title>csa/devops/ansible-patches/openshift.git/inventory/libvirt, branch ands</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>http://suren.me/cgit/csa/devops/ansible-patches/openshift.git/atom?h=ands</id>
<link rel='self' href='http://suren.me/cgit/csa/devops/ansible-patches/openshift.git/atom?h=ands'/>
<link rel='alternate' type='text/html' href='http://suren.me/cgit/csa/devops/ansible-patches/openshift.git/'/>
<updated>2017-08-25T14:52:10+00:00</updated>
<entry>
<title>Remove unsupported playbooks and utilities</title>
<updated>2017-08-25T14:52:10+00:00</updated>
<author>
<name>Russell Teague</name>
<email>rteague@redhat.com</email>
</author>
<published>2017-08-24T17:30:20+00:00</published>
<link rel='alternate' type='text/html' href='http://suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=7da3f730a2e2525190dc2c42661275f62891650c'/>
<id>urn:sha1:7da3f730a2e2525190dc2c42661275f62891650c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>More toxification</title>
<updated>2017-01-10T16:45:30+00:00</updated>
<author>
<name>Jason DeTiberus</name>
<email>jdetiber@redhat.com</email>
</author>
<published>2016-12-21T22:15:42+00:00</published>
<link rel='alternate' type='text/html' href='http://suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=be949e0a0a2420205aaf80de514432a76596a854'/>
<id>urn:sha1:be949e0a0a2420205aaf80de514432a76596a854</id>
<content type='text'>
- Move pylint tests to tox
- Move yamllint tests to tox
- Create separate tox config (and setup.py) for root
- bump ansible requirement
- unify pylint config
- add docs
- remove git directory containing old testing tools
- install python-six if not present for openshift-facts
- add python-six as a dependency for openshift-ansible-utils
</content>
</entry>
<entry>
<title>update tests and flake8/pylint fixes</title>
<updated>2016-11-29T17:41:14+00:00</updated>
<author>
<name>Jason DeTiberus</name>
<email>jdetiber@redhat.com</email>
</author>
<published>2016-11-28T20:32:46+00:00</published>
<link rel='alternate' type='text/html' href='http://suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=cef42e2541f7ddeaf284b1350eed7f4e46234fe9'/>
<id>urn:sha1:cef42e2541f7ddeaf284b1350eed7f4e46234fe9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace deprecated sudo with become.</title>
<updated>2016-04-25T19:25:08+00:00</updated>
<author>
<name>Andrew Butcher</name>
<email>abutcher@redhat.com</email>
</author>
<published>2016-04-25T18:06:38+00:00</published>
<link rel='alternate' type='text/html' href='http://suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=a5386b0f51a2b20f0b5c382663bb5827438da437'/>
<id>urn:sha1:a5386b0f51a2b20f0b5c382663bb5827438da437</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Removes hardcoded python2</title>
<updated>2015-08-06T00:36:17+00:00</updated>
<author>
<name>John T Skarbek</name>
<email>jtslear@gmail.com</email>
</author>
<published>2015-08-06T00:33:33+00:00</published>
<link rel='alternate' type='text/html' href='http://suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=598d9355d0ae4088f6afb11a1a12821efd0939f5'/>
<id>urn:sha1:598d9355d0ae4088f6afb11a1a12821efd0939f5</id>
<content type='text'>
* replaces the hard coded items in favor of pulling a users environment
* resolves #383
* Feedback and/or additional testing is more than welcome
</content>
</entry>
<entry>
<title>Fix the remaining pylint warnings</title>
<updated>2015-05-22T06:56:53+00:00</updated>
<author>
<name>Lénaïc Huard</name>
<email>lhuard@amadeus.com</email>
</author>
<published>2015-05-22T06:56:53+00:00</published>
<link rel='alternate' type='text/html' href='http://suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=5c1c05b486b618fa0e44b758b9a6a7269a8b0ac3'/>
<id>urn:sha1:5c1c05b486b618fa0e44b758b9a6a7269a8b0ac3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix some of the pylint warnings</title>
<updated>2015-05-22T06:42:01+00:00</updated>
<author>
<name>Lénaïc Huard</name>
<email>lhuard@amadeus.com</email>
</author>
<published>2015-05-20T12:09:28+00:00</published>
<link rel='alternate' type='text/html' href='http://suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=716bc587e72980119eff9c3b124777f3d300c2c3'/>
<id>urn:sha1:716bc587e72980119eff9c3b124777f3d300c2c3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[libvirt cluster] Use net-dhcp-leases to find VMs’ IPs</title>
<updated>2015-05-22T06:42:01+00:00</updated>
<author>
<name>Lénaïc Huard</name>
<email>lhuard@amadeus.com</email>
</author>
<published>2015-05-20T11:26:04+00:00</published>
<link rel='alternate' type='text/html' href='http://suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=4e8f6d1923782e7aef863441f7c1434ca1029164'/>
<id>urn:sha1:4e8f6d1923782e7aef863441f7c1434ca1029164</id>
<content type='text'>
Query libvirt’s DHCP leases rather than inspecting the host’s ARP cache
to find the VMs’ IPs.
</content>
</entry>
<entry>
<title>Add ansible_connection=local to localhost in inventory</title>
<updated>2015-04-24T16:15:01+00:00</updated>
<author>
<name>Jason DeTiberus</name>
<email>jdetiber@redhat.com</email>
</author>
<published>2015-04-24T16:14:36+00:00</published>
<link rel='alternate' type='text/html' href='http://suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=ba6108268fac802817cda3d3cb420c3b77e70f1f'/>
<id>urn:sha1:ba6108268fac802817cda3d3cb420c3b77e70f1f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix libvirt metadata used to store ansible tags</title>
<updated>2015-04-15T22:30:04+00:00</updated>
<author>
<name>Lénaïc Huard</name>
<email>lenaic@lhuard.fr</email>
</author>
<published>2015-04-15T22:26:45+00:00</published>
<link rel='alternate' type='text/html' href='http://suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=aaee17b0fc8feddf31d4e5b46a1bfe2f8dabf16b'/>
<id>urn:sha1:aaee17b0fc8feddf31d4e5b46a1bfe2f8dabf16b</id>
<content type='text'>
According to https://libvirt.org/formatdomain.html#elementsMetadata , the `metadata` tag can contain only one top-level element per namespace.
Because of that, libvirt stored only the `deployment-type-{{ deployment_type }}` tag.
As a consequence, the dynamic inventory reported no `env-{{ cluster }}` group.
This is problematic for the `terminate.yml` playbook which iterates over `groups['tag-env-{{ cluster-id }}]`
The symptom is that `oo_hosts_to_terminate` was not defined.
In the end, as Ansible couldn’t iterate on the value of `groups['oo_hosts_to_terminate']`, it iterated on its letters:
```
TASK: [Destroy VMs] ***********************************************************
failed: [localhost] =&gt; (item=['g', 'destroy']) =&gt; {"failed": true, "item": ["g", "destroy"]}
msg: virtual machine g not found
failed: [localhost] =&gt; (item=['g', 'undefine']) =&gt; {"failed": true, "item": ["g", "undefine"]}
msg: virtual machine g not found
failed: [localhost] =&gt; (item=['r', 'destroy']) =&gt; {"failed": true, "item": ["r", "destroy"]}
msg: virtual machine r not found
failed: [localhost] =&gt; (item=['r', 'undefine']) =&gt; {"failed": true, "item": ["r", "undefine"]}
msg: virtual machine r not found
failed: [localhost] =&gt; (item=['o', 'destroy']) =&gt; {"failed": true, "item": ["o", "destroy"]}
msg: virtual machine o not found
failed: [localhost] =&gt; (item=['o', 'undefine']) =&gt; {"failed": true, "item": ["o", "undefine"]}
msg: virtual machine o not found
failed: [localhost] =&gt; (item=['u', 'destroy']) =&gt; {"failed": true, "item": ["u", "destroy"]}
msg: virtual machine u not found
failed: [localhost] =&gt; (item=['u', 'undefine']) =&gt; {"failed": true, "item": ["u", "undefine"]}
msg: virtual machine u not found
failed: [localhost] =&gt; (item=['p', 'destroy']) =&gt; {"failed": true, "item": ["p", "destroy"]}
msg: virtual machine p not found
failed: [localhost] =&gt; (item=['p', 'undefine']) =&gt; {"failed": true, "item": ["p", "undefine"]}
msg: virtual machine p not found
failed: [localhost] =&gt; (item=['s', 'destroy']) =&gt; {"failed": true, "item": ["s", "destroy"]}
msg: virtual machine s not found
failed: [localhost] =&gt; (item=['s', 'undefine']) =&gt; {"failed": true, "item": ["s", "undefine"]}
msg: virtual machine s not found
failed: [localhost] =&gt; (item=['[', 'destroy']) =&gt; {"failed": true, "item": ["[", "destroy"]}
msg: virtual machine [ not found
failed: [localhost] =&gt; (item=['[', 'undefine']) =&gt; {"failed": true, "item": ["[", "undefine"]}
msg: virtual machine [ not found
failed: [localhost] =&gt; (item=["'", 'destroy']) =&gt; {"failed": true, "item": ["'", "destroy"]}
msg: virtual machine ' not found
failed: [localhost] =&gt; (item=["'", 'undefine']) =&gt; {"failed": true, "item": ["'", "undefine"]}
msg: virtual machine ' not found
failed: [localhost] =&gt; (item=['o', 'destroy']) =&gt; {"failed": true, "item": ["o", "destroy"]}
msg: virtual machine o not found
failed: [localhost] =&gt; (item=['o', 'undefine']) =&gt; {"failed": true, "item": ["o", "undefine"]}
msg: virtual machine o not found
etc…
```
</content>
</entry>
</feed>
