712 Commits

Author SHA1 Message Date
Tobias Urdin
faefa12cc1 Add CentOS 8 and Puppet 6 in metadata
Change-Id: Ic68a5eb4f49f6f8daa0ff86aac8b69bf35d5f143
2020-03-30 07:47:45 +00:00
ZhongShengping
7e24be3e85 Deprecate min_pool_size option
min_pool_size option is not used,see:

https://review.opendev.org/#/c/565090/

Change-Id: I643456548591f8dc6355fe90734ab35ba2de0706
Closes-Bug: #1868511
2020-03-25 14:53:41 +08:00
ZhongShengping
a76f3b21de Remove idle_timeout option
The idle_timeout parameter has been deprecated for two releases.
We can remove it.

Change-Id: I8f2cbb1b014016fe54b3e54e0829960a6a74d02e
2020-03-23 14:45:48 +08:00
Ghanshyam Mann
a4c5cb2133 [ussuri][goal] Cleanup for python 2.7 drop
OpenStack is dropping the py2.7 support in ussuri cycle.

puppet-* repos have to cleanup the requirement and tox
for py2.7 drop.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: I42ff4c125e42a2b65ac878523a19b55951bba8a6
2020-02-15 19:14:01 -06:00
ZhongShengping
5b7e1cc6d9 Prepare Ussuri M2
Update the version metadata for Ussuri milestone M2

Change-Id: Ic23d7fd8a6bc8b9b7c9ac36bef749f757deb7633
2020-02-13 14:21:29 +08:00
Takashi Kajinami
a9da71c39d Customize roles assigned to ironic user
This patch introduces a new hieradata ironic::keystone::auth::roles,
to configure customized role assigned to ironic user.

This is required to configure service token feature, as it requires
special role is assigned to the user who uses the feature.

Change-Id: If7e71bb3acaaa6f74279031730b18a7f129edb51
2020-01-20 18:56:14 +09:00
ZhongShengping
2ff5722e19 Fix stdlib version in metadata
puppetlabs-stdlib is now using the 6.1.0 version, so we should fix the
stdlib version in metadata.

Change-Id: I77961976b97714d5ab1de97dc1b45e5594d55d88
2019-12-11 11:53:03 +08:00
ZhongShengping
55f0b1c899 Prepare Ussuri M1
Update the version metadata for Ussuri milestone M1

Change-Id: Ie58f94f53a3c4f14e5d5f6925e6ef604bbcbb5d0
2019-12-10 14:24:48 +08:00
Tobias Urdin
5e6151be97 Convert all class usage to relative names
Change-Id: Iea5de7192d01739024d17e9813fe591f230aaf4d
2019-12-08 23:08:32 +01:00
Zuul
99f407cb33 Merge "Configure parameters for managed in-band inspection" 2019-11-26 15:44:01 +00:00
Zygimantas Matonis
f8fa738c98 Added 'ironic/ironic_url','swift/container' to manifests/inspector.pp
Change-Id: I9e4517e1fd1f6247b0d570df06371125900f34d5
Signed-off-by: Zygimantas Matonis <zygimantas.matonis@cern.ch>
2019-11-13 11:24:41 +01:00
Dmitry Tantsur
b7f0988c0c Configure parameters for managed in-band inspection
Change-Id: I4ddbba19f48d7f6643dab71097d2018b4a9757d3
Depends-On: https://review.opendev.org/688720
Story: #1528920
2019-11-05 13:21:25 +01:00
ZhongShengping
6deffc3188 Fix rabbitmq dependency
puppetlabs/rabbitmq [1] is deprecated, and max version is 5.6.0 which can
not be fulfilled by this dependency.

Correct it to puppet-rabbitmq [2] instead which is being actively maintained
and has the right version.

[1]: https://forge.puppet.com/puppetlabs/rabbitmq
[2]: https://forge.puppet.com/puppet/rabbitmq

Change-Id: I9e6b7e2f80d9543f9697db89a3ffc1e4b244cc57
Closes-Bug: #1850236
2019-10-29 09:31:04 +08:00
Bob Fournier
3af8943002 Use client architecture and set bootfile-url for DHCPv6 in inspector
For DHCPv6 PXE boot, the Client Architecture option uses code 61,
see https://tools.ietf.org/html/rfc5970#section-3.3. Use this
to determine if booting over EFI and set the DHCPv6 bootfile-url
when booting PXE over EFI.

Change-Id: I096ac412c015c3ac488d712010aafe52b572cfad
2019-10-17 22:02:07 -04:00
7256dcdfbf Update master for stable/train
Add file to the reno documentation build to show release notes for
stable/train.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/train.

Change-Id: I3f7534305e6ff4c7a167653b4eb38563470a6eac
Sem-Ver: feature
2019-10-04 13:28:02 +00:00
Zuul
e157ffd63b Merge "Wrap ipv6 addresses in inspector-ipxe template" 2019-10-01 13:48:51 +00:00
Zuul
265a2a7d47 Merge "Fix Inspector dnsmasq config for IPv6" 2019-09-30 21:52:14 +00:00
Harald Jensås
0e8a483e35 [pxe]/ip_version param in ironic::drivers::pxe
Add the ip_version parameter in the pxe class so that
the IP version that will be used for PXE booting can
be configured.

