740 Commits

Author SHA1 Message Date
b1ea700ba8 Explicitly install inspector-dnsmasq package
The package used to be implicitly pulled before [1],
now this needs to be installed explicitly.

Changed inspector_package param to contain list of packages
to install and adopted package module to handle list
of packages.

[1] https://review.rdoproject.org/r/#/c/23761/

Change-Id: I2435b476b65be5aab6e35bad0834e60dc9c8ced5
2020-04-29 12:16:50 +05:30
7524a9d02f Update master for stable/ussuri
Add file to the reno documentation build to show release notes for
stable/ussuri.

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

Change-Id: I5f9c6cb7a2532902a02162b289824a9399e6307f
Sem-Ver: feature
2020-04-28 14:53:12 +00:00
Zuul
6105147f3d Merge "Prepare Ussuri RC1" 2020-04-25 13:19:19 +00:00
Zuul
337a1476fe Merge "agent: support command_timeout and max_command_attempts" 2020-04-25 13:19:18 +00:00
Dmitry Tantsur
d934b6bcca agent: support command_timeout and max_command_attempts
Change-Id: I84ccad43bf9d70152f6013550d70c5d7cbcee861
2020-04-24 13:47:29 +02:00
ZhongShengping
a01451dd14 Prepare Ussuri RC1
Update the version metadata for Ussuri milestone RC1

Change-Id: I0aadb61d87cb0956c084ea14f83d90edf3da7623
16.3.0
2020-04-24 14:23:10 +08:00
Harald Jensås
271907c7d6 port_physnet_cidr_map support
Add support for laying out the configuration for
the physnet_cidr_map processing hook.

Related-Bug: #1870529
Change-Id: I5f0f3b254edf25fdcfa328f42d8bf4324e5bbd0d
2020-04-22 19:29:02 +02:00
Steve Baker
ca47ba7c7f Allow alternative source files for /tftpboot/ipxe.efi
ipxe-bootimgs will soon include the ipxe efi variant
ipxe-snponly-x86_64.efi which has no networking stack, relying instead
on the UEFI networking stack. This image is required in some UEFI
environments instead of the full ipxe-x86_64.efi, so there needs to be
a mechanism for serving it by default.

This change makes this possible by setting the puppet parameter
ironic::pxe::ipxe_name_base to ipxe-snponly.

Change-Id: I3a0e85ce6d83001833c829f484baf181a677a5d9
2020-04-21 23:12:04 +00:00
Takashi Kajinami
06547f81a9 Add region_name parameter to ironic::drivers::inspector
... so that operator can specify their customized region where actual
keystone identity resources are created.

Change-Id: I1e5db37da6ac4f981226bb69942002af8ef465d6
2020-04-18 22:26:09 +09:00
Zuul
fc1b216dc7 Merge "Add new classes to define keystone credentials for inspector" 2020-04-17 13:22:49 +00:00
Takashi Kajinami
762804b38e Add new classes to define keystone credentials for inspector
This patch introduces the following new classes, to define keystone
credentials used in ironic-inspector.

 - ironic::inspector::ironic
 - ironic::inspector::service_catalog
 - ironic::inspector::swift

Change-Id: I49adcbb6d90b2ef051cd862362fa1a7144fd9093
2020-04-16 09:53:00 +09:00
Harald Jensås
596abc9587 Add ironic::neutron::dhcpv6_stateful_address_count
Support fo additional ip address allocations when using
dhcpv6 stateful was added in https://review.opendev.org/700002
and backported to stein in https://review.opendev.org/717205.

This change adds support in the puppet module to configuring
the amount of addresses to allocate.

Related-Bug: #1861032
Closes-Bug: 1872992
Change-Id: I09e6ce611b12e92a4a8db64c7f23a491998e956b
2020-04-15 16:28:52 +02:00
Zuul
6305426f17 Merge "Deprecate ironic::conductor::api_url" 2020-04-14 17:23:15 +00:00
Zuul
47789ecbd3 Merge "Add region_name to ironic::service_catalog" 2020-04-14 10:46:42 +00:00
Takashi Kajinami
305964417d Deprecate ironic::conductor::api_url
... because its actual parameter, [conductor]api_url, was deprecated
in ironic while ago[1], and will be replaced by
[service_catalog]endpoint_override.

[1] 308e414a57941675acf6cd825daafc653cf5927e

Change-Id: Ifde129eb4cf1487c41c4f015154dec316057ca8a
2020-04-14 08:03:13 +09:00
Takashi Kajinami
01a4ef49a4 Prepare Ussuri M3 again
Update the version metadata to recreate release for Ussuri milestone M3

Change-Id: I51a3d421be97095c513b3d4ccacbd7f97c3ed426
16.2.1
2020-04-14 00:00:56 +09:00
Takashi Kajinami
b205caf9af Resolve duplicated requirement names in metadata
Change-Id: I82ef61411302c21d18749c82c36481794ba15bbc
Closes-Bug: #1872457
2020-04-13 22:50:40 +09:00
Takashi Kajinami
820d731731 Add region_name to ironic::service_catalog
... because it was missed in the previous change[1] to make region_name
configurable.

[1] edfe3e546009dec4c6c5bdcfbb4d5902eaed82c9

Change-Id: Icd939144dc178adee734900b9f7049f2c5674f45
2020-04-13 16:22:54 +09:00
Zuul
c658f478b3 Merge "Add ironic::nova class" 2020-04-13 06:16:11 +00:00
Zuul
b3a86860f1 Merge "Deprecate ironic::conductor::max_time_interval" 2020-04-13 05:18:58 +00:00
Takashi Kajinami
edfe3e5460 Add region_name parameter for service authentication
... so that operators can use their customized region_name.

Change-Id: If923077e1e437ccadcb4b8773cd81f46479876dc
2020-04-12 15:30:10 +00:00
Takashi Kajinami
106ef76ac1 Add ironic::nova class
... to configure connection for nova service.

Change-Id: If0826cd647a72d3cd4391c075878eba2a2c0a94f
2020-04-12 22:21:38 +09:00
Takashi Kajinami
64351b1d99 Deprecate ironic::conductor::max_time_interval
... because the parameter is not implemented in any projects now.

Change-Id: I16122aaaad8378a2657833f49cd309c78c520d86
2020-04-12 21:40:54 +09:00
ZhongShengping
e2b577a201 Prepare Ussuri M3
Update the version metadata for Ussuri milestone M3

Change-Id: I576cde23ad48695b1c7eee24fc10477821724417
16.2.0
2020-04-07 09:21:16 +08:00
Zuul
e3a8200dcf Merge "Expect python3 client/lib package in CentOS8" 2020-03-31 22:18:02 +00:00
Zuul
9960e70a19 Merge "Add CentOS 8 and Puppet 6 in metadata" 2020-03-31 14:39:38 +00:00
Takashi Kajinami
7020695920 Expect python3 client/lib package in CentOS8
In CentOS, we expect to have python3 client/lib package in 8.x while
we expect to have python2 in 7.x .
Fix unit tests to expect the correct version according to os major
version.

Change-Id: I2974ea2e134c9e46e0c606c2810ff9259e13a43d
2020-03-31 18:52:09 +09:00
Tobias Urdin
13aea55e8b Update mysql module to <11.0.0
Same as was changed in openstacklib.

Change-Id: I7fdaf38114a4ae46962f3043edc945f4c887b7bf
2020-03-30 10:02:32 +02:00
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
16.1.0
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
16.0.0
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" 15.4.0 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