Commit graph

9195 commits

Author SHA1 Message Date
OpenDev Sysadmins
d0e6c6cb10 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:40:53 +00:00
Zuul
b0f0483818 Merge "Run IPMI, SNMP and Redfish BMC emulators as stack" 2019-04-17 23:16:56 +00:00
Zuul
6bc98c6061 Merge "Add UEFI firmware to Redfish emulator config" 2019-04-17 23:16:54 +00:00
Zuul
a03e55f2d4 Merge "Do not try to create temporary URLs with zero lifetime" 2019-04-17 15:38:29 +00:00
Zuul
3e32ac271a Merge "Place upper bound on python-dracclient version" 2019-04-16 15:16:09 +00:00
Zuul
cd27c7af05 Merge "devstack: Remove syslinux dependency" 2019-04-16 15:15:03 +00:00
Richard Pioso
708319742d Place upper bound on python-dracclient version
The idrac hardware type requires python-dracclient versions greater than
or equal to 1.5.0 and less than 3.0.0.

This defines the upper bound to be less than 3.0.0 to make it easier to
backport to stable/stein. It was originally proposed against
stable/stein -- https://review.openstack.org/#/c/645956/ . Reviewers
asked that it be submitted against master first --
https://review.openstack.org/#/c/645956/1/driver-requirements.txt@12 --
and then backported to stable/stein.

The ironic master and stable/stein branches are compatible with
python-dracclient releases less than 3.0.0. Note that
python-dracclient's stable/stein branch was created off of tag 2.0.0.
The ironic stable/stein branch follows tag 12.1.0, which was created on
March 21. The python-dracclient tag 3.0.0 was created after that, on
April 4. The upper bound on master will be updated to less than 4.0.0 by
a follow-on change.

A related change has been proposed for stable/rocky --
https://review.openstack.org/#/c/651657/ . It will be backported to
stable/queens and prior after it merges.

Change-Id: I5f6d6be53aec9d72e8ba5cfa436f12e01966f871
2019-04-15 18:29:45 -04:00
Michael Turek
c2588c4de4 devstack: Remove syslinux dependency
syslinux should no longer be required by any arch. This patch removes
the dependency.

Change-Id: Id4aea9acb9bf4ac34c0d5e9bca27fb48ea1b009a
2019-04-15 14:28:48 +00:00
Dmitry Tantsur
2039138cfe Do not try to create temporary URLs with zero lifetime
A new option is introduced for that, which defaults to the deploy timeout
if it is set and to 1800 seconds if it is not.

Change-Id: I10e02919e40d25bd4411f2b6f98f9317d1cfb187
Story: #1653112
Task: #9707
2019-04-15 14:27:36 +02:00
Zuul
1c0d20d6b0 Merge "Ansible module: fix clean error handling" 2019-04-13 01:16:11 +00:00
Zuul
b63adabc34 Merge "Make it possible to send sensor data for all nodes" 2019-04-12 21:25:02 +00:00
Zuul
67e0acde24 Merge "Split ibmc power/reboot classes" 2019-04-12 18:02:52 +00:00
Zuul
5fe272f4f8 Merge "Use the PUBLIC_BRIDGE for vxlan" 2019-04-12 15:03:05 +00:00
Zuul
e2e94e1307 Merge "Ansible module: fix partition_configdrive.sh file" 2019-04-11 16:07:26 +00:00
Raphael Glon
84741e9409 Ansible module: fix partition_configdrive.sh file
Images with GPT partition tables could not be deployed correctly
The if condition could never be met due to an invalid syntax, leading to
partitioning failure

Change-Id: I11202b115f9b80e8c853dca36cc66ab0eb8f7dea
Story: #2005357
Task: #30317
2019-04-11 09:54:33 +00:00
Julia Kreger
1d0accbbe1 Use the PUBLIC_BRIDGE for vxlan
The PUBLIC_BRIDGE parameter, for most multinode zuul jobs
defaults to br-infra in cases where native zuul configuration
is used.

However, this is not true for legacy jobs still using devstack-gate.

When jobs are invoked with devstack-gate, the bridge must be set
to match the devstack-gate scripting as zuul *does not* setup the
vxlan bridge for us. Devstack-gate does so.

Change-Id: I37bff3c4d930ada483690d0dea17cb9a64d51fd2
2019-04-10 07:10:49 -07:00
Dmitry Tantsur
84dfc151ea Uncap jsonschema in requirements
It's no longer capped in global-requirements, so the requirements
check no longer passes on ironic. This patch fixes it.

