<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/ironic-python-agent.git/ironic_python_agent, branch stable/ocata</title>
<subtitle>opendev.org: openstack/ironic-python-agent.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/ironic-python-agent.git/'/>
<entry>
<title>Merge "[LLDP] Skip NICs that say they are ready but are unreadable." into stable/ocata</title>
<updated>2018-06-27T14:09:01+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.openstack.org</email>
</author>
<published>2018-06-27T14:09:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/ironic-python-agent.git/commit/?id=b66d5aed3652452473dcd3d6747068081b34968a'/>
<id>b66d5aed3652452473dcd3d6747068081b34968a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[LLDP] Skip NICs that say they are ready but are unreadable.</title>
<updated>2018-05-24T10:29:27+00:00</updated>
<author>
<name>Sam Betts</name>
<email>sam@code-smash.net</email>
</author>
<published>2017-02-15T16:31:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/ironic-python-agent.git/commit/?id=3538cd6bc67e1ab8d904a5f96ec729ba50d5316d'/>
<id>3538cd6bc67e1ab8d904a5f96ec729ba50d5316d</id>
<content type='text'>
While listening for LLDP packets, if one of the sockets marks itself as
ready to read then our code will try to read data from that socket, but
if something goes wrong while reading that data then it causes IPA to
raise out of the loop skipping any other of the other NICs which might
have worked. This patch adds code to catch and LOG any exception that is
raised while we are trying to read data from one of the sockets so that
we can proceed to process all the NICs.

Conflicts:
	ironic_python_agent/tests/unit/test_netutils.py

Change-Id: I8546097f5ae23755a5fdb448902007a2d823b7bf
Closes-Bug: #1665025
(cherry picked from commit b536fbba616d958e58b110c8f86ea569f8834d7c)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While listening for LLDP packets, if one of the sockets marks itself as
ready to read then our code will try to read data from that socket, but
if something goes wrong while reading that data then it causes IPA to
raise out of the loop skipping any other of the other NICs which might
have worked. This patch adds code to catch and LOG any exception that is
raised while we are trying to read data from one of the sockets so that
we can proceed to process all the NICs.

Conflicts:
	ironic_python_agent/tests/unit/test_netutils.py

Change-Id: I8546097f5ae23755a5fdb448902007a2d823b7bf
Closes-Bug: #1665025
(cherry picked from commit b536fbba616d958e58b110c8f86ea569f8834d7c)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix for fatal error when GPT was used and only MBR was cleaned</title>
<updated>2018-05-19T18:14:41+00:00</updated>
<author>
<name>Olivier Bourdon</name>
<email>obourdon@opennext.io</email>
</author>
<published>2018-05-17T10:50:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/ironic-python-agent.git/commit/?id=25cfa3a80a0a6204cc0c98996926cae972a10057'/>
<id>25cfa3a80a0a6204cc0c98996926cae972a10057</id>
<content type='text'>
You can generate this error if after having provisioned a node
using GPT partitioning, you clean its MBR using say
dd if=/dev/zero bs=1024 count=1 of=/dev/sda
and then cleanup all Ironic/Bifrost informations to get it
reprovisioned.
In this case sgdisk -Z returns an error and last_error field
in Ironic contains:
Error writing image to device: Writing image to device
        /dev/sda failed with exit code 2
Caution: invalid main GPT header, but valid backup;
        regenerating main header\nfrom backup!\n
        \nInvalid partition data!\

Change-Id: Ib617737fff5e40cb376edda0232e0726d9c71231
(cherry picked from commit 5fcf3f066ccdbcc081ae35ab25f1c18737b94778)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
You can generate this error if after having provisioned a node
using GPT partitioning, you clean its MBR using say
dd if=/dev/zero bs=1024 count=1 of=/dev/sda
and then cleanup all Ironic/Bifrost informations to get it
reprovisioned.
In this case sgdisk -Z returns an error and last_error field
in Ironic contains:
Error writing image to device: Writing image to device
        /dev/sda failed with exit code 2
Caution: invalid main GPT header, but valid backup;
        regenerating main header\nfrom backup!\n
        \nInvalid partition data!\

Change-Id: Ib617737fff5e40cb376edda0232e0726d9c71231
(cherry picked from commit 5fcf3f066ccdbcc081ae35ab25f1c18737b94778)
</pre>
</div>
</content>
</entry>
<entry>
<title>Mock _wait_for_interface in test_run_with_sleep</title>
<updated>2017-10-18T15:27:45+00:00</updated>
<author>
<name>Javier Pena</name>
<email>jpena@redhat.com</email>
</author>
<published>2017-10-18T08:28:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/ironic-python-agent.git/commit/?id=5707c35b4186395e9dfb7818656d8e4929f0613c'/>
<id>5707c35b4186395e9dfb7818656d8e4929f0613c</id>
<content type='text'>
When running unit tests in an environment without network access,
for example in a packaging env, test_run_with_sleep fails with a
timeout trying to list the network interfaces [1].

Mocking the _wait_for_interface call, as it is done currently on
master and stable/pike, fixes the issue. The original commit is
fdcb0922a5c4a4ecbb8cb1b307c6c750990699ff; this patch only grabs
the one mock from the original change.

[1] - See https://trunk.rdoproject.org/centos7-ocata/8a/70/8a70c4d575c3b5bef2debde8512ed3200ccc8d4c_aa5406af/rpmbuild.log

