<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/ironic-python-agent.git/ironic_python_agent/utils.py, branch 5.0.0</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>Fixes get_holder disks with nvme drives</title>
<updated>2019-08-13T08:37:18+00:00</updated>
<author>
<name>Raphael Glon</name>
<email>raphael.glon@corp.ovh.com</email>
</author>
<published>2019-08-09T12:59: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=c54674942388dc85f1fc0c4bce1cd4e09929b618'/>
<id>c54674942388dc85f1fc0c4bce1cd4e09929b618</id>
<content type='text'>
Change-Id: I195ffdeeb3c13bdec5fc1735b82efa53c8d9d3de
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I195ffdeeb3c13bdec5fc1735b82efa53c8d9d3de
</pre>
</div>
</content>
</entry>
<entry>
<title>Stop logging lshw output, collect it with other logs instead</title>
<updated>2019-06-17T12:00:26+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=94048fe97e93af3ad6902c3c1aa4ec5d92b41747'/>
<id>94048fe97e93af3ad6902c3c1aa4ec5d92b41747</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
</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
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix docs job failure due to malformated docstring</title>
<updated>2019-04-09T02:24:17+00:00</updated>
<author>
<name>Kaifeng Wang</name>
<email>kaifeng.w@gmail.com</email>
</author>
<published>2019-04-09T02:24:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/ironic-python-agent.git/commit/?id=4cb2ac4ae4db01efef8fd705b7ce8329475c7f92'/>
<id>4cb2ac4ae4db01efef8fd705b7ce8329475c7f92</id>
<content type='text'>
Change-Id: Ic3532e51481fd07e2f816aeacb07ded2d56791ee
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ic3532e51481fd07e2f816aeacb07ded2d56791ee
</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>
<entry>
<title>When ouputting to /dev/null should open in write mode</title>
<updated>2018-02-07T07:01:53+00:00</updated>
<author>
<name>John L. Villalovos</name>
<email>openstack.org@sodarock.com</email>
</author>
<published>2018-02-07T07:01: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=944a77c9c60ab2ef938fae609e68c9c67bac8872'/>
<id>944a77c9c60ab2ef938fae609e68c9c67bac8872</id>
<content type='text'>
Even though it was working opening the file in 'read' mode, it really
should be opened in 'write' mode, since we are redirecting the output
to the file.

Interestingly it does fail in 'read' mode if the command is:
    echo something

But passes in 'write' mode.

Change-Id: Ic67091881e0be377e527b78d270ab48962881ae0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Even though it was working opening the file in 'read' mode, it really
should be opened in 'write' mode, since we are redirecting the output
to the file.

Interestingly it does fail in 'read' mode if the command is:
    echo something

But passes in 'write' mode.

Change-Id: Ic67091881e0be377e527b78d270ab48962881ae0
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix logs encoding in py3</title>
<updated>2017-03-14T02:25:09+00:00</updated>
<author>
<name>zackchen</name>
<email>zackchen517@gmail.com</email>
</author>
<published>2017-02-28T09:55:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/ironic-python-agent.git/commit/?id=000eaa355472f63ae112cf1e1dcedc2c094ed5c1'/>
<id>000eaa355472f63ae112cf1e1dcedc2c094ed5c1</id>
<content type='text'>
Make sure that logs are encoded as text (not byte strings) in
python3 to allow theirs serialization in JSON.

Closes-Bug: #1668533

Change-Id: I3d0d87ca766146457d905f89c26331a415bd54f8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make sure that logs are encoded as text (not byte strings) in
python3 to allow theirs serialization in JSON.

Closes-Bug: #1668533

Change-Id: I3d0d87ca766146457d905f89c26331a415bd54f8
</pre>
</div>
</content>
</entry>
<entry>
<title>Configure and use SSL-related requests options</title>
<updated>2017-01-13T09:33:44+00:00</updated>
<author>
<name>Pavlo Shchelokovskyy</name>
<email>shchelokovskyy@gmail.com</email>
</author>
<published>2016-11-17T11:26: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=fdd11b54a5e3d7a9ee89628baba2990e4e00abdd'/>
<id>fdd11b54a5e3d7a9ee89628baba2990e4e00abdd</id>
<content type='text'>
This patch adds standard SSL options to IPA config and makes use of them
when making HTTP requests.

For now, a single set of certificates is used when needed.
In the future configuration can be expanded to allow per-service
certificates.

Besides, the 'insecure' option (defaults to False) can be overridden
through kernel command line parameter 'ipa-insecure'.
This will allow running IPA in CI-like environments with self-signed SSL
certificates.

Change-Id: I259d9b3caa9ba1dc3d7382f375b8e086a5348d80
Closes-Bug: #1642515
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds standard SSL options to IPA config and makes use of them
when making HTTP requests.

For now, a single set of certificates is used when needed.
In the future configuration can be expanded to allow per-service
certificates.

Besides, the 'insecure' option (defaults to False) can be overridden
through kernel command line parameter 'ipa-insecure'.
This will allow running IPA in CI-like environments with self-signed SSL
certificates.

Change-Id: I259d9b3caa9ba1dc3d7382f375b8e086a5348d80
Closes-Bug: #1642515
</pre>
</div>
</content>
</entry>
<entry>
<title>Use oslo_serialization.base64 to follow OpenStack Python3</title>
<updated>2016-12-16T04:29:16+00:00</updated>
<author>
<name>Luong Anh Tuan</name>
<email>tuanla@vn.fujitsu.com</email>
</author>
<published>2016-12-15T06:21: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=81780adef861d7a2be6b198589cecc059f0d01a7'/>
<id>81780adef861d7a2be6b198589cecc059f0d01a7</id>
<content type='text'>
This patch replaces python standard base64 library call to
oslo_serialization.base64 to follow OpenStack Python3 porting
standard [1].

Use base64 encoding takes 8-bit binary byte data and encodes it. On
Python3, A string is a sequence of Unicode characters thus base64 has
no idea what to do with Unicode data, it's not 8-bit[2]. We use
oslo_serialization.base64 for both python2 and python3.

[1] https://wiki.openstack.org/wiki/Python3
[2] http://stackoverflow.com/questions/8908287/base64-encoding-in-python-3

Change-Id: I1dafe878a71f37d223eaf58ea8e2e8c6b4422a14
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch replaces python standard base64 library call to
oslo_serialization.base64 to follow OpenStack Python3 porting
standard [1].

Use base64 encoding takes 8-bit binary byte data and encodes it. On
Python3, A string is a sequence of Unicode characters thus base64 has
no idea what to do with Unicode data, it's not 8-bit[2]. We use
oslo_serialization.base64 for both python2 and python3.

[1] https://wiki.openstack.org/wiki/Python3
[2] http://stackoverflow.com/questions/8908287/base64-encoding-in-python-3

Change-Id: I1dafe878a71f37d223eaf58ea8e2e8c6b4422a14
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix two typos, "messsage" and "containg"</title>
<updated>2016-11-22T01:56:33+00:00</updated>
<author>
<name>Nam Nguyen Hoai</name>
<email>namnh@vn.fujitsu.com</email>
</author>
<published>2016-09-30T04:11: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=41cf45f126b4ebaac107b2602e658bbd27e0acc7'/>
<id>41cf45f126b4ebaac107b2602e658bbd27e0acc7</id>
<content type='text'>
This patch set updated two wrong words:
+ In error.py file, it should be changed from "messsage" to "message"
+ In utils.py file, it should be changed from "containg" to "contaning"

Change-Id: I5ad121ec58ccc6e5f3cc499eca50d16e691f217e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch set updated two wrong words:
+ In error.py file, it should be changed from "messsage" to "message"
+ In utils.py file, it should be changed from "containg" to "contaning"

Change-Id: I5ad121ec58ccc6e5f3cc499eca50d16e691f217e
</pre>
</div>
</content>
</entry>
<entry>
<title>Use ironic_lib's execute()</title>
<updated>2016-07-27T20:28:43+00:00</updated>
<author>
<name>Ruby Loo</name>
<email>ruby.loo@intel.com</email>
</author>
<published>2016-07-27T20:28:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/ironic-python-agent.git/commit/?id=81ca8a87443a47ece86801b3212e8404d279d2c0'/>
<id>81ca8a87443a47ece86801b3212e8404d279d2c0</id>
<content type='text'>
Use ironic_lib's execute() instead of copying that code.

Change-Id: If40c2da5423d0f90cc6661f8cdf2bec9567e1f7d
Partial-Bug: #1587199
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use ironic_lib's execute() instead of copying that code.

Change-Id: If40c2da5423d0f90cc6661f8cdf2bec9567e1f7d
Partial-Bug: #1587199
</pre>
</div>
</content>
</entry>
</feed>
