<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/ironic-python-agent.git/ironic_python_agent/tests, branch 3.6.3</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>Skip read-only devices with metadata erase</title>
<updated>2020-02-05T10:22:50+00:00</updated>
<author>
<name>Julia Kreger</name>
<email>juliaashleykreger@gmail.com</email>
</author>
<published>2020-01-29T04:41:47+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/ironic-python-agent.git/commit/?id=cd839b008f85d23dd784e4392ecee9653095da6c'/>
<id>cd839b008f85d23dd784e4392ecee9653095da6c</id>
<content type='text'>
HPE "Virtual Install Devices" appear as read-only block
devices, and may... or may not be visible depending on the
bios configuration state.

These devices can no longer be disabled from the bios settings
so the simplest course of action seems to be that we should
handle the existence of a read-only device.

In the event of secure erase, this is treated as a hard failure
case and a driver_internal_info flag has been added to enable
a future bypass method for knowledgable operators.

Backport note: the unit tests have been modified to account for Python 2

Conflicts:
	ironic_python_agent/hardware.py
	ironic_python_agent/tests/unit/test_hardware.py

Change-Id: Ief8b360d11e654d8fae3a04a2a9f8d474a06e167
Story: 2007229
Task: 38502
(cherry picked from commit cd7b2693f873bde72706f8b6ab8c1f21e68f0fd1)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
HPE "Virtual Install Devices" appear as read-only block
devices, and may... or may not be visible depending on the
bios configuration state.

These devices can no longer be disabled from the bios settings
so the simplest course of action seems to be that we should
handle the existence of a read-only device.

In the event of secure erase, this is treated as a hard failure
case and a driver_internal_info flag has been added to enable
a future bypass method for knowledgable operators.

Backport note: the unit tests have been modified to account for Python 2

Conflicts:
	ironic_python_agent/hardware.py
	ironic_python_agent/tests/unit/test_hardware.py

Change-Id: Ief8b360d11e654d8fae3a04a2a9f8d474a06e167
Story: 2007229
Task: 38502
(cherry picked from commit cd7b2693f873bde72706f8b6ab8c1f21e68f0fd1)
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid grub2-install when on UEFI boot mode</title>
<updated>2020-01-22T16:55:12+00:00</updated>
<author>
<name>Iury Gregory Melo Ferreira</name>
<email>imelofer@redhat.com</email>
</author>
<published>2019-12-02T15:56:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/ironic-python-agent.git/commit/?id=2de0143c0377c5b5dc6f5a8189b53da26159a94b'/>
<id>2de0143c0377c5b5dc6f5a8189b53da26159a94b</id>
<content type='text'>
This patch changes the workflow for whole disk images when using uefi.
If we can identify the bootloader and it's valid we can update using
efibootmgr since grub2-install have problems specially on secure boot
mode.
We also updated the regex to search for the uefi partition on the disk,
since in some cases the parted command output can be without the FS
for the partition with esp Flag.

Adds the efibootmgr and efivar to tinyipa (since ipa-builder is not
used in stable/train)

Change-Id: I7167e71e5d2352a045565289b200e5530d0ba11d
Story: #2006847
Task: #37435
(cherry picked from commit b6210be196fea271b2c49f89d3e1638517c1198c)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch changes the workflow for whole disk images when using uefi.
If we can identify the bootloader and it's valid we can update using
efibootmgr since grub2-install have problems specially on secure boot
mode.
We also updated the regex to search for the uefi partition on the disk,
since in some cases the parted command output can be without the FS
for the partition with esp Flag.

Adds the efibootmgr and efivar to tinyipa (since ipa-builder is not
used in stable/train)

