<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/ironic-python-agent.git/ironic_python_agent/hardware.py, branch 6.4.2</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>Make mdadm a soft requirement</title>
<updated>2020-11-24T07:58:23+00:00</updated>
<author>
<name>Dmitry Tantsur</name>
<email>dtantsur@protonmail.com</email>
</author>
<published>2020-11-20T16:07:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/ironic-python-agent.git/commit/?id=4fd3f25cd64e151fd5a363ab5b217b5dcdd406a0'/>
<id>4fd3f25cd64e151fd5a363ab5b217b5dcdd406a0</id>
<content type='text'>
No point in requiring it for deployments that don't use software RAID.

Change-Id: I8b40f02cc81d3154f98fa3f2cbb4d3c7319291b8
(cherry picked from commit ab8dee03867a5868bc1ec99f45481313bab88660)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No point in requiring it for deployments that don't use software RAID.

Change-Id: I8b40f02cc81d3154f98fa3f2cbb4d3c7319291b8
(cherry picked from commit ab8dee03867a5868bc1ec99f45481313bab88660)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix vendor info retrieval for some versions of lshw</title>
<updated>2020-11-19T16:31:54+00:00</updated>
<author>
<name>Vladyslav Drok</name>
<email>vdrok@mirantis.com</email>
</author>
<published>2020-11-16T13:51:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/ironic-python-agent.git/commit/?id=31e9d0db8c1ea3f8f7dfe1328f7ab0b19325a363'/>
<id>31e9d0db8c1ea3f8f7dfe1328f7ab0b19325a363</id>
<content type='text'>
There is one more place that relies on lshw json output being a dict,
so let's fix the function that gets the dict rather than places it is
being used in.

Change-Id: Ia1c2c2e6a32c76ac0249e6a46e4cced18d6093a9
Task: 39527
Story: 2007588
(cherry picked from commit 3761a448009467dd342bc0cb3ca3b182969def42)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There is one more place that relies on lshw json output being a dict,
so let's fix the function that gets the dict rather than places it is
being used in.

Change-Id: Ia1c2c2e6a32c76ac0249e6a46e4cced18d6093a9
Task: 39527
Story: 2007588
(cherry picked from commit 3761a448009467dd342bc0cb3ca3b182969def42)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix physical memory calculation with new lshw</title>
<updated>2020-11-16T13:47:05+00:00</updated>
<author>
<name>Vladyslav Drok</name>
<email>vdrok@mirantis.com</email>
</author>
<published>2020-11-06T18:03:56+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/ironic-python-agent.git/commit/?id=8c38177e0ed5f4e05a23f6d1514be2efab8ffb4d'/>
<id>8c38177e0ed5f4e05a23f6d1514be2efab8ffb4d</id>
<content type='text'>
It seems that fix Id5a30028b139c51cae6232cac73a50b917fea233 was
dealing with a different issue. According to the description
in the story, and the linked commit there, the problem is the
fact that output is changed from dictionary to a list (with just
one value supposedly?). This commit changes the isinstance call
to check if an output of lshw is a list, and if so, we just use
the first element of the list.

Story: 2007588
Task: 39527
Change-Id: I87d87fd035701303e7d530a47b682db84e72ccb9
(cherry picked from commit 448ded43fe1cfea9247dbd5612715124e5abbb55)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It seems that fix Id5a30028b139c51cae6232cac73a50b917fea233 was
dealing with a different issue. According to the description
in the story, and the linked commit there, the problem is the
fact that output is changed from dictionary to a list (with just
one value supposedly?). This commit changes the isinstance call
to check if an output of lshw is a list, and if so, we just use
the first element of the list.

Story: 2007588
Task: 39527
Change-Id: I87d87fd035701303e7d530a47b682db84e72ccb9
(cherry picked from commit 448ded43fe1cfea9247dbd5612715124e5abbb55)
</pre>
</div>
</content>
</entry>
<entry>
<title>Do not silently swallow errors in the write_image deploy step</title>
<updated>2020-10-09T12:33:52+00:00</updated>
<author>
<name>Dmitry Tantsur</name>
<email>dtantsur@protonmail.com</email>
</author>
<published>2020-10-09T09:22:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/ironic-python-agent.git/commit/?id=7306c73e7e5ce695d478fbc38c192796d5a4f962'/>
<id>7306c73e7e5ce695d478fbc38c192796d5a4f962</id>
<content type='text'>
Calling join() does not raise, we need to explicitly check the result.

Change-Id: I81d3d727af220c2b50358edab8139f07874611f0
Story: #2008240
Task: #41083
(cherry picked from commit 420ebc0d73ccfa7248e93881c58a0e45fda0e718)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Calling join() does not raise, we need to explicitly check the result.

Change-Id: I81d3d727af220c2b50358edab8139f07874611f0
Story: #2008240
Task: #41083
(cherry picked from commit 420ebc0d73ccfa7248e93881c58a0e45fda0e718)
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Software RAID: Get component devices by md UUID"</title>
<updated>2020-09-30T18:30:56+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.opendev.org</email>
</author>
<published>2020-09-30T18:30:56+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/ironic-python-agent.git/commit/?id=99dee5067ea4f06d3083170d801e600f46842170'/>
<id>99dee5067ea4f06d3083170d801e600f46842170</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Software RAID: Get component devices by md UUID</title>
<updated>2020-09-29T15:08:40+00:00</updated>
<author>
<name>Arne Wiebalck</name>
<email>Arne.Wiebalck@cern.ch</email>
</author>
<published>2020-09-24T14:25: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=044c64dbc0ccf166368ae364b48289420e8674ed'/>
<id>044c64dbc0ccf166368ae364b48289420e8674ed</id>
<content type='text'>
Scanning the output of mdadm commands for RAID members will
miss component devices which are currently not part of the
RAID. For proper cleaning it is better to scan block devices
for a signature of the md device for which we would like to
get the components.