Change-Id: I5010ea78b4794afb72f86762b7e6fc31c1540436
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When running unit tests in an environment without network access,
for example in a packaging env, test_run_with_sleep fails with a
timeout trying to list the network interfaces [1].

Mocking the _wait_for_interface call, as it is done currently on
master and stable/pike, fixes the issue. The original commit is
fdcb0922a5c4a4ecbb8cb1b307c6c750990699ff; this patch only grabs
the one mock from the original change.

[1] - See https://trunk.rdoproject.org/centos7-ocata/8a/70/8a70c4d575c3b5bef2debde8512ed3200ccc8d4c_aa5406af/rpmbuild.log

Change-Id: I5010ea78b4794afb72f86762b7e6fc31c1540436
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove hard-coded path to grub binaries</title>
<updated>2017-09-26T10:25:29+00:00</updated>
<author>
<name>Vasyl Saienko</name>
<email>vsaienko@mirantis.com</email>
</author>
<published>2017-09-14T13:05:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/ironic-python-agent.git/commit/?id=8a70c4d575c3b5bef2debde8512ed3200ccc8d4c'/>
<id>8a70c4d575c3b5bef2debde8512ed3200ccc8d4c</id>
<content type='text'>
Use PATH variable to find grub binaries.

Closes-Bug: 1717255

Change-Id: Ic6a2bafdc87e33c4e1c4534fa355f995c824b945
(cherry picked from commit db5272cfea9fa894675690d54b7d042cb3d01df3)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use PATH variable to find grub binaries.

Closes-Bug: 1717255

Change-Id: Ic6a2bafdc87e33c4e1c4534fa355f995c824b945
(cherry picked from commit db5272cfea9fa894675690d54b7d042cb3d01df3)
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Configure and use SSL-related requests options"</title>
<updated>2017-02-07T09:57:49+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2017-02-07T09:57:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/ironic-python-agent.git/commit/?id=fd7f10b993ef5262e76d604b38cfad25aed2266d'/>
<id>fd7f10b993ef5262e76d604b38cfad25aed2266d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove switch_port_descr and switch_chassis_descr</title>
<updated>2017-02-02T15:01:04+00:00</updated>
<author>
<name>Ramamani Yeleswarapu</name>
<email>ramamani.yeleswarapu@intel.com</email>
</author>
<published>2017-02-01T22:32:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/ironic-python-agent.git/commit/?id=73f316d804abff4cfbe45bf01aa4c81c2450ff2f'/>
<id>73f316d804abff4cfbe45bf01aa4c81c2450ff2f</id>
<content type='text'>
Removes two reserved fields ``switch_port_descr`` and
``switch_chassis_descr`` that were deprecated in the Newton cycle.

Change-Id: Icd2251af63a69d60d1e72eddf651a168fdae94fa
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Removes two reserved fields ``switch_port_descr`` and
``switch_chassis_descr`` that were deprecated in the Newton cycle.

Change-Id: Icd2251af63a69d60d1e72eddf651a168fdae94fa
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Remove compatibility with old bash-based introspection ramdisk"</title>
<updated>2017-01-30T21:58:28+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2017-01-30T21:58:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/ironic-python-agent.git/commit/?id=b787b01f6cfd355ec2f1d97207bc260225bd7c67'/>
<id>b787b01f6cfd355ec2f1d97207bc260225bd7c67</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a comment about the catch-all exception for psutil</title>
<updated>2017-01-27T21:37:34+00:00</updated>
<author>
<name>John L. Villalovos</name>
<email>john.l.villalovos@intel.com</email>
</author>
<published>2017-01-27T21:37:34+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/ironic-python-agent.git/commit/?id=2334605789fefc8770e03c23d7c45ec9a5875e09'/>
<id>2334605789fefc8770e03c23d7c45ec9a5875e09</id>
<content type='text'>
If there is a problem with psutil failing we have a catch-all
exception. Explain reasoning for the catch-all exception.

Change-Id: Id2e22e4ff93d96c795f474e72a684dfe3db87a58
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If there is a problem with psutil failing we have a catch-all
exception. Explain reasoning for the catch-all exception.

Change-Id: Id2e22e4ff93d96c795f474e72a684dfe3db87a58
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove support for older psutil versions</title>
<updated>2017-01-26T22:28:51+00:00</updated>
<author>
<name>Jay Faulkner</name>
<email>jay@jvf.cc</email>
</author>
<published>2017-01-25T16:52:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/ironic-python-agent.git/commit/?id=b7ae4995a751084c200a33367df57c09c61bc439'/>
<id>b7ae4995a751084c200a33367df57c09c61bc439</id>
<content type='text'>
Global requirements was recently updated to force psutil=&gt;3.0.1. This
patch removes support for older versions of psutil as well as changing
to opportunistically attempt to work if a version &gt;5 is released but
doesn't change the interface we use.

Change-Id: I1f7fab33fd275fb8b5cd7704dc13375402756d06
Related-bug: #1659137
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Global requirements was recently updated to force psutil=&gt;3.0.1. This
patch removes support for older versions of psutil as well as changing
to opportunistically attempt to work if a version &gt;5 is released but
doesn't change the interface we use.

Change-Id: I1f7fab33fd275fb8b5cd7704dc13375402756d06
Related-bug: #1659137
</pre>
</div>
</content>
</entry>
</feed>
