<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/ironic-python-agent.git/ironic_python_agent/extensions/iscsi.py, branch 2.2.4</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>Add missing description for params of 'start_iscsi_target'.</title>
<updated>2017-05-17T23:57:36+00:00</updated>
<author>
<name>ericxiett</name>
<email>eric_xiett@163.com</email>
</author>
<published>2017-05-17T01:48: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=50f914d088cf838a879683332e46175af33dc3eb'/>
<id>50f914d088cf838a879683332e46175af33dc3eb</id>
<content type='text'>
Change-Id: I3bbd092d0738110ad36f85f1d333273f46648d2b
Closes-Bug: #1691303
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I3bbd092d0738110ad36f85f1d333273f46648d2b
Closes-Bug: #1691303
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "iscsi: Listen for connections on both IPv4 and IPv6 ports"</title>
<updated>2017-01-19T22:34:11+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2017-01-19T22:34:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/ironic-python-agent.git/commit/?id=bbbea4601abeeacad4298ca2487e8e12dd62f9db'/>
<id>bbbea4601abeeacad4298ca2487e8e12dd62f9db</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>iscsi: Listen for connections on both IPv4 and IPv6 ports</title>
<updated>2017-01-19T15:24:17+00:00</updated>
<author>
<name>Derek Higgins</name>
<email>derekh@redhat.com</email>
</author>
<published>2016-12-16T13:30: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=1c493c470a0dc15bb7f572a996db29c73af21bc0'/>
<id>1c493c470a0dc15bb7f572a996db29c73af21bc0</id>
<content type='text'>
Allow connections if deploying over a IPv6 network.

Change-Id: Ib5b97e960fcb30b9a37c5971e88d5251905f8113
Closes-Bug: #1650540
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Allow connections if deploying over a IPv6 network.

Change-Id: Ib5b97e960fcb30b9a37c5971e88d5251905f8113
Closes-Bug: #1650540
</pre>
</div>
</content>
</entry>
<entry>
<title>Removes unnecessary utf-8 encoding</title>
<updated>2017-01-16T01:25:10+00:00</updated>
<author>
<name>Cao Xuan Hoang</name>
<email>hoangcx@vn.fujitsu.com</email>
</author>
<published>2017-01-16T01:25:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/ironic-python-agent.git/commit/?id=6997907b07f79b8ec2389d8121e613e27df5a7a7'/>
<id>6997907b07f79b8ec2389d8121e613e27df5a7a7</id>
<content type='text'>
The following files added utf-8 encoding but never used. So we can
removes them at all.

ironic_python_agent/extensions/image.py
ironic_python_agent/extensions/iscsi.py
ironic_python_agent/tests/unit/extensions/test_image.py
ironic_python_agent/tests/unit/extensions/test_iscsi.py

Change-Id: Ifc98faf025ee81f885ea58d9203037c6357ea7f2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The following files added utf-8 encoding but never used. So we can
removes them at all.

ironic_python_agent/extensions/image.py
ironic_python_agent/extensions/iscsi.py
ironic_python_agent/tests/unit/extensions/test_image.py
ironic_python_agent/tests/unit/extensions/test_iscsi.py

Change-Id: Ifc98faf025ee81f885ea58d9203037c6357ea7f2
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove Python 2.6 format style</title>
<updated>2016-10-06T16:05:26+00:00</updated>
<author>
<name>John L. Villalovos</name>
<email>john.l.villalovos@intel.com</email>
</author>
<published>2016-10-05T18:35:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/ironic-python-agent.git/commit/?id=20d960ff98807a7b93310af753f2145dce093401'/>
<id>20d960ff98807a7b93310af753f2145dce093401</id>
<content type='text'>
In Python 2.6 it was required to use {0}, {1}...{n} when using the
string format function. In Python 2.7 and Python 3 it it not required.

Change {N} to {} in code.

This brings the code in style alignment with other projects like
ironic and ironic-lib.

Change-Id: I81c4bb67b0974f73905f14b589b3dd0a7131650d
Depends-On: I8f0e5405f3e2d6e35418c73f610ac6b779dd75e5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In Python 2.6 it was required to use {0}, {1}...{n} when using the
string format function. In Python 2.7 and Python 3 it it not required.

Change {N} to {} in code.

This brings the code in style alignment with other projects like
ironic and ironic-lib.

Change-Id: I81c4bb67b0974f73905f14b589b3dd0a7131650d
Depends-On: I8f0e5405f3e2d6e35418c73f610ac6b779dd75e5
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix doc warnings</title>
<updated>2016-07-14T18:37:02+00:00</updated>
<author>
<name>Jim Rollenhagen</name>
<email>jim@jimrollenhagen.com</email>
</author>
<published>2016-07-07T19:17:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/ironic-python-agent.git/commit/?id=2e10d7b32cc32a2d367bbd38ec612fd283aaac8e'/>
<id>2e10d7b32cc32a2d367bbd38ec612fd283aaac8e</id>
<content type='text'>
Per Doug's email[0], 'warnerrors' in setup.cfg hasn't actually been
working for some time now, and we've piled up a few warnings. Fix these
before a pbr release to unbreak it gets pushed out and breaks our doc
builds.

[0] http://lists.openstack.org/pipermail/openstack-dev/2016-June/097849.html

Change-Id: I6576a56234918febb21e7e4860544eb952123c09
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Per Doug's email[0], 'warnerrors' in setup.cfg hasn't actually been
working for some time now, and we've piled up a few warnings. Fix these
before a pbr release to unbreak it gets pushed out and breaks our doc
builds.