Closes-Bug: #1845746
Change-Id: Ib29adccc8378bd3e2a46b7d2ca3cfacba55e7674
2019-09-28 01:35:31 +02:00
Harald Jensås
3044c0984d Wrap ipv6 addresses in inspector-ipxe template
Closes-Bug: #1845566
Change-Id: Ic5cf47b03a13fccc16ad9410cb4939848e254bd1
2019-09-27 23:08:17 +02:00
Harald Jensås
15eedd0c4c Fix Inspector dnsmasq config for IPv6
Extend and re-name the function ipv6_netmask_to_prefix() to
ipv6_normalize_dnsmasq_ip_subnets(). It now changes the netmask
to prefix and removes the 'gateway' if it is an IPv6 subnet.

On IPv6 router info should be provided in router advertisements.
There was a draft to add support in DHCPv6, but it was never
completed.
https://datatracker.ietf.org/doc/draft-ietf-mif-dhcpv6-route-option/

Also:
  Add match for userclass iPXE and set option6:bootfile-url

Closes-Bug: #1844573
Change-Id: I47d88519acd18630e0d5682d93f1088771ec03a1
2019-09-27 20:20:13 +02:00
Zuul
b0c9b9ffae Merge "Update the constraints url" 2019-09-27 04:08:02 +00:00
Zuul
00ab5faf16 Merge "Prepare Train RC1" 2019-09-27 03:27:16 +00:00
Harald Jensås
03550bc8c8 Add support to set option:mtu in inspector dnsmasq
It should be possible to configure the DHCP server to
provide the mtu option for inspection subnets.

This uses the dhcp-option-force so that the option is
provided also when the client does not ask for it.
According to dnsmasq manual page this is sometimes
required when sending options to PXELINUX.

Closes-Bug: #1845487
Change-Id: Ic95dbf1867fb5397f1b6d8f23466910a97051cb6
2019-09-26 13:49:56 +02:00
pengyuesheng
9f573a3067 Update the constraints url
For more detail, see http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html

Change-Id: I4c1c94035c97c6570ba7998a4ebd55439558360c
2019-09-26 11:31:42 +08:00
ZhongShengping
fbfdb4eb1b Prepare Train RC1
Update the version metadata for Train milestone RC1

Change-Id: Ie1c92d9e8a44edbbb91110f87ecd2191f9393216
2019-09-25 13:45:43 +08:00
Zuul
b70efb17de Merge "Add support for boot_retry_timeout and boot_retry_check_interval" 2019-09-24 06:53:07 +00:00
Dmitry Tantsur
0d6830732f Support configuring [conductor]allow_provisioning_in_maintenance
Change-Id: I2c24180025aaaa9526807faf4913850d2f0f07e7
Story: #1563644
Depends-On: https://review.opendev.org/#/c/366828/
2019-09-23 16:10:05 +02:00
Dmitry Tantsur
7b80d037e2 Add support for boot_retry_timeout and boot_retry_check_interval
Depends-On: https://review.opendev.org/#/c/683127/
Change-Id: I8e74ffc1765b53f1fc6c88c50d450b4ae2fab17a
2019-09-23 15:39:03 +02:00
ZhongShengping
fea866601a Prepare Train M4
Update the version metadata for Train milestone 4

Change-Id: I4065090f2e59ba9dcbf33dd0b2fdc03fbc0092a7
2019-09-05 09:04:49 +08:00
ZhongShengping
486e62796e Introduce the new rabbit_heartbeat_in_pthread option
oslo.messaging RabbitMQ driver have now a new option that allow user to
run the RabbitMQ heartbeat over a native python thread.

These change allow user to use this new option.

Change-Id: I768827ca462e25fcb0571a3b5cb5e5eca615cc08
Closes-Bug: #1840868
2019-08-21 14:23:42 +08:00
ZhongShengping
3c1fcfd2dc Remove deprecated pki related options
The deprecated pki related options check_revocations_for_cached and
hash_algorithms option has been removed.

Change-Id: I3e592a880f9c20a55abb6c8807ba9f111175deef
2019-08-15 11:51:37 +08:00
ZhongShengping
eed5498144 Bump the openstackdocstheme extension to 1.20
Some options are now automatically configured by the version 1.20[1]:
- project
- html_last_updated_fmt
- latex_engine
- latex_elements

[1]https://docs.openstack.org/openstackdocstheme/latest/#using-the-theme

