Commit Graph

1028 Commits

Author SHA1 Message Date
OpenDev Sysadmins 4f8de0e3d6 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:32:45 +00:00
Ramamani Yeleswarapu 53972b61bf [Devstack] cleanup upgrade settings
We now enable plugin and services in project-config.
Drop those duplications from devstack/upgrade/settings.

Reference commit: 0204bd9ef4a09c791983bc1334fd32d09615ab63

Change-Id: Ie24f97eb3dfc8355845e864aebbd5184e900da30
Closes-Bug: #1672448
(cherry picked from commit 74e27b9bf3)
2017-07-06 10:33:19 -07:00
Ramamani Yeleswarapu da908db4c8 grenade: Only 'enable_plugin ironic-inspector' if not already in conf
To support multi-node grenade jobs we need to move enabling of the
ironic-inspector devstack plugin out of the ironic-inspector grenade
settings file devstack/upgrade/settings. But if we add enabling of the
ironic-inspector devstack plugin to project-config it will cause the gate
to break as the plugin will be enabled twice.

This patch is similar to the change done in ironic for the same purpose.

This checks to see if the ironic-inspector devstack plugin has already been
enabled:
  * If it has already been enabled it will not enable it again.
  * If it has not yet been enabled it will enable it.

This will allow us to update project-config to enable the ironic-inspector
devstack plugin and not break the gate.

After all the changes have landed we will propose a follow-up patch to
remove all this additonal logic and the enabling of the ironic-inspector
devstack plugin.

Change-Id: Id1a5de9a8aefe751b63c1a6a9f2c942fe4c957b1
Closes-Bug: #1672448
(cherry picked from commit 69157e5554)
2017-06-22 17:14:07 -07:00
Dmitry Tantsur e4fb858b3c Do not fail rules rollback on bad formatting key
The reason we're running rollback may be because some keys are not present.
We don't want to fail due to that, see bug 1686942 for an example.

Change-Id: Iac242df9987f1ce0c7a6db4f70440fa8f2aabc46
Closes-Bug: #1686942
(cherry picked from commit ce4fb10115)
2017-05-17 11:31:17 +00:00
OpenStack Proposal Bot 3115c1853d Updated from global requirements
Change-Id: Ib1d91af1a08e862a653403695815b3c74278e53b
2017-05-15 23:31:12 +00:00
Anton Arefiev 18660a1656 Use eventlet version of subprocess
Eventlet doesn't patch subprocess module, see bug [1]. As result
trying to catch subprocess.CalledProcessError exception wouldn't
work. So use subprocess module from eventlet.

[1] https://github.com/eventlet/eventlet/issues/357

Closes-Bug: #1675744
Change-Id: I4a744cef35e9f58c532d979ce61c912cfdfccd97
(cherry picked from commit 402769f9ad)
2017-03-24 17:24:10 +00:00
Jenkins 5494bd0404 Merge "Grenade: don't enable tempest plugins in settings" into stable/ocata 2017-03-23 20:08:25 +00:00
OpenStack Proposal Bot e78f06d51a Updated from global requirements
Change-Id: Id376785a833799f2be642080826191b90d171de2
2017-03-09 18:14:35 +00:00
Anton Arefiev 4952260eff Grenade: don't enable tempest plugins in settings
Tempest plugin is enabled in infra configuration with appropriate
branch, so just remove tempest enable.