Story: #2008186
Task: #40947

Change-Id: Ib46612697851e36a16d272ccaeb0115106253863
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Scanning the output of mdadm commands for RAID members will
miss component devices which are currently not part of the
RAID. For proper cleaning it is better to scan block devices
for a signature of the md device for which we would like to
get the components.

Story: #2008186
Task: #40947

Change-Id: Ib46612697851e36a16d272ccaeb0115106253863
</pre>
</div>
</content>
</entry>
<entry>
<title>Software RAID: Don't delete partitions too early</title>
<updated>2020-09-28T08:35:12+00:00</updated>
<author>
<name>Arne Wiebalck</name>
<email>Arne.Wiebalck@cern.ch</email>
</author>
<published>2020-09-28T08:31:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/ironic-python-agent.git/commit/?id=c7aec775ff5530e2c0407d8de49f15e8150f9248'/>
<id>c7aec775ff5530e2c0407d8de49f15e8150f9248</id>
<content type='text'>
Partions on the holder disk should only be deleted after
all RAID devices have been deleted. Otherwise, super blocks
on partitions which reside on the same disks cannot be cleaned.

Story: #2008199
Task: #40979
Change-Id: I19293f5b992cd1fa68957d6f306dcec8f3b7a820
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Partions on the holder disk should only be deleted after
all RAID devices have been deleted. Otherwise, super blocks
on partitions which reside on the same disks cannot be cleaned.

Story: #2008199
Task: #40979
Change-Id: I19293f5b992cd1fa68957d6f306dcec8f3b7a820
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Generate a TLS certificate and send it to ironic"</title>
<updated>2020-09-23T12:14:38+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.opendev.org</email>
</author>
<published>2020-09-23T12:14:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/ironic-python-agent.git/commit/?id=11a87365fbbafca70b81b678ae08c4cee317e290'/>
<id>11a87365fbbafca70b81b678ae08c4cee317e290</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Generate a TLS certificate and send it to ironic</title>
<updated>2020-09-11T15:46:52+00:00</updated>
<author>
<name>Dmitry Tantsur</name>
<email>dtantsur@protonmail.com</email>
</author>
<published>2020-09-04T11:52:27+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/ironic-python-agent.git/commit/?id=021e0a6a4660135f06fc7c4d0a4b0c76b8772a7f'/>
<id>021e0a6a4660135f06fc7c4d0a4b0c76b8772a7f</id>
<content type='text'>
Adds a new flag (on by default) that enables generating a TLS
certificate and sending it to ironic via heartbeat. Whether
ironic supports auto-generated certificates is determined by
checking its API version.

Change-Id: I01f83dd04cfec2adc9e2a6b9c531391773ed36e5
Depends-On: https://review.opendev.org/747136
Depends-On: https://review.opendev.org/749975
Story: #2007214
Task: #40604
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds a new flag (on by default) that enables generating a TLS
certificate and sending it to ironic via heartbeat. Whether
ironic supports auto-generated certificates is determined by
checking its API version.

Change-Id: I01f83dd04cfec2adc9e2a6b9c531391773ed36e5
Depends-On: https://review.opendev.org/747136
Depends-On: https://review.opendev.org/749975
Story: #2007214
Task: #40604
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix backup node lookup</title>
<updated>2020-09-09T22:19:38+00:00</updated>
<author>
<name>Julia Kreger</name>
<email>juliaashleykreger@gmail.com</email>
</author>
<published>2020-09-09T22:14: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=3426963552966af9feae2c79c7c53ee770a9523c'/>
<id>3426963552966af9feae2c79c7c53ee770a9523c</id>
<content type='text'>
The node lookup code added in change
I27201319f31cdc01605a3c5ae9ef4b4218e4a3f6
was slightly broken in that we call a method
with a keyword arguemnt which doesn't exist.

uuid versus node_uuid.

It happens, it is a quick fix!

Spotted on a metalsmith job:

[-] Agent is requesting to perform an explicit node cache update.
    This is to pickup any chanages in the cache before deployment.
[-] Failed to update node cache. Error lookup_node() got an
    unexpected keyword argument 'uuid'

Change-Id: I59ecec65707a2f03918b233f1925395ebe59b8c4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The node lookup code added in change
I27201319f31cdc01605a3c5ae9ef4b4218e4a3f6
was slightly broken in that we call a method
with a keyword arguemnt which doesn't exist.

uuid versus node_uuid.

It happens, it is a quick fix!

Spotted on a metalsmith job:

[-] Agent is requesting to perform an explicit node cache update.
    This is to pickup any chanages in the cache before deployment.
[-] Failed to update node cache. Error lookup_node() got an
    unexpected keyword argument 'uuid'

Change-Id: I59ecec65707a2f03918b233f1925395ebe59b8c4
</pre>
</div>
</content>
</entry>
</feed>
