<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/ironic-python-agent.git/Dockerfile, branch 2.2.1</title>
<subtitle>opendev.org: openstack/ironic-python-agent.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/ironic-python-agent.git/'/>
<entry>
<title>Enforce upper-constraints when building ramdisks</title>
<updated>2016-08-26T13:06:24+00:00</updated>
<author>
<name>Mathieu Mitchell</name>
<email>mmitchell@iweb.com</email>
</author>
<published>2016-08-22T19:43:39+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/ironic-python-agent.git/commit/?id=a0ca6ce157b8a84f282d8abbdd27c75f48d991ff'/>
<id>a0ca6ce157b8a84f282d8abbdd27c75f48d991ff</id>
<content type='text'>
Currently, building ramdisks installs ironic-python-agent without any
upper-constraints. This causes the package to be installed with newer,
untested dependencies.

This commits introduces a tool to generate a local upper-constraints
file based on predefined strategies (below). Additionally, the fallback
to the openstack/requirements uses the URL defined in tox.ini instead of
redefining it. This prevents having to keep track of two separate
variables when releasing.

upper-constraints lookup strategies (in order):

  * UPPER_CONSTRAINTS_FILE points to a local file
  * UPPER_CONSTRAINTS_FILE points to a URL
  * /opt/stack/new/requirements/upper-constraints.txt
  * upper-constraints.txt from openstack/requirements git repository

Partial-bug: #1616554
Change-Id: Ib5c0c57cafdb6ffd7456e61f3b1bb5fa57520e5a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently, building ramdisks installs ironic-python-agent without any
upper-constraints. This causes the package to be installed with newer,
untested dependencies.

This commits introduces a tool to generate a local upper-constraints
file based on predefined strategies (below). Additionally, the fallback
to the openstack/requirements uses the URL defined in tox.ini instead of
redefining it. This prevents having to keep track of two separate
variables when releasing.

upper-constraints lookup strategies (in order):

  * UPPER_CONSTRAINTS_FILE points to a local file
  * UPPER_CONSTRAINTS_FILE points to a URL
  * /opt/stack/new/requirements/upper-constraints.txt
  * upper-constraints.txt from openstack/requirements git repository

Partial-bug: #1616554
Change-Id: Ib5c0c57cafdb6ffd7456e61f3b1bb5fa57520e5a
</pre>
</div>
</content>
</entry>
<entry>
<title>Use constraints for all the things</title>
<updated>2016-05-19T14:08:56+00:00</updated>
<author>
<name>Jim Rollenhagen</name>
<email>jim@jimrollenhagen.com</email>
</author>
<published>2016-05-19T13:38:30+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/ironic-python-agent.git/commit/?id=4e35b0ee64a249c8461efc1c4374dd6cd9253220'/>
<id>4e35b0ee64a249c8461efc1c4374dd6cd9253220</id>
<content type='text'>
This configures tox to use upper-constraints for everything, except
environments used for post jobs (as constraints aren't supported there
yet).

This also doesn't enable constraints for our image builds, as it isn't
possible to pass an environment variable into the Dockerfile to allow
folks to choose their own constraints file (and we don't want to force
people to rely on git.o.o for building images).

Change-Id: I285855c6386f59e9dd352473aa28463109818c90
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This configures tox to use upper-constraints for everything, except
environments used for post jobs (as constraints aren't supported there
yet).

This also doesn't enable constraints for our image builds, as it isn't
possible to pass an environment variable into the Dockerfile to allow
folks to choose their own constraints file (and we don't want to force
people to rely on git.o.o for building images).

Change-Id: I285855c6386f59e9dd352473aa28463109818c90
</pre>
</div>
</content>
</entry>
<entry>
<title>Force container builds to use http.us.debian.org</title>
<updated>2016-04-20T17:20:08+00:00</updated>
<author>
<name>Jay Faulkner</name>
<email>jay@jvf.cc</email>
</author>
<published>2016-04-18T20:30:35+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/ironic-python-agent.git/commit/?id=407a91c3690de16470f91359a628d77a68f639ea'/>
<id>407a91c3690de16470f91359a628d77a68f639ea</id>
<content type='text'>
httpredir has multiple mirrors behind it, meaning on any given build
we're relying on several mirrors to all stay up at the same time. This
happens much less often than we'd like.

By forcing this to http.us.debian.org, we're using a more curated set of
mirrors which are less likely to be flakey.

The long term fix is to use a debian mirror provided by infra for
check/gate builds, but until that exists this should help.

Depends-on: I5169faf25c36cfb494c9c1fafb14fb4f7f82cd9e
Related-bug: #1571829
Change-Id: Ia7ea8d909df9ae86a6dbd68ba94746b171535eb8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
httpredir has multiple mirrors behind it, meaning on any given build
we're relying on several mirrors to all stay up at the same time. This
happens much less often than we'd like.

By forcing this to http.us.debian.org, we're using a more curated set of
mirrors which are less likely to be flakey.

The long term fix is to use a debian mirror provided by infra for
check/gate builds, but until that exists this should help.