Change-Id: I2d598e8843d9fe1d344613705c3df10198c0f963
2017-02-24 09:24:14 +00:00
OpenStack Release Bot babc2b6fc3 Update UPPER_CONSTRAINTS_FILE for stable/ocata
Change-Id: Iefaa2f13fd49bbaa32a33d822846f744283af6c3
2017-02-13 22:25:50 +00:00
OpenStack Release Bot 62073ad0e4 Update .gitreview for stable/ocata
Change-Id: I6ce46499189759665dd570a404a560715a33cf7c
2017-02-13 22:25:49 +00:00
Jenkins 7d0806b664 Merge "Fix some grammar and spelling issues in release notes" 2017-02-13 21:46:10 +00:00
Sam Betts 81cef3d863 Fix some grammar and spelling issues in release notes
Change-Id: Ib94c31b2dcf8de7879e7bd1c0b77e6de32c8c2cb
2017-02-13 16:00:51 -05:00
Jenkins 0b165367b2 Merge "Pass session directly to swiftclient" 2017-02-13 14:25:34 +00:00
dparalen 0ce5cdb7c8 Find a node by multiple attributes
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
2017-02-10 17:24:27 +01:00
Anton Arefiev 7e8cdc0d0f Pass session directly to swiftclient
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>
2017-02-10 17:40:08 +02:00
Jenkins f9915931b2 Merge "Ensure devstack does not try to delete a physical NIC" 2017-02-10 14:16:07 +00:00
Jenkins 80275637c5 Merge "Switch to use test_utils.call_until_true" 2017-02-10 13:25:15 +00:00
Jenkins 967c89bec3 Merge "Fix updating rows in d00d6e3f38c4 migration" 2017-02-10 12:54:44 +00:00
Jenkins adeffed7e9 Merge "Add node_info to some messages and clean up docstrings for lldp plugin" 2017-02-10 12:54:34 +00:00
Sam Betts 5d0c7394e0 Ensure devstack does not try to delete a physical NIC
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
2017-02-10 11:05:21 +00:00
Ken'ichi Ohmichi 02113d25bd Switch to use test_utils.call_until_true
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
2017-02-09 10:04:40 -08:00
Bob Fournier 1101741bd9 Add node_info to some messages and clean up docstrings for lldp plugin
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
2017-02-08 08:07:50 -05:00
Anton Arefiev 500623f989 Fix updating rows in d00d6e3f38c4 migration
Add `where` clause to timestamp update, otherwise existing nodes
will contain timestamp of the last node.

Change-Id: I6a729522e2d077ecf84e48fedb0bf92c16cde838
Closes-Bug: #1662504
2017-02-08 14:57:49 +02:00
Anh Tran c2c27bb5e5 Typo fix: infromation => information
Change-Id: I55d00254392df3c604cd9ab1ec4e3ecb891e2bd4
2017-02-08 16:05:43 +07:00
Jenkins 6bf5bc8228 Merge "Prepare for using standard python tests" 2017-02-05 20:06:47 +00:00
Jenkins 696bed50fc Merge "Trivial: improve logging in FSM transition" 2017-02-03 20:33:07 +00:00
Andreas Jaeger ffcb93e03b Prepare for using standard python tests
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
2017-02-03 20:35:17 +01:00
Jenkins b455e238cd Merge "Add plugin to process basic management LLDP TLVs" 2017-02-03 11:17:44 +00:00
Jenkins 516ddc424f Merge "Adding InfiniBand Support" 2017-02-02 16:29:28 +00:00
Jenkins 3e55bfe541 Merge "Clean up logging related to new state machine" 2017-02-02 12:35:11 +00:00
Anton Arefiev 25015daded Trivial: improve logging in FSM transition
Logging function name and module where it is located
if exception is raised during fsm transition.
It helps to find out the cause faster.

Change-Id: I2b07333420a53b7c83ea4fd99332b5e444bfc8c1
2017-02-02 13:10:23 +02:00
Moshe Levi 1dce3b12d3 Adding InfiniBand Support
InfiniBand is computer-networking communications standard
used in high-performance computing, features very high
throughput and very low latency.
This patch allow ironic-inspector to add the client_id
to ironic port extra. The client_id option allow pxe boot
from InfiniBand interface.

