9240 Commits

Author SHA1 Message Date
Dmitry Tantsur
75d796e731 Make the multinode grenade job voting again
Change-Id: I483fd8efc642ecb780421a1181c771f6108ad8b4
Depends-On: https://review.opendev.org/#/c/661559/
2019-05-27 13:07:03 +02:00
Zuul
dc39803eac Merge "Fix GRUB config path when building EFI ISO" 2019-05-24 12:27:11 +00:00
Zuul
82c853530f Merge "Update sphinx requirements" 2019-05-23 11:28:26 +00:00
zhu.fanglei
4537e2c540 Fix inaccurate url links
This is to fix some inaccurate url links

Change-Id: I8d7f20f3d1b2cdf56fd79cf9388e79ecd2eb0108
2019-05-23 15:30:51 +08:00
Riccardo Pittau
9ed9101394 Update sphinx requirements
Following recent changes to global requirements [1], we need
to update sphinx requirements locally.

[1] If558f184c959e4b63b56dec3ca1571d1034cfe5c

Change-Id: Ia0dd6883b4c15b8a0646ee765689343c116b2bcd
2019-05-22 15:03:52 +02:00
Dmitry Tantsur
a0f0e52b8e Allocation API: correct setting name to None
This is a follow-up to commit aec48ca2752127403c4b6f72706d9897cde10ee4.

Change-Id: Id87c0a6e3232a9cdd98cb5ee1f722815986fb9c5
2019-05-22 13:12:49 +02:00
Zuul
ed5c3d940d Merge "Move devstack emulators configs under /etc/ironic" 2019-05-21 23:25:09 +00:00
Ilya Etingof
306aebad48 Fix GRUB config path when building EFI ISO
Fixes GRUB configuration file generation procedure when building
bootable ISO images that include user EFI boot loader image.
Prior to this fix, no bootable ISO image could be generated
unless EFI boot loader is extracted from deploy ISO image.

Change-Id: I1a761737958662cef45885e54cf7532babae1ee1
Story: 2005738
Task: 33399
2019-05-21 17:36:42 +02:00
Zuul
5edf4f3fda Merge "Do not try to return mock as JSON in unit tests" 2019-05-20 14:24:00 +00:00
Zuul
9c8f59a098 Merge "Remove deprecated option [ilo]power_retry" 2019-05-20 11:34:05 +00:00
Zuul
566801418c Merge "Add API to allow update allocation name and extra field" 2019-05-20 09:26:37 +00:00
Dmitry Tantsur
f8e1fbf308 Do not try to return mock as JSON in unit tests
A few of our unit tests make API handlers return Mock objects. This
used to work with older WSME, but the current master has dropped
support for simplejson, which has apparently made validation stricter.
An example of resulting failures can be seen in RDO CI:
71833957b3_156a4cd0/mock.log

This change fixes it, also adding autospec=True to affected tests.

Change-Id: Ide4bc301d53ad81b53e5df8a9358cb65fdd8056c
2019-05-20 11:25:12 +02:00
Zuul
71833957b3 Merge "Fix exception generation errors" 2019-05-18 13:08:50 +00:00
Shivanand Tendulker
5dd64771db Remove deprecated option [ilo]power_retry
The option [ilo]power_retry is deprecated at Stein, now it's time
to remove it from the tree.

Change-Id: I96d8e5141f170b6841250b2041ec775cc144f63f
Story: #2005673
Task: #30984
2019-05-16 02:05:38 -04:00
Zuul
a4718ee7b7 Merge "Update Python 3 test runtimes for Train" 2019-05-13 09:44:48 +00:00
Zuul
0a3b1968aa Merge "Replace hardcoded "stack" user to $STACK_USER" 2019-05-09 14:53:57 +00:00
Madhuri Kumari
aec48ca275 Add API to allow update allocation name and extra field
Change-Id: I435e9734f2517b959f8e6124e54fc473c683b702
Story: 2005126
Task: 29796
2019-05-09 10:28:27 +00:00
ZhongShengping
befc4a61e6 Update Python 3 test runtimes for Train
This goal is to implement the process set out in the 2018-10-24 Python
Update Process TC resolution[1], for the Train cycle to ensure unit
testing is in place for all of the Tested Runtimes for Train[2].
In practice, this generally means adding unit tests for Python 3.7 and dropping
unit tests for Python 3.5. Using the Zuul template for Train will ensure that
all projects that support Python3 will be tested against the agreed runtime
versions, and make it easier to update them in future.

[1]https://governance.openstack.org/tc/resolutions/20181024-python-update-process.html
[2]https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: I06e6c071b8bd369c8a66bade2490f65070fd0665
Depends-On: https://review.opendev.org/#/c/641878/
2019-05-09 17:42:47 +08:00
Kaifeng Wang
a89e903f7c Replace hardcoded "stack" user to $STACK_USER
Follow up to https://review.opendev.org/#/c/657606 which
fixed vbmcd service.

Change-Id: I7d37cd6191770c7efa6a034e18619f744d9c35e8
2019-05-08 09:27:21 +08:00
michaeltchapman
bace52165f Run vbmcd as stack user in devstack
devstack may be run as some other non-root user, and the service
will fail to start if there is no stack user available.