Change-Id: I7167e71e5d2352a045565289b200e5530d0ba11d
Story: #2006847
Task: #37435
(cherry picked from commit b6210be196fea271b2c49f89d3e1638517c1198c)
</pre>
</div>
</content>
</entry>
<entry>
<title>Search for efi partition</title>
<updated>2020-01-22T16:02:45+00:00</updated>
<author>
<name>Iury Gregory Melo Ferreira</name>
<email>imelofer@redhat.com</email>
</author>
<published>2019-12-04T18:55: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=6a777e85878ab56c66b258a1386c459e8fd399df'/>
<id>6a777e85878ab56c66b258a1386c459e8fd399df</id>
<content type='text'>
This patch adds a function that will be responsible to identify
the efi partition on a give device, this is necessary on the Software
Raid scenario and when installing bootloader.

Conflicts:
        ironic_python_agent/tests/unit/test_utils.py
        ironic_python_agent/utils.py

Change-Id: I5f326db2d37b2a15090ec84e477e63f7d92e7447
Co-Authored-By: Raphael Glon &lt;raphael.glon@corp.ovh.com&gt;
(cherry picked from commit 966356e58c786fab1b176767615c481d449076a2)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds a function that will be responsible to identify
the efi partition on a give device, this is necessary on the Software
Raid scenario and when installing bootloader.

Conflicts:
        ironic_python_agent/tests/unit/test_utils.py
        ironic_python_agent/utils.py

Change-Id: I5f326db2d37b2a15090ec84e477e63f7d92e7447
Co-Authored-By: Raphael Glon &lt;raphael.glon@corp.ovh.com&gt;
(cherry picked from commit 966356e58c786fab1b176767615c481d449076a2)
</pre>
</div>
</content>
</entry>
<entry>
<title>Stop logging lshw output, collect it with other logs instead</title>
<updated>2019-06-18T05:45:53+00:00</updated>
<author>
<name>Dmitry Tantsur</name>
<email>dtantsur@protonmail.com</email>
</author>
<published>2019-06-17T09:37: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=b41e98d04fb644b82c3b399fec3903c9632bc43e'/>
<id>b41e98d04fb644b82c3b399fec3903c9632bc43e</id>
<content type='text'>
The lshw output is huge even on virtual machines, and it pollutes
the debug logging. This change silences it. Instead, the lshw output
is collected as part of the ramdisk logs.

Depends-On: https://review.opendev.org/#/c/665635/
Change-Id: I6a3015b2d8d09f6f48b5cbd39dc84bd75b72f909
(cherry picked from commit 94048fe97e93af3ad6902c3c1aa4ec5d92b41747)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The lshw output is huge even on virtual machines, and it pollutes
the debug logging. This change silences it. Instead, the lshw output
is collected as part of the ramdisk logs.

Depends-On: https://review.opendev.org/#/c/665635/
Change-Id: I6a3015b2d8d09f6f48b5cbd39dc84bd75b72f909
(cherry picked from commit 94048fe97e93af3ad6902c3c1aa4ec5d92b41747)
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Ironic python agent does not extract correct available memory" into stable/stein</title>
<updated>2019-05-17T17:27:02+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.opendev.org</email>
</author>
<published>2019-05-17T17:27:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/ironic-python-agent.git/commit/?id=d085c937b8ccbf8f9b13551687f3a274ad4c5f5a'/>
<id>d085c937b8ccbf8f9b13551687f3a274ad4c5f5a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Bind mount /run into chroot when installing grub</title>
<updated>2019-05-02T16:00:11+00:00</updated>
<author>
<name>Derek Higgins</name>
<email>derekh@redhat.com</email>
</author>
<published>2019-04-24T22:25: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=d8866d1ab010c1f318aa2cc2d0b94f03c304e260'/>
<id>d8866d1ab010c1f318aa2cc2d0b94f03c304e260</id>
<content type='text'>
grub-mkconfig runs a lvs command that attempts to access /run/lvm
once for each block device, currently it times out after 10 seconds
for each device and moves on. Multiple 10 second delays become
a problem (causing IPA API timeouts) when multiple block devices
are present. Bind mounting in /run avoids the delay and the
timeouts.

Task: 30616
Story: 2005507