Closes-Bug: #1532534
Depends-On: Ifad453977e5d3be64b34e544f269835a72b4d73f
Change-Id: I479d54c29bcacb6bd5c1ab20033ae6e428b0e744
2017-02-01 08:34:38 -05:00
Jenkins 0b634ed5b3 Merge "Clean up deprecated configuration options" 2017-02-01 12:00:20 +00:00
Jenkins 805dbca194 Merge "Deprecated log_bmc_address option" 2017-02-01 12:00:12 +00:00
Bob Fournier 8834927d4c Add plugin to process basic management LLDP TLVs
This adds a plugin to process the raw LLDP TLVs stored in Swift for
the Basic Mgmt, 802.1, and 802.3 data sets and store the parsed data
back in Swift.  It implements the TLV processing as described in the
specification:
http://specs.openstack.org/openstack/ironic-inspector-specs/specs/lldp-reporting.html

Change-Id: I854826787ff045ffb2807970deaba8b77cbe277d
Closes-Bug: 1647515
Related-Bug: 1626253
2017-01-31 19:51:39 -05:00
Jenkins c53d5d6c1c Merge "Update external links in the documentation" 2017-01-31 12:48:35 +00:00
Jenkins 97b33e75a9 Merge "[devstack] Stop installing jq, we're not using it in tests any more" 2017-01-31 12:48:22 +00:00
Dmitry Tantsur 57ee71b2e0 Clean up logging related to new state machine
* Do not log every function call. It was nice for debugging, but now it just
  clutters the logs. Expecially when we log arguments, containing
  the whole inventory.
* Do not log "state None", it's not helpful.
* Move state assignment down in NodeCache.__init__, otherwise it's always
  overwritten by invalidate_cache() call.

Change-Id: Ic7e8f6a6c3957684be2f6f80529aa7776df81153
2017-01-31 13:21:43 +01:00
Jenkins 51ff7de891 Merge "Remove heading "Team and repository tags"" 2017-01-31 02:12:42 +00:00
Jenkins 595ad3a513 Merge "Deprecate introspection_delay_drivers option and make it no-op" 2017-01-30 16:07:21 +00:00
Jenkins 2f15d7859d Merge "Allow diskless nodes introspection" 2017-01-30 14:28:33 +00:00
Jenkins fdbd14cdc9 Merge "Switch to decorators.idempotent_id" 2017-01-30 14:13:32 +00:00
Dmitry Tantsur d6c3ca1986 Update external links in the documentation
* Add a link to ironic-inspector-client documentation
* Remove the link to blueprints, we no longer use them
* Update the link to Ironic inspection documentation

Change-Id: Ia0ec933e8fe213ffea4a8ac389b6d2028ea7e9ec
2017-01-27 10:25:32 +01:00
Dmitry Tantsur 73584d27bb Clean up deprecated configuration options
Mostly removes old authentication options and support for [discoverd].

Also update example.conf to the latest version.

Change-Id: Ided8705c4345a1170c211d926d916cec2173ccb9
2017-01-27 10:22:55 +01:00
ghanshyam aeb72b87f5 Switch to decorators.idempotent_id
test.idempotent_id is being kept temporary to migrate
to new lib interface. Now idempotent_id is available as Tempest stable
interface decorators and all plugins tests using the old decorator
should be switched to new interface.

In future, Once all plugins are switched to new decorator Tempest
will remove the test.idempotent_id

Change-Id: I993fcd22070dca995fb2fb59e876230e8fd0df9e
Related-Bug: 1616913
2017-01-27 06:37:46 +00:00
OpenStack Proposal Bot 43fe364314 Updated from global requirements
Change-Id: I5369040406580cb536be4331162e7a133578533b
2017-01-26 18:44:04 +00:00
Jenkins d557080623 Merge "Deprecate setting IPMI credentials" 2017-01-26 18:10:42 +00:00
Jenkins b3e0884eaa Merge "Devstack: don't rely on Ironic local vars" 2017-01-26 17:47:07 +00:00
Dmitry Tantsur 6e2ea6242d Allow diskless nodes introspection
There is a demand to use introspection on diskless nodes to figure out
what is possible to figure out.

We might need more changes to properly support diskless nodes, this
change is just to allow people to play with it.

The property ``local_gb == 0`` for a diskless node.

Change-Id: I21b2f2c069fdbf767367ec3d1fbf77bab6292b25
Partial-Bug: #1554243
2017-01-26 17:08:56 +01:00