<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/ironic-python-agent.git/ironic_python_agent/tests, 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>[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>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>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>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>
<entry>
<title>Support psutil 5.0.1</title>
<updated>2017-01-24T23:09:09+00:00</updated>
<author>
<name>Mario Villaplana</name>
<email>mario.villaplana@gmail.com</email>
</author>
<published>2017-01-24T22:59: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=e4919e04aa250b51e351c4e9dbfb3761f5f93a70'/>
<id>e4919e04aa250b51e351c4e9dbfb3761f5f93a70</id>
<content type='text'>
An upper-constraints update to psutil caused IPA to start using psutil
5.0.1. We had a hard-coded assumption that psutil would be major version
1 or 2. This allows us to use the updated psutil and attempts to simply
fail gracefully if an unrecognized psutil version is used.

Change-Id: Ibe072440159561b34a29b478d955876e5fb7f103
Closes-Bug: 1659137
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
An upper-constraints update to psutil caused IPA to start using psutil
5.0.1. We had a hard-coded assumption that psutil would be major version
1 or 2. This allows us to use the updated psutil and attempts to simply
fail gracefully if an unrecognized psutil version is used.

Change-Id: Ibe072440159561b34a29b478d955876e5fb7f103
Closes-Bug: 1659137
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Mock out get_wildcard_address"</title>
<updated>2017-01-24T12:21:46+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2017-01-24T12:21: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=2d21082cd5a1a9919c54637310e264f62887f024'/>
<id>2d21082cd5a1a9919c54637310e264f62887f024</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Reboot and Poweroff fails with coreos IPA image"</title>
<updated>2017-01-20T22:53:36+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2017-01-20T22:53:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/ironic-python-agent.git/commit/?id=465687940bafc8bb262555744c4712c0c436c1ce'/>
<id>465687940bafc8bb262555744c4712c0c436c1ce</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Reboot and Poweroff fails with coreos IPA image</title>
<updated>2017-01-20T20:55:12+00:00</updated>
<author>
<name>Annie Lezil</name>
<email>annie.lezil@gmail.com</email>
</author>
<published>2016-12-19T19:09:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/ironic-python-agent.git/commit/?id=20dc04e5e2b23f888ff79a3873d35fd4c170c8d8'/>
<id>20dc04e5e2b23f888ff79a3873d35fd4c170c8d8</id>
<content type='text'>
The CoreOS IPA images do not support poweroff/reboot due to running in a
chroot. For this case, we fall back to forcing poweroff or reboot via
sysrq commands

Change-Id: I75d68b6308beba299d043e43a5fa1671b6ef3ada
Closes-Bug: #1628367
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The CoreOS IPA images do not support poweroff/reboot due to running in a
chroot. For this case, we fall back to forcing poweroff or reboot via
sysrq commands

Change-Id: I75d68b6308beba299d043e43a5fa1671b6ef3ada
Closes-Bug: #1628367
</pre>
</div>
</content>
</entry>
</feed>