Depends-on: I5169faf25c36cfb494c9c1fafb14fb4f7f82cd9e
Related-bug: #1571829
Change-Id: Ia7ea8d909df9ae86a6dbd68ba94746b171535eb8
</pre>
</div>
</content>
</entry>
<entry>
<title>Install qemu-image from backports repo</title>
<updated>2016-04-13T22:01:55+00:00</updated>
<author>
<name>vsaienko</name>
<email>vsaienko@mirantis.com</email>
</author>
<published>2016-04-13T12:09:31+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/ironic-python-agent.git/commit/?id=52066d0a4920d2ccb3c6aef165e4a843ede4a809'/>
<id>52066d0a4920d2ccb3c6aef165e4a843ede4a809</id>
<content type='text'>
qemu-image has been installed from testing to fix issues when
qemu-img can't convert image:
qemu-img: error writing zeroes at sector 0: Invalid argument

The issue has been fixed in qemu 2.2.0-rc2, reference [0].

Which has been added to debian backports.

This patch fixes issue with building coreos image, when qemu-utils
can't be installed from testing due to dependency problems.

Reference:
[0] http://git.qemu-project.org/?p=qemu.git;a=commitdiff;h=f3a9cfddae
[1] https://bugs.launchpad.net/cinder/+bug/1389728

Change-Id: Ie62a88e1d012aba1392b19c18137529c4c3ebf31
Related-Bug: #1490086
Closes-bug: #1570090
Closes-Bug: #1569835
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
qemu-image has been installed from testing to fix issues when
qemu-img can't convert image:
qemu-img: error writing zeroes at sector 0: Invalid argument

The issue has been fixed in qemu 2.2.0-rc2, reference [0].

Which has been added to debian backports.

This patch fixes issue with building coreos image, when qemu-utils
can't be installed from testing due to dependency problems.

Reference:
[0] http://git.qemu-project.org/?p=qemu.git;a=commitdiff;h=f3a9cfddae
[1] https://bugs.launchpad.net/cinder/+bug/1389728

Change-Id: Ie62a88e1d012aba1392b19c18137529c4c3ebf31
Related-Bug: #1490086
Closes-bug: #1570090
Closes-Bug: #1569835
</pre>
</div>
</content>
</entry>
<entry>
<title>Add psmisc and dosfstools to IPA packages list</title>
<updated>2016-03-21T15:04:12+00:00</updated>
<author>
<name>Nisha Agarwal</name>
<email>agarwalnisha1980@gmail.com</email>
</author>
<published>2016-03-21T14:31:52+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/ironic-python-agent.git/commit/?id=b9368292c7946f17508ef2b4a77549773bab6ea9'/>
<id>b9368292c7946f17508ef2b4a77549773bab6ea9</id>
<content type='text'>
This commit adds the 'psmisc' and 'dosfstools'
packages for python-ironic-agent. 'psmisc' is required
by fuser command and dosfstools is required by
mkfs for vfat creation.

Partial-Bug: 1526289
Change-Id: I30bda5cd50c66d3a22ea611ad3ae7f43533d5770
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit adds the 'psmisc' and 'dosfstools'
packages for python-ironic-agent. 'psmisc' is required
by fuser command and dosfstools is required by
mkfs for vfat creation.

Partial-Bug: 1526289
Change-Id: I30bda5cd50c66d3a22ea611ad3ae7f43533d5770
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for proxy servers during image build</title>
<updated>2016-02-04T22:27:49+00:00</updated>
<author>
<name>John L. Villalovos</name>
<email>john.l.villalovos@intel.com</email>
</author>
<published>2016-01-13T22:13:20+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/ironic-python-agent.git/commit/?id=1ffaaf6abf3d7c480762003f73a40dc0c874f983'/>
<id>1ffaaf6abf3d7c480762003f73a40dc0c874f983</id>
<content type='text'>
When building the docker image, the 'apt-get' and 'pip install' that are
run inside the docker image will fail in a an environment that uses
proxy servers.

Support environments with proxy servers by dynamically propagating
'http_proxy', 'https_proxy', and 'no_proxy' into the docker environment
when running 'apt-get' and 'pip install'

This can not be done with either --env-file or --env as those are
arguments to 'docker run'. The command being run here is 'docker build'

Once Docker 1.9 is widely deployed, we should switch to using the 'ARG'
command which was added in Docker 1.9. Currently Ubuntu 14.04 uses
Docker 1.6.  Using the ARG command will be a much cleaner solution.

Change-Id: Idd994cd58b9fb75bae13a43fc8363c36f113527d
Closes-Bug: #1533796
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When building the docker image, the 'apt-get' and 'pip install' that are
run inside the docker image will fail in a an environment that uses
proxy servers.

Support environments with proxy servers by dynamically propagating
'http_proxy', 'https_proxy', and 'no_proxy' into the docker environment
when running 'apt-get' and 'pip install'

This can not be done with either --env-file or --env as those are
arguments to 'docker run'. The command being run here is 'docker build'

Once Docker 1.9 is widely deployed, we should switch to using the 'ARG'
command which was added in Docker 1.9. Currently Ubuntu 14.04 uses
Docker 1.6.  Using the ARG command will be a much cleaner solution.