Change-Id: I913a80982a45897155e32de07a3a8994da75014a
2019-08-13 11:29:07 +08:00
Dmitry Tantsur
fb8e19deb8 Train deprecations and removals
Change-Id: I43941b598c05c3f6529ede274d526e3a6c8910d5
2019-08-09 11:51:40 +02:00
Dmitry Tantsur
e9220c8ee3 Add support for configuring {deploy,rescue}_{kernel,ramdisk}
Change-Id: I1df419a7023600e0bb3d437d1fd0820b2f0f7616
Depends-On: https://review.opendev.org/#/c/672989/
2019-08-09 09:36:55 +02:00
ZhongShengping
eb9f7146f3 Sync Sphinx requirement
Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.

Change-Id: Ic04efcdfd9a617748873f9de18a9452c3a3f1c5c
2019-08-07 09:10:09 +08:00
ZhongShengping
a8c4a2275d Prepare Train M3
Update the version metadata for Train milestone 3

Change-Id: Ia53696c4d23f6ae052ec30977ecef36da6b77859
2019-07-24 16:19:36 +08:00
ZhongShengping
cd37458f67 Manage oslo_middleware/max_request_body_size
So that we can increase it from the default 114688

Useful in case for example the OS-Federation mapping is too large.

If this limit is breached ironic will return a 413 Entity Too Large
and not log anything to ironic.log.

Change-Id: Icd4f0e41da2917ae9e0411ad774fe9b0bec2849f
Closes-Bug: #1835161
2019-07-04 11:36:44 +08:00
e7516d3dc8 Do not use deprecated wsgi_script_source
app.wsgi script is deprecated for long in ironic
in favor of ironic-api-wsgi script, the deprecated script
is now removed in [1]. Let's use ironic-api-wsgi script
as a wsgi_script_source path.

[1] https://review.opendev.org/#/c/668515/

Change-Id: I08016ca7b82e6987a341ffb8e3c0e5bfc872e46f
2019-07-03 19:49:46 +05:30
ZhongShengping
ef3faad04a Prepare Train M2
Update the version metadata for Train milestone 2

Change-Id: I453d5f700efbc3ebc26afa03df4f42f8ff500f02
2019-06-10 10:03:35 +08:00
Zuul
50d0bf3efa Merge "Add openstackclient installation to the client class" 15.0.0 2019-05-17 21:22:13 +00:00
Zuul
81c2117d50 Merge "Convert ipv6 netmask to prefix in dnsmasq.conf" 2019-05-17 21:06:41 +00:00
ZhongShengping
650a1e5465 Add openstackclient installation to the client class
The repo is inside the openstackclient plugin commands[1].

[1]https://docs.openstack.org/python-openstackclient/latest/cli/plugin-commands.html

Change-Id: I224d78a4de42a86df251ac7a0eca873f442f5ffc
2019-05-17 16:31:18 +08:00
Harald Jensås
7b6b097d8a Convert ipv6 netmask to prefix in dnsmasq.conf
dnsmasq.conf require a prefix lenght as netmask for IPv6.
Convert a IPv6 address netmask to prefix.

Closes-Bug: #1828837
Change-Id: Idf84ba30eb4eb6d202faa470209f10c9da40e80b
2019-05-16 14:46:30 +02:00
Zuul
aadb6975a9 Merge "Add rcp_transport parameter for conductor" 2019-05-16 10:00:13 +00:00
Bogdan Dobrelya
1e588cab27 Add rcp_transport parameter for conductor
When Ironic Conductor requires optimizations over WAN, like some Edge
computing cases, allow configuring its [DEFAULT] rpc_transport setting.
F.e. rpc_transport may be set to 'json-rpc' for Ironic conductor
instances running at the edge sites, when the used messaging broker
should not be stretched over WAN. For such cases, this option also
plays nicely alongside the [conductor] conductor_group setting.

Related-Blueprint: undercloud-minion

Change-Id: Iad2f73f730315e8b3f0d5d809458626c9ebc890e
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2019-05-15 17:10:20 +02:00
Tobias Urdin
39115e63c2 Remove ironic::inspector::debug
Removes the deprecated parameter that is superseeded
by the dhcp_debug parameter.

Change-Id: I81dece5bcaf36c0f67d17398f2dd957b06dd2e1b
2019-05-10 16:32:34 +02:00
ZhongShengping
b50b6a085a Deprecate idle_timeout option
The idle_timeout parameter is deprecated, use connection_recycle_time
instead[1].

[1]https://review.opendev.org/#/c/334182/

Change-Id: Ic78f6dbd66ceb7646c65268444721798454ac73f
Depends-On: https://review.opendev.org/656106/
Closes-Bug: #1826692
2019-04-29 08:51:56 +08:00
Zuul
7b1fa88641 Merge "Move to opendev" 2019-04-24 08:12:26 +00:00
Zuul
01c74aef27 Merge "Expose service_token_roles params" 2019-04-24 08:12:25 +00:00
ZhongShengping
f5c5a20f8f Move to opendev
Use review.opendev.org instead of review.openstack.org.

You can see the discussion below:
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html

Change-Id: Ie31be1dfe250fb6a37ee3fc9f18d63e034297ff5
2019-04-24 14:54:01 +08:00