Change-Id: Iefbb2e935fda9b9aeb332d04715b98840a581c86
2019-04-10 11:36:58 +02:00
Zuul
7cfdd9ae57 Merge "Add systemd unit for sushy emulator in devstack" 2019-04-10 05:45:48 +00:00
Julia Kreger
3fce1a54a2 Split ibmc power/reboot classes
We've seen some fun things in the past with
the test runner and things like sleep getting
mocked in the background resulting in some odd
behaviors when multiple tests are iterating
and performing calls.

Since that is the case, and we've seen the ibmc
reboot test case sporatically fail, lets try
splitting the reboot testing into its own test
class which results in a different runner thread
and some minor restructuring to limit variables.

Change-Id: I2051995cc7080ba42aedb57816ab8f63154c7f51
2019-04-09 19:34:15 -07:00
Julia Kreger
2bb05fef72 Temporarily mark grenade multinode as non-voting
Seems the bridg name has changed, and until we're
able to get it sorted, lets mark it non-voting such
that we're able to land other code... and actually
land any fixes since the changes ideally need to
merge to stable/stein first given grenade's
operating model.

Change-Id: Ibeb89003416b398c199d605744eadf408927de45
2019-04-09 12:54:34 -07:00
Ilya Etingof
380519c07f Run IPMI, SNMP and Redfish BMC emulators as stack
Run IPMI, SNMP and Redfish emulators in devstack as user
`stack` as opposed to `root`. The intention is to
avoid accidental privilege escalation.

By way of this change, emulators management harness
reworked and unified.

Change-Id: I1fa2bb39e5fbedefb828fba72ef00f534db78076
2019-04-09 14:05:37 +02:00
Ilya Etingof
9d9e7df879 Add UEFI firmware to Redfish emulator config
To be able to UEFI boot via Redfish emulator, the latter
needs to be aware of the libvirt UEFI firmware blobs.

Change-Id: I3978c73564e2e955f390815ce5a20b58862cc495
2019-04-09 14:04:45 +02:00
Ilya Etingof
4964d17716 Add systemd unit for sushy emulator in devstack
Change-Id: I6d463dace526a514dcba1bf6a4b24d82b115fda4
2019-04-09 14:03:02 +02:00
Raphael Glon
df5261bb34 Ansible module: fix clean error handling
It should not be up to the driver to handle the error. The error should
reach the manager. Moreover, handling the error in the driver and
returning nothing caused the manager to consider the step done and go to
the next one instead of interrupting the cleaning workflow

Change-Id: I3825838b5507bc735d983466aa3cac0edd4dfaca
Story: #2005357
Task: #30315
2019-04-08 11:10:19 +02:00
Arne Wiebalck
e8a8b7897f [Trivial] Fix typo in agent_base_vendor unit test
Change-Id: I022300e4c5b5d4e871d71df62935d142836ab905
2019-04-08 11:04:40 +02:00
Zuul
46533ebea2 Merge "Add a request_timeout to neutron" 2019-04-05 13:56:16 +00:00
Zuul
7618fbda63 Merge "Ansible module fix: stream_url" 2019-04-05 13:46:07 +00:00
Julia Kreger
56bec518b6 Add a request_timeout to neutron
Neutron's pre-commit processing can take some time
and even exceed 30 seconds in CI. Lets make it 45 and
have an explicit timeout passed for the request handling
to be setup with the python-neutronclient initialization.

Change-Id: I9947656c959af2128e7dbf30ba6b38cc2af35dae
Story: 2005371
Task: 30347
2019-04-04 09:39:07 -07:00
Qianbiao NG
74357e5d0b doc: update ibmc driver support servers document
update document for the supported servers scope of ibmc driver

Change-Id: I09ab51ac07a11b57d936ec7d47b149bb5a80b41e
2019-04-04 14:09:04 +00:00
Raphael Glon
732bbd851d Ansible module fix: stream_url
python-requests api misused (invalid kw).
raw images could not be streamed correctly down to the host

Change-Id: I2a2d9bd92899c4d93bf7bceefa9a01d80328b762
Story: #2005357
Task: #30316
2019-04-04 11:17:49 +02:00
Zuul
d2d08c06a8 Merge "Slightly rephrase note in tenant networking docs" 2019-04-03 19:11:20 +00:00
Zuul
93eccb83bf Merge "Bump sphinxcontrib-pecanwsme to 0.10.0" 2019-04-03 18:40:43 +00:00
Julia Kreger
68ba345520 Make it possible to send sensor data for all nodes
Presently the data collection defaults to only permit
sensor data to be collected and transmitted as notifications
for instances deployed via nova, however standalone operators
or general data center operators may find the sensor data
useful to identify undeployed failing hardware and overall
check the hardware health.

Adds a boolean to control the filter being set for a deployed
node.