Change-Id: Ib1cfa6a1b0859a1e2680055ce0394053db1c307e
Signed-off-by: michaeltchapman <woppin@gmail.com>
2019-05-07 23:58:03 +10:00
Zuul
afecd4e710 Merge "Adding enabled_boot_interface attribute in tempest config" 2019-05-06 17:50:30 +00:00
Zuul
00622ae23f Merge "Improve VirtualBMC use in Devstack" 2019-05-06 16:33:25 +00:00
Zuul
21093ca886 Merge "Add openstack commands in node deployment guide" 2019-05-03 11:58:25 +00:00
ankit
9d5461506e Adding enabled_boot_interface attribute in tempest config
This patch will adds enabled_boot_interfaces in tempest
config file.

Change-Id: Ib4f767818532c100826fb3562d02e7c100902411
Story: 2005549
Task: 30697
2019-05-02 06:43:04 +00:00
Zuul
2fbe1d72fd Merge "Removes hash_distribution_replicas configuration option" 2019-05-01 13:27:53 +00:00
Madhuri Kumari
d308d10cd3 Add openstack commands in node deployment guide
Fixes a minor formatting issue and adds the corresponding
openstack commands.

Change-Id: Id45998d629332c4c785129e3711a0eed558d839e
2019-05-01 11:49:19 +05:30
Zuul
bfb4371a90 Merge "Direct bridge to be setup" 2019-04-29 12:45:48 +00:00
Zuul
c3daf52868 Merge "Add iDRAC driver realtime RAID creation and deletion" 2019-04-26 10:48:28 +00:00
digambar
3a54fe3e85 Add iDRAC driver realtime RAID creation and deletion
It adds capability to the idrac driver for creating and deleting
RAID sets without rebooting the bare metal node.


Change-Id: I3f4282afff860d9771a3d37f4d5e1172d88e87a3
Story: 2004861
2019-04-25 23:52:41 +00:00
Zuul
32aae7c237 Merge "Correct spelling errors" 2019-04-25 16:54:54 +00:00
Zuul
5bfe8e751d Merge "Truncate node text fields when too long" 2019-04-25 13:51:47 +00:00
Zuul
191667078d Merge "Replace git.openstack.org URLs with opendev.org URLs" 2019-04-25 09:35:22 +00:00
shenxindi
810670cf13 Correct spelling errors
Change-Id: I7f23cd29fe7b1deea3b14cf5d7e8ad21ff824c74
2019-04-25 09:36:32 +08:00
Zuul
95abbde644 Merge "Jsonschema 3.0.1: Binding the schema to draft-04" 2019-04-24 20:14:53 +00:00
Zuul
dcca08d9d4 Merge "Make the JSON RPC server work with both IPv4 and IPv6" 2019-04-24 11:13:40 +00:00
ZhongShengping
a280696a03 Replace git.openstack.org URLs with opendev.org URLs
Thorough replacement of git.openstack.org URLs with their opendev.org
counterparts.

Change-Id: Ic19e45986e9f650c1deb297f463e679fd268ad97
2019-04-24 16:13:58 +08:00
Julia Kreger
bda02c43fb Direct bridge to be setup
The multinode jobs are failing because the br-infra bridge
is not being setup. It is not being setup because somewhere
in the infra, the multi-node-bridge role is never established
as a requirement. Realistically, only ironic does this, but
we need to ensure it is present.

Change-Id: Ia1dcc68d7e75a931e01829ce23da36c978a70765
2019-04-23 16:47:24 +00:00
Julia Kreger
bb8101ca95 Fix pyghmi path
Pyghmi was moved from openstack namespace to the x
namespace. As such the devstack plugin needs to match
up otherwise devstack fails in CI to clone as cloning
is blocked if not in the projects list... Which it is,
as x/pyghmi.

Change-Id: I87bdf65dd2dac189642d0af6def2d0ed155f3c00
2019-04-23 16:46:06 +00:00
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
Varsha
e9540f5d22 Removes hash_distribution_replicas configuration option
`hash_distribution_replicas` was deprecated in the Stein cycle (12.1.0).

Story: #1680160
Task: #30033

Change-Id: Iddc59ed113fb9808f8c8564433475638491be84f
2019-04-19 15:10:56 +05:30
Raphael Glon
9124a4a138 Truncate node text fields when too long
Pushing too long messages in the node last_error and maintenance reason can
cause node.save() failures, leaving the node in a transient state, with no
conductor actually handling it anymore.

Change-Id: Id4db377781f83cf4d97564ced9622d5a8a8c67af
Story: #2005377
Task: #30359
2019-04-19 10:27:00 +02: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
Dmitry Tantsur
18fdc447ef Make the JSON RPC server work with both IPv4 and IPv6
Binding to 0.0.0.0 by default results in inability to work with IPv6,
which is a probable cause of Bifrost gate failures on some nodepool
providers. Using :: solves it.

Change-Id: Ic5c4c9b541c826ccf3025877f7c829fd34d0be6e
2019-04-17 16:41:35 +02:00
Nisha Agarwal
b60975641a Jsonschema 3.0.1: Binding the schema to draft-04
This fix binds the raid schema to draft-04 of the
json schema. The draft-04 is supported on both
jsonschema 2.6 and jsonschema 3.0.1.
Draft-06 and draft-07 require the schema change
which is incompatible with draft-04.

Story: #2005464
task: 30540

Change-Id: Ic30a0f18982f4da939f0f23eef8a233afea0e41a
2019-04-17 06:06:18 -07: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