I think this probably makes sense, but some more thoughts inline. On 07/15/2016 03:13 PM, Stephane Miller wrote: > To better support diskimage-builder based IPA images going forward, we'd > like to move the ironic-agent element into the ironic-python-agent > repository. This will involve: > > - Improving support for having multiple copies of an element, so that we > may deprecate the diskimage-builder repository copy of the element. See > this change and related: https://review.openstack.org/#/c/334785 > - Moving the element into the repository. This change has been proposed > as https://review.openstack.org/#/c/335583/ > - Deprecating the diskimage-builder copy of the element (TBD) > - Adding tests to gate IPA changes on DIB builds (TBD)
We could potentially add tripleo-ci to the IPA repo, which would take care of this. As an added bonus, it could cover both the introspection and deployment use cases for IPA. On the other hand, if a separate Ironic job were added to cover this, tripleo could stop ever building new IPA images in CI except in the promote jobs when we bump our version of IPA. This would delay our finding problems with IPA element changes, but realistically I'm not sure how many of those are happening these days anyway. I'd expect that most changes are happening in IPA itself, which we don't currently CI. > - Add upload of DIB-built images to tarballs.openstack.org > <http://tarballs.openstack.org> (TBD) We would also need to resolve https://review.openstack.org/#/c/334042/ I'm not clear why, but the ironic-agent element was given special treatment in disk-image-create (which is evil, but what's done is done) and we'd need to figure out why and a solution that wouldn't require referencing an out-of-tree element in diskimage-builder. > > Many IPA deployers currently use DIB based IPA images using the > ironic-agent element. However, IPA does not officially support DIB - IPA > changes are not tested against DIB, nor are DIB-built images published. tripleo-ci actually does publish images, but they aren't well publicized at this point, and it only does so when we promote a repo. > > This has the following disadvantages: > > - The DIB element is not versioned along with IPA, resulting in > potential version mismatch and breakage > - ironic-agent element changes are not tested with DIB prior to merge This isn't true today. tripleo-ci runs against all diskimage-builder changes and uses an IPA ramdisk. The version mismatch is a legit problem with the current setup, although I'm not aware of any actual breakages that have happened (which doesn't necessarily mean they haven't :-). > > Understandably, tripleo and other projects may have concerns with regard > to this change. I hope to start a discussion here so that those concerns > can be addressed. Further in-depth discussion of this issue can be found > in the relevant launchpad bug: > https://bugs.launchpad.net/ironic-python-agent/+bug/1590935 > > Thanks, > Stephane > > > __________________________________________________________________________ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: [email protected]?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: [email protected]?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