Change-Id: Idd994cd58b9fb75bae13a43fc8363c36f113527d
Closes-Bug: #1533796
</pre>
</div>
</content>
</entry>
<entry>
<title>Leave git installed in docker builder</title>
<updated>2016-02-03T19:43:54+00:00</updated>
<author>
<name>Jim Rollenhagen</name>
<email>jim@jimrollenhagen.com</email>
</author>
<published>2016-01-28T17:49:14+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/ironic-python-agent.git/commit/?id=7c85ed8041184cd916db4719199ba430f157316c'/>
<id>7c85ed8041184cd916db4719199ba430f157316c</id>
<content type='text'>
Downstream agent builders that inherit from this Dockerfile will often
need git installed to be able to install hardware managers and such.
Removing git and reinstalling it can cause weird apt dependency issues
down the line, so leave it installed.

Change-Id: I8d5f35d0c8c6a231144a7b0a5b5c8f6d051ab0b1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Downstream agent builders that inherit from this Dockerfile will often
need git installed to be able to install hardware managers and such.
Removing git and reinstalling it can cause weird apt dependency issues
down the line, so leave it installed.

Change-Id: I8d5f35d0c8c6a231144a7b0a5b5c8f6d051ab0b1
</pre>
</div>
</content>
</entry>
<entry>
<title>Reduce size of CoreOS ramdisk</title>
<updated>2015-10-08T05:58:23+00:00</updated>
<author>
<name>Martin André</name>
<email>m.andre@redhat.com</email>
</author>
<published>2015-10-08T05:51:06+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/ironic-python-agent.git/commit/?id=5f7bc48707e9fe2d942feff0607db98d2d3ccf09'/>
<id>5f7bc48707e9fe2d942feff0607db98d2d3ccf09</id>
<content type='text'>
By disabling pip cache, we're able to reduce the size of generated
docker image by 10%. The resulting ramdisk size goes from 229MB to
218MB.

It is possible to decrease the size even further by combining all the
RUN instructions into one but it doesn't provide a substantial gain and
it harms readability.

Change-Id: Ie23636fe709ab7c1bcf4d6c51299c173a5b642ac
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By disabling pip cache, we're able to reduce the size of generated
docker image by 10%. The resulting ramdisk size goes from 229MB to
218MB.

It is possible to decrease the size even further by combining all the
RUN instructions into one but it doesn't provide a substantial gain and
it harms readability.

Change-Id: Ie23636fe709ab7c1bcf4d6c51299c173a5b642ac
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixes config drive creation failure in UEFI boot mode</title>
<updated>2015-09-23T23:14:46+00:00</updated>
<author>
<name>Shivanand Tendulker</name>
<email>stendulker@gmail.com</email>
</author>
<published>2015-08-20T10:19:14+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/ironic-python-agent.git/commit/?id=2d341c7f0d14bdac90156a7cb483ec562ec8d9e9'/>
<id>2d341c7f0d14bdac90156a7cb483ec562ec8d9e9</id>
<content type='text'>
This fix enables creation of config drive for UEFI only whole disk
images.
It will not work with the hybrid images that support booting in BIOS
and UEFI boot mode.

Change-Id: Ib4dd8c082a50e1dbaf0df91477b062716cb780ff
Closes-Bug: #1486887
Depends-On: I81400305f166d62aa4612aab54602abb8178b64c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fix enables creation of config drive for UEFI only whole disk
images.
It will not work with the hybrid images that support booting in BIOS
and UEFI boot mode.

Change-Id: Ib4dd8c082a50e1dbaf0df91477b062716cb780ff
Closes-Bug: #1486887
Depends-On: I81400305f166d62aa4612aab54602abb8178b64c
</pre>
</div>
</content>
</entry>
<entry>
<title>Install "dmidecode" and "ipmitool" by default</title>
<updated>2015-09-10T15:38:05+00:00</updated>
<author>
<name>Lucas Alvares Gomes</name>
<email>lucasagomes@gmail.com</email>
</author>
<published>2015-09-10T15:24:11+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/ironic-python-agent.git/commit/?id=f683a783af2898c4753ad2fc2dce29a88a225976'/>
<id>f683a783af2898c4753ad2fc2dce29a88a225976</id>
<content type='text'>
The get_memory() method relies on dmidecode to get the total amount of
RAM present in the node but, but by default dmidecode is not installed
in the image.

Same for get_bmc_address() and ipmitool.

This patch fixes both cases by installing the "dmidecode" and "ipmitool"
packages when generating the CoreOS image of IPA.

Closes-Bug: 1494367
Change-Id: Ibded7bd533d604cf21a3b60afd396dc7b8b8750b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The get_memory() method relies on dmidecode to get the total amount of
RAM present in the node but, but by default dmidecode is not installed
in the image.

Same for get_bmc_address() and ipmitool.

This patch fixes both cases by installing the "dmidecode" and "ipmitool"
packages when generating the CoreOS image of IPA.

Closes-Bug: 1494367
Change-Id: Ibded7bd533d604cf21a3b60afd396dc7b8b8750b
</pre>
</div>
</content>
</entry>
</feed>
