[openstack-dev] [Ironic] [RFC/FFE] Finishing state machine work for Kilo
Dmitry Tantsur
dtantsur at redhat.com
Fri Apr 3 08:29:09 UTC 2015
Hi all!
Today I got an internal email, stating that new ironicclient brakes
ironic-discoverd. Indeed, after rebase to the latest ironicclient git
master, discoverd started receiving "AVAILABLE" state instead of "None"
for newly enrolled nodes. It's not a valid state for introspection,
valid are "MANAGEABLE" (discoverd stand-alone usage), "INSPECTING"
(discoverd via Ironic driver) and None (Juno + discoverd stand-alone).
Looks like despite introducing microversions we did manage to break
3rdparty apps relying on states... Also we're in a bit weird situation
where nodes appear ready for scheduling, despite us having a special
state for managing nodes _before_ being ready for scheduling.
I find the situation pretty confusing, and I'd like your comments on the
following proposal to be implemented before RC1:
1. add new micro-version 1.7. nodes created by API with this version
will appear in state MANAGEABLE;
2. make a client release with current API version set to 1.6 (thus
excluding change #1 from users of this version);
3. set current API version for ironicclient to 1.7 and release
ironicclient version 2.0.0 to designate behavior changes;
4. document the whole thingy properly
#1 should be a small change, but it definitely requires FFE.
Thoughts?
Dmitry
More information about the OpenStack-dev
mailing list