<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
1.x.x releases of Ansible OpenStack collection are compatible to
openstacksdk<0.99.0 only. The upcoming 1.9.0 release will declare
its incompatibility and raise an error with SDK >=0.99.0 [1].<br>
<br>
Our current 1.8.0 release on Ansible Galaxy is partially broken with
the new SDK but some parts still work (without any warranty). Once
we release 1.9.0 it will refuse to work with latest SDK and we might
immediately break use cases which kinda-work-with-new-sdk. We had
this situation with our master branch where this safety check broke
TripleO [2] which is why we shy away from releasing 1.9.0 for now.
This is open for discussion, feedback is appreciated!<br>
<br>
[1]
<a class="moz-txt-link-freetext" href="https://opendev.org/openstack/ansible-collections-openstack/commit/75558c5c2e970d40133273432ac77bbb161ff4ed">https://opendev.org/openstack/ansible-collections-openstack/commit/75558c5c2e970d40133273432ac77bbb161ff4ed</a><br>
[2]
<a class="moz-txt-link-freetext" href="https://opendev.org/openstack/ansible-collections-openstack/commit/1b59c19a24c55aa236d80552dcbf70c9c7b5088e">https://opendev.org/openstack/ansible-collections-openstack/commit/1b59c19a24c55aa236d80552dcbf70c9c7b5088e</a><br>
<br>
Best,<br>
Jakob<br>
<br>
<div class="moz-cite-prefix">On 30.05.22 17:53, Pierre Riteau wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CA+ny2szW0dmgOqo7MAVEHKcdpyJ0VhSTCsaPoTq9kpQ8jnRkfw@mail.gmail.com">
<div dir="ltr">
<div>Thank you Jakob for describing the evolution of the
collection.</div>
<div><br>
</div>
<div>Are you planning to release an updated 1.x.x version soon,
given that new installs of 1.8.0 will use openstacksdk 0.99.0
which breaks image upload?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Pierre Riteau (priteau)</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, 27 May 2022 at
14:14, Jakob Meng <<a href="mailto:jmeng@redhat.com"
moz-do-not-send="true" class="moz-txt-link-freetext">jmeng@redhat.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote">Hello contributors and users
of the Ansible OpenStack collection [1]!<br>
<br>
This week a release candidate of the upcoming first major
release of <br>
OpenStack SDK has been released [2],[3]. It streamlined and
improved <br>
large parts of its codebase. For example, its Connection
interface now <br>
consistently uses the Resource interfaces under the hood.
This required <br>
breaking changes from older SDK releases though.<br>
<br>
The Ansible OpenStack collection is heavily based on
OpenStack SDK. With <br>
OpenStack SDK becoming backward incompatible (for the
better), so does <br>
our Ansible OpenStack collection. We simply lack the
devpower to <br>
maintain a backward compatible interface in Ansible
OpenStack collection <br>
across several SDK releases.<br>
<br>
We already split our codebase into two separate git
branches: master and <br>
stable/<a href="http://1.0.0." rel="noreferrer"
target="_blank" moz-do-not-send="true">1.0.0.</a> The
former will track the upcoming 2.x.x releases of <br>
Ansible OpenStack collection which will be compatible with
OpenStack SDK <br>
1.x.x (and its rcs 0.99.x) *only*. Our stable/1.0.0 branch
will track <br>
the current 1.x.x releases of Ansible OpenStack collection
which is <br>
compatible with OpenStack SDK prior to 0.99.0 *only*. Both
branches will <br>
be developed in parallel for the time being.<br>
<br>
Our 2.0.0 release is currently under development and we
still have a <br>
long way to go. "We" mainly are a couple of Red Hat
employees working <br>
part-time on the collection. If you use modules of Ansible
OpenStack <br>
collection and want to help us with porting them to the new
SDK, please <br>
contact us!<br>
<br>
If you want to help, please reach out to us (e.g. [7],[8])
and we can <br>
give you a quick introduction into everything. We have
extensive <br>
documentation on why, what and how we are adopting and
reviewing the new <br>
modules [4], how to set up a working DevStack environment
for hacking on <br>
the collection [5] and, most importantly, a list of modules
where we are <br>
coordinating our porting efforts [6]. We are also hanging
around on <br>
<a href="http://irc.oftc.net/#openstack-ansible-sig"
rel="noreferrer" target="_blank" moz-do-not-send="true">irc.oftc.net/#openstack-ansible-sig</a>
and #oooq 😎<br>
<br>
[1] <a
href="https://opendev.org/openstack/ansible-collections-openstack"
rel="noreferrer" target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://opendev.org/openstack/ansible-collections-openstack</a><br>
[2] <a
href="https://github.com/openstack/openstacksdk/releases/tag/0.99.0"
rel="noreferrer" target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://github.com/openstack/openstacksdk/releases/tag/0.99.0</a><br>
[3] <a href="https://pypi.org/project/openstacksdk/0.99.0/"
rel="noreferrer" target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://pypi.org/project/openstacksdk/0.99.0/</a><br>
[4] <a href="https://hackmd.io/szgyWa5qSUOWw3JJBXLmOQ?view"
rel="noreferrer" target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://hackmd.io/szgyWa5qSUOWw3JJBXLmOQ?view</a><br>
[5] <a href="https://hackmd.io/PI10x-iCTBuO09duvpeWgQ?view"
rel="noreferrer" target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://hackmd.io/PI10x-iCTBuO09duvpeWgQ?view</a><br>
[6] <a href="https://hackmd.io/7NtovjRkRn-tKraBXfz9jw?view"
rel="noreferrer" target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://hackmd.io/7NtovjRkRn-tKraBXfz9jw?view</a><br>
[7] Rafael Castillo <<a href="mailto:rcastill@redhat.com"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">rcastill@redhat.com</a>>
(rcastillo)<br>
[8] Jakob Meng <<a href="mailto:mail@jakobmeng.de"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">mail@jakobmeng.de</a>>,
<<a href="mailto:jmeng@redhat.com" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">jmeng@redhat.com</a>>
(jm1)<br>
<br>
Best,<br>
Jakob<br>
<br>
<br>
</blockquote>
</div>
</div>
</blockquote>
<br>
</body>
</html>