Change-Id: Iae8b7808a35bff121f64971aadd4bd36b5f5bb71
(cherry picked from commit 9c35f0279209ce233a7562f2d9310ded1e0edba5)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
grub-mkconfig runs a lvs command that attempts to access /run/lvm
once for each block device, currently it times out after 10 seconds
for each device and moves on. Multiple 10 second delays become
a problem (causing IPA API timeouts) when multiple block devices
are present. Bind mounting in /run avoids the delay and the
timeouts.

Task: 30616
Story: 2005507

Change-Id: Iae8b7808a35bff121f64971aadd4bd36b5f5bb71
(cherry picked from commit 9c35f0279209ce233a7562f2d9310ded1e0edba5)
</pre>
</div>
</content>
</entry>
<entry>
<title>Ironic python agent does not extract correct available memory</title>
<updated>2019-04-16T15:44:56+00:00</updated>
<author>
<name>Uros Orozel</name>
<email>uros.orozel@gmail.com</email>
</author>
<published>2019-03-27T11:38:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/ironic-python-agent.git/commit/?id=34f94d52d331f41d7178f9dde63352c941f1c1f6'/>
<id>34f94d52d331f41d7178f9dde63352c941f1c1f6</id>
<content type='text'>
This patch fixes parsing of memory class output of lshw output.
Task: 30201
Story: 2005308

Change-Id: I0e7ff9f86a266d2f798457136fed0100c78569e2
(cherry picked from commit d8018b9f35172b22475984a921fadd439c5239cc)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch fixes parsing of memory class output of lshw output.
Task: 30201
Story: 2005308

Change-Id: I0e7ff9f86a266d2f798457136fed0100c78569e2
(cherry picked from commit d8018b9f35172b22475984a921fadd439c5239cc)
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow image checksum to be a URL</title>
<updated>2019-02-25T13:28:09+00:00</updated>
<author>
<name>Dmitry Tantsur</name>
<email>divius.inside@gmail.com</email>
</author>
<published>2019-02-25T12:33: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=f821db3a54f94b29d4d5b25de7b573b7ebc0ed60'/>
<id>f821db3a54f94b29d4d5b25de7b573b7ebc0ed60</id>
<content type='text'>
We allow image_source to be a URL, let us also support URLs for checksums.
This change copies handling of multi-file checksum files from metalsmith.

Change-Id: Ie4d7e5c79b76bdd72d50eeb384cf10519278a80c
Story: #2005061
Task: #29605
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We allow image_source to be a URL, let us also support URLs for checksums.
This change copies handling of multi-file checksum files from metalsmith.

Change-Id: Ie4d7e5c79b76bdd72d50eeb384cf10519278a80c
Story: #2005061
Task: #29605
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Add secondary sorting by name when guessing root disk"</title>
<updated>2019-02-13T07:41:41+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.openstack.org</email>
</author>
<published>2019-02-13T07:41: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=e5da6d00071dcd3efcea30f99ff9d6c75cad57cb'/>
<id>e5da6d00071dcd3efcea30f99ff9d6c75cad57cb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add secondary sorting by name when guessing root disk</title>
<updated>2019-02-11T16:53:47+00:00</updated>
<author>
<name>Arne Wiebalck</name>
<email>Arne.Wiebalck@cern.ch</email>
</author>
<published>2019-02-06T18:12:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/ironic-python-agent.git/commit/?id=fb74b556067536b65f2e244f46c6ee9c5c556e1d'/>
<id>fb74b556067536b65f2e244f46c6ee9c5c556e1d</id>
<content type='text'>
As some BIOSes try to boot only from the "first" disk, Ironic
should order potential disks not only by size, but also by name.
This patch proposes to add secondary sorting by device name when
identifying the root disk.

Change-Id: I4017c839eeb9d00d2b4ad5b90e4e9b65b74296c7
Story: #2004976
Task: #29434
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As some BIOSes try to boot only from the "first" disk, Ironic
should order potential disks not only by size, but also by name.
This patch proposes to add secondary sorting by device name when
identifying the root disk.

Change-Id: I4017c839eeb9d00d2b4ad5b90e4e9b65b74296c7
Story: #2004976
Task: #29434
</pre>
</div>
</content>
</entry>
</feed>
