The reapply API/Action(openstack baremetal introspection reprocess UUID)
doesn't update the started_at time when Ironic Inspector begins processing
the node.
This adds the started_at time when the reapply API/Action is performed.
Change-Id: Ic79db4ba9305841fb662afcb56f556ad4a57a500
Closes-Bug: #1625180
When the timezone of an ironic-inspector develop environment is CST,
tox test will fail. So we should set TZ to UTC by default.
Change-Id: Icebef00efe029d793e04e1aec81132805009bde0
Closes-Bug: #1669699
Add a tool which generates dot diagram from inspector state machine
using atomaton pydot convertor.
Also add generated svg diagram to docs.
Change-Id: I021812288f1833a6ebad2f90cbe862d40bd8d503
There is no needs to wait before sending the next node on introspection
in functional tests, so set configuration introspection_delay -> 0.
Also functional tests contain explicit sleeps.
Change-Id: If57a34d41cf31e2a436d7b9c66ff954b6321d7de
devstack/plugin.sh hardwires brbm as the VM bridge.
Referencing ironic plugin VM variable makes more sense.
Change-Id: I89fe2050bc4fd166fc8e0b649daa195091364ba2
Closes-Bug: 1641019
Use the flake8 plugin flake8-import-order to check import ordering. It
can do it automatically and don't need reviewers to check it.
Change-Id: I9ced9c297273db0eec6ab3995b663b1e8dffe87d
Liberty will never be released again, so I'm changing the 2.2.x to 2.2.7
(the last liberty release of inspector), as a requested followup to the
previous patch.
Change-Id: Id30efb6bab1304e98ea26dfb892805b42e20c4aa
Current documentation to deploy ironic-inspector with DevStack needs
an update similar to the ironic project.
This patch modifies/updates a section "DevStack Support". Also, it
updates the example.local.conf to a configuration that can be used
as-is to deploy ironic-inspector with DevStack.
Change-Id: I0a4a5198246e3ca69d2bd050dd31c6b468094fcf
This patch modifies current attributes matching from a single
name-value->node hit to a best-match score.
Also using an UUID as the attributes table primary key to allow exposing
attributes in API later (bug 1525231).
Change-Id: I205e31652b21b9e030b9530149e533b29c52a387
Closes-Bug: 1651719
Partial-Bug: 1525231
since v3.2.0 swiftclient supports instantiating the API client from
keystonauth session, and we already require this version as minimal in
ironic.
This patch removes existing workarounds in SwiftAPI code which were there
only to accomodate for absence of session handling in swiftclient,
and now the keystoneauth session built from the [swift] config section
is used directly to instantiate the swift API client.
Change-Id: I593156d122db62b49e2d383d3dbbbae691b7b904
Related-Bug: #1518938
Co-Authored-By: Pavlo Shchelokovskyy <shchelokovskyy@gmail.com>
Part of ironic-inspector devstack plugins cleanup proceedure is to try
to delete the ironic-inspector network interface if it isn't the ovs
bridge. This means that if you configure devstack to point at a real
network interface it'll try to delete it and fail breaking devstack.
Change-Id: I4f18edcf86278cce787a5f33f3d9f2444d738f2c
test.call_until_true has been deprecated since Newton on Tempest side,
and now Tempest provides test_utils.call_until_true as the stable
library method. So this patch switches to use the stable method before
removing old test.call_until_true on Tempest side.
Change-Id: I5e82466f6eb7b164042406813b1ad72a1cbb05fa
This adds node_info that was missing from some log messages, cleans
up some docstrings, and makes other minor changes to lldp plugin.
Change-Id: I69be417d7da191487f3aac624368d153a16192ff
Add `where` clause to timestamp update, otherwise existing nodes
will contain timestamp of the last node.
Change-Id: I6a729522e2d077ecf84e48fedb0bf92c16cde838
Closes-Bug: #1662504
Add simple script to setup mysql and postgresql databases, this script
can be run by users during testing and will be run by CI systems for
specific setup before running unit tests. This is exactly what is
currently done by OpenStack CI in project-config.
This allows to change in project-config the python-db jobs to
python-jobs since python-jobs will call this script initially.
See also
http://lists.openstack.org/pipermail/openstack-dev/2016-November/107784.html
Update CONTRIBUTING for this.
Change-Id: Ifc16055770e7bf765630814981e3d273876907a7
Needed-By: Icc2a8115cd0b5de165cab2076dbed890f28de172