[0] http://lists.openstack.org/pipermail/openstack-dev/2016-June/097849.html

Change-Id: I6576a56234918febb21e7e4860544eb952123c09
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix incorrect formatting in the iSCSI extension</title>
<updated>2016-03-31T12:11:08+00:00</updated>
<author>
<name>Dmitry Tantsur</name>
<email>dtantsur@redhat.com</email>
</author>
<published>2016-03-31T12:11:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/ironic-python-agent.git/commit/?id=e9dbf4acf2aa069f98e905cfcb3b18a06aec4ab5'/>
<id>e9dbf4acf2aa069f98e905cfcb3b18a06aec4ab5</id>
<content type='text'>
Change-Id: I141c205dec838c64126106186a1352d032d8d987
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I141c205dec838c64126106186a1352d032d8d987
</pre>
</div>
</content>
</entry>
<entry>
<title>add new portal_port argument into iscsi.start_iscsi_target api</title>
<updated>2016-03-24T13:32:42+00:00</updated>
<author>
<name>Haomeng, Wang</name>
<email>whaom@cn.ibm.com</email>
</author>
<published>2016-01-26T08:08:18+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/ironic-python-agent.git/commit/?id=c83a96899748a59ab4eab0a03bd75162327cb70a'/>
<id>c83a96899748a59ab4eab0a03bd75162327cb70a</id>
<content type='text'>
Currently we hardcode the iSCSI port to its default. With this
patch, we added new portal_port argument into iscsi.start_iscsi_target
api, cover both lio and tgt two iscsi target operations.

And for IPA client and driver code change, will commit more patch to
cover.

Change-Id: I6da20487ccba6cbac04d36b8643afdd1e3920b12
Partial-Bug: #1523829
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently we hardcode the iSCSI port to its default. With this
patch, we added new portal_port argument into iscsi.start_iscsi_target
api, cover both lio and tgt two iscsi target operations.

And for IPA client and driver code change, will commit more patch to
cover.

Change-Id: I6da20487ccba6cbac04d36b8643afdd1e3920b12
Partial-Bug: #1523829
</pre>
</div>
</content>
</entry>
<entry>
<title>iscsi: wipe part table before starting the target</title>
<updated>2016-03-22T17:28:21+00:00</updated>
<author>
<name>Gonéri Le Bouder</name>
<email>goneri@redhat.com</email>
</author>
<published>2016-02-24T18:39: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=0b1f01db9474fb7630d616fab4711fefaea2bce0'/>
<id>0b1f01db9474fb7630d616fab4711fefaea2bce0</id>
<content type='text'>
If the local disk has already a partition table, it must be clean up
before the disk is exposed through iscsi. Otherwise this disk partition
can create a conflict during the grub installation.

How reproducible:

1. Inject an image on the root disk, like for example ipxe.usb or ipxe.iso
2. Try to deploy a system on the node using Ironic
3. The node is properly deployed but the grub installation has failed
   with the following error:
     attempting to install grub to a disk with multiple partition labels

A simple sgdisk -Z /dev/vdX is not enough because grub-install will
inspect the disk and will still detect a remaining partition.

This commit makes use of the ironic-lib to do the clean up of the disk.
The additional review Id59fa5a06b9115c0f9afc09aae95daaac97e2fac increase
the amount of data to wipe.

References:
https://bugzilla.redhat.com/show_bug.cgi?id=1310883

Partial-Bug: 1550604

Change-Id: Ie68cb6296c782e904d40f6e9de0faa52ab2af2bf
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the local disk has already a partition table, it must be clean up
before the disk is exposed through iscsi. Otherwise this disk partition
can create a conflict during the grub installation.

How reproducible:

1. Inject an image on the root disk, like for example ipxe.usb or ipxe.iso
2. Try to deploy a system on the node using Ironic
3. The node is properly deployed but the grub installation has failed
   with the following error:
     attempting to install grub to a disk with multiple partition labels

A simple sgdisk -Z /dev/vdX is not enough because grub-install will
inspect the disk and will still detect a remaining partition.

This commit makes use of the ironic-lib to do the clean up of the disk.
The additional review Id59fa5a06b9115c0f9afc09aae95daaac97e2fac increase
the amount of data to wipe.

References:
https://bugzilla.redhat.com/show_bug.cgi?id=1310883

Partial-Bug: 1550604

Change-Id: Ie68cb6296c782e904d40f6e9de0faa52ab2af2bf
</pre>
</div>
</content>
</entry>
<entry>
<title>Catch OSError as well to return a better error message</title>
<updated>2016-02-22T07:10:57+00:00</updated>
<author>
<name>Zhenguo Niu</name>
<email>niuzhenguo@huawei.com</email>
</author>
<published>2016-02-22T06:56: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=c716293cbfeaae56de714aa0294a9c614578a805'/>
<id>c716293cbfeaae56de714aa0294a9c614578a805</id>
<content type='text'>
When neither tgt nor linux-io are available, we only get error
message like 'No such file or directory', this situation should
be detected and return a better error instead.

Change-Id: I334717a1a8a728aa6da6024ff9fc6d817399a41f
Closes-Bug: #1540958
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When neither tgt nor linux-io are available, we only get error
message like 'No such file or directory', this situation should
be detected and return a better error instead.

Change-Id: I334717a1a8a728aa6da6024ff9fc6d817399a41f
Closes-Bug: #1540958
</pre>
</div>
</content>
</entry>
</feed>