Change-Id: I345f6e3a9f47d8d09ea488d64927fd0c5fb7dfc7
2019-04-02 16:00:22 -07:00
Jan Gutter
3e703a6b2f Slightly rephrase note in tenant networking docs
* Taken out of context, the note could cause a bit of confusion,
  explicitly note the difference between flat and neutron networking.

Change-Id: Ief0cf6861b510af50574fdf623526a1560301caf
Signed-off-by: Jan Gutter <jan.gutter@netronome.com>
2019-04-02 15:09:44 +02:00
Zuul
de390cc585 Merge "Remove vbmc log file in devstack" 2019-04-02 12:59:50 +00:00
Jan Gutter
d52aacd29d Bump sphinxcontrib-pecanwsme to 0.10.0
Sphinx 2.0 requires at least 0.10.0

Depends-on: I50f778e639acd2b4d9b0069a0081ff78b574ba7c
Change-Id: If88c529a60b0a58eb9439af1115ab558b6d7f6dd
Signed-off-by: Jan Gutter <jan.gutter@netronome.com>
2019-04-02 14:52:39 +02:00
Zuul
1b68717964 Merge "Make 'noop' the explicit default of default_storage_interface" 2019-04-01 08:14:08 +00:00
Zuul
eaf6d8d95d Merge "Replace openstack.org git:// URLs with https://" 2019-03-31 19:25:07 +00:00
Julia Kreger
418a5668a4 ipmi: Ignore sensor debug data
When the conductor has debugging enabled, that command is
passed to ipmitool to enable debugging of other commands.

However, this means tons of extra data is dumped as part of
the sensor data collection for ironic, which breaks string
parsing and ultimately metrics collection.

Since we can identify these lines, lets ignore them.

Change-Id: Ife77707210f8289d8f2e0223fb9ee1909d798546
Story: 2005332
Task: 30267
2019-03-29 17:37:21 +00:00
Zuul
c4ac28dff0 Merge "Check for deploy.deploy deploy step in heartbeat" 2019-03-29 15:53:23 +00:00
Zuul
05f16fc4a2 Merge "Workaround for uefi job with ubuntu bionic" 2019-03-29 14:11:28 +00:00
Dmitry Tantsur
692cbd2ace Make 'noop' the explicit default of default_storage_interface
Currently it's implicit in the driver_factory code. This change makes
it more visible and removes the special case from driver_factory.

Change-Id: I1502ab22171110d48dee29827e0fda9171a74931
2019-03-29 14:03:53 +01:00
Zane Bitter
00342d997c Docs: correct expected host format for drac_address
The iDRAC driver expects a hostname or IP address in the drac_address
field of the driver_info. Passing a URL does not work.

Change-Id: I999f84ef5d7bc4b10cb8cf8dabdeb1f17172e824
2019-03-28 14:10:55 -04:00
Mark Goddard
b5e34e1673 Check for deploy.deploy deploy step in heartbeat
Change-Id: Id160e37348c940055c312fbfdb05a27d13012f52
2019-03-28 11:06:24 +00:00
suichangyin
17a65c89bb Workaround for sendfile size limit
Fixes an issue when the image source is a local file, the image
will be truncated to 2G and fails deployment due to image corruption.

The issue originates from pysendfile, but local testing shows this
also applies to python3.5 os.sendfile().

Co-Authored-By: Kaifeng Wang <kaifeng.w@gmail.com>
Change-Id: I6263a5221fda0509fbd0b6195c079e5e22800a1b
Story: 2004556
Task: 28316
2019-03-28 14:58:10 +08:00
Riccardo Pittau
6f22c00149 Workaround for uefi job with ubuntu bionic
In ubuntu bionic, the UEFI provided in the ovmf package version
0~20180205.c0d9813c-2, EFI v2.70 by EDK II, seems broken and
causes kernel panic.
To be able to boot using uefi, we download and install the old
working version 2.60 from the multiverse repository.

Story: 2004604
Task: 28500

Change-Id: I1a5b4a6544621316f71203282f7418d2001ad357
2019-03-26 15:08:39 +01:00
Ian Wienand
228dfe308a Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: Ie1be8a026e88eba235bce29fe0504e35e03afe8e
2019-03-24 20:33:50 +00:00
Zuul
cea5335837 Merge "Fix capabilities passed as string in agent prepare" 2019-03-24 19:02:02 +00:00
Zuul
f1bcaf7b80 Merge "Migrate ironic-grenade-dsvm-multinode-multitenant job to Ubuntu Bionic" 2019-03-23 01:31:15 +00:00
Ilya Etingof
37c4437002 Remove vbmc log file in devstack
Because vbmcd is now managed by systemd, making vbmcd logging
to its standard streams makes all logs in one place.

Change-Id: I1f7e5665816bd3045aa1b4760a28e610ebbb5766
2019-03-22 16:06:29 +01:00