266 Commits

Author SHA1 Message Date
Andreas Jaeger
56d81e0a32 Move other-requirements.txt to bindep.txt
The default filename for documenting binary dependencies has been
changed from "other-requirements.txt" to "bindep.txt" with the release
of bindep 2.1.0. While the previous name is still supported, it will
be deprecated.

Move the file around to follow this change.

Note that this change is self-testing, the OpenStack CI infrastructure
will use a "bindep.txt" file to setup nodes for testing.

For more information about bindep, see also:
http://docs.openstack.org/infra/manual/drivers.html#package-requirements
http://docs.openstack.org/infra/bindep/

As well as this announcement:
http://lists.openstack.org/pipermail/openstack-dev/2016-August/101590.html

Change-Id: I927004464acc83a6d1ac02ed5278934969cfae6b
2016-08-12 21:07:32 +02:00
Emilien Macchi
7b13911900 Allow to configure [ssh] section in ironic config
Allow to configure libvirt_uri from [ssh] section.

Change-Id: I5f38fed9ffbe1b2dad650a2b0dd6c6ce4c145e87
2016-07-27 10:38:56 -04:00
Juan Antonio Osorio Robles
f7264d5982 Make ironic-inspector's listen_address configurable
Change-Id: Ibbab2f708f4db623de13ddc89de20fca039a2d15
Closes-Bug: #1603757
2016-07-18 16:57:12 +03:00
Dmitry Tantsur
270b0cb7c7 [inspection] allow to configure HTTP port
We currently allow changing the HTTP port for Ironic iPXE support,
but we don't allow the same for ironic-inspector. This patch fixes it.

Change-Id: I62effb9d0196474a3768ef7e80528f730df8a543
Closes-Bug: #1602976
2016-07-14 14:19:35 +02:00
Sofer Athlan-Guyot
7526bfa4fa Include openstacklib defaults manifest.
This provides a mechanism for setting default across all modules.

Change-Id: I15dfca3d411b6da653718627549f186da704e6ae
Related-Bug: 1599113
2016-07-08 10:08:56 +02:00
Emilien Macchi
44885ec20e Prepare 9.1.0 (newton-2)
Prepare the second milestone of Newton cycle.

Change-Id: Ic90f1b57ec5093c13b5c965cc64b04649ad88dbe
9.1.0
2016-07-07 09:08:20 -04:00
Jenkins
ba3cec42fa Merge "Add memcached_servers for keystone authtoken" 2016-07-01 10:36:49 +00:00
Alex Schultz
95d0af7ec8 Add memcached_servers for keystone authtoken
This change adds the abiltity to manage the memcached servers for the
keystone authtoken configuration in ironic::api

Change-Id: I43af512ffd7662366534128ef2e5836d5a506252
2016-06-30 15:15:07 -06:00
Caio Oliveira
49ff189b7b Remove 12.04 and add 16.04 to metadata
Change-Id: Iab08f82cd6b9af9646e5bda83289072e1bfe651f
2016-06-30 12:17:37 +00:00
Emilien Macchi
d81740b4aa Remove mitaka release prelude note
We had a prelude note when releasing Mitaka. This note
keep showing-up at every release while we're on Newton now.

We don't need a prelude release note, we already have nice sections
for every note we push.

This patch aims to remove this prelude starting from Newton.

Change-Id: I6ff3e086810c525b83fa5acfb9c10536b1ca5df2
2016-06-28 15:08:27 -04:00
Vasyl Saienko
b4339b55ce Allow to configure cleaning_network_uuid
This patch allows to configure cleaning_network_uuid
ironic conductor option.

Reference:
[0] https://github.com/openstack/ironic/blob/master/etc/ironic/ironic.conf.sample#L1485

Change-Id: I130cc05c71ad6cec9f84c350a7019ef3f91fe9b6
2016-06-16 10:31:10 +03:00
Vasyl Saienko
f58917ea16 Allow to configure swift_account
This patch allows to configure swift_account ironic conductor
option.

Reference:
[0] https://github.com/openstack/ironic/blob/master/etc/ironic/ironic.conf.sample#L982

Change-Id: Id1a5dd8921c8a1ba7e516c89ce4e2acb54f1a4ee
2016-06-15 13:01:10 +03:00
Emilien Macchi
5109bf7461 stop managing /etc/ironic and ironic.conf
They should be managed by packaging.

Change-Id: I2073298312b2fadd5c1c7cf011b8610b0ec122a4
2016-06-13 12:21:50 -04:00
Jenkins
76efd1bd10 Merge "Add nodepool-xenial.yml file" 2016-06-10 20:56:24 +00:00
Emilien Macchi
ff5af5e1a2 Add nodepool-xenial.yml file
To run Beaker jobs in OpenStack Infra, we need this file so we run tests
on the right nodeset

Change-Id: I336f0a367e3c82a1f462ea2812fa218cc5111c19
2016-06-10 13:31:29 -04:00
Marcellin Fom Tchassem
f21260370f Change default service_name to 'ironic'
While we were already able to pick an independent auth_name and
service_name; the service_name was defaulting to auth_name. Now it
has a value of its own to be consistent with other modules.

Change-Id: I6fee7965ec51928df9a81cacbcf60aebadb7becf
Related-Bug: #1590040
2016-06-09 13:09:00 +00:00
Jenkins
31fae45a7b Merge "Test multiple operating systems for policy" 2016-06-08 15:49:27 +00:00
ZhongShengping
33729b3440 Add purge_config option
Add the option in order to facilitate management.
User can ensure that only the options they hoped
are configured.

Change-Id: I9106b9a5693e1d566a93b57888e675f2f7cb386c
2016-06-08 10:53:04 +08:00
ZhongShengping
78e2426e2c Test multiple operating systems for policy
Use on_supported_os function to test multiple
operating systems for class ironic::policy.

Change-Id: Ie7a43a009fcd3a6333563e6f2546bcf0bf7928a0
2016-06-08 08:51:37 +08:00
Jenkins
00bd863046 Merge "Remove deprecated keystone::auth options" 9.0.0 2016-06-04 01:59:24 +00:00
Jenkins
25ffcf4590 Merge "Prepare 9.0.0 release" 2016-06-03 16:34:14 +00:00
Jenkins
b41134644a Merge "Change wiki to docs" 2016-06-03 14:53:12 +00:00
Denis Egorenko
dc33a29c44 Cleanup README
Change-Id: Ief414522ce4e315a9f0d720159037a004da9665f
2016-06-03 12:35:30 +03:00
Iury Gregory Melo Ferreira
14448a4c41 Remove deprecated keystone::auth options
Change-Id: Ic94e1688ed5fb840fba7890f36aac2a415d1c6c0
2016-06-03 01:44:48 -03:00
Iury Gregory Melo Ferreira
0591131fa8 Change wiki to docs
Change-Id: Iddf8fb60d9b3eb963a8f9929b2ed3402d77e88aa
2016-06-02 23:09:23 -03:00
Emilien Macchi
815ee7edb4 Prepare 9.0.0 release
First release of Newton.

Change-Id: Iec807277008b113a23b3356bf8f08fdc77647f3f
2016-06-02 18:41:37 -04:00
Dmitry Tantsur
9ecbe38281 [inspector] Update authentication parameters
Inspector has switched to keystoneauth and authentication plugins,
this change makes puppet-ironic use them. Also this change exposes
auth_strategy parameter disabling keystone support completely.

This change removes deprecation warnings on inspector start up.

Change-Id: Icb0948c3fc085c76c3309ab1ad194a978922bfdb
2016-06-01 15:31:22 +02:00
Andrew Smith
f09ef1dc2e Add transport_url parameter for oslo.messaging
This commit adds the transport_url parameter for oslo.messaging. The
url is of the form:

  transport://user:pass@host1:port[,hostN:portN]/virtual_host

Where the transport scheme specifies the rpc or notification backend
as one of rabbit, amqp, zmq, etc. Oslo.messaging is deprecating the
host, port, and auth configuration options [1]. All drivers will get
these options via the transport_url.

This patch:
* use oslo::messaging::default resource
* add parameter for transport_url
* update spec test
* add feature release note

[1] https://review.openstack.org/#/c/317285/

Change-Id: I29525aabbea99e36546643f4e80d4970fc2a04ac
2016-05-27 12:25:02 -04:00
Denis Egorenko
8c1002c65c Fix unit test for latest puppet
Change-Id: I7d7ab222ccc402d9f5587d74127bc4c740d8c774
2016-05-26 17:16:46 +03:00
Iury Gregory Melo Ferreira
3bcb586668 Adapt ironic tests for a new concat version
Change-Id: Ieeb4ef7eaacf799a7a696df65e512c71e0844c33
2016-05-24 15:22:59 -03:00
Emilien Macchi
f21fe608e0 Add other-requirements.txt for bindep
Bindep is a binary automation tool used in openstack-infra.  With it,
projects can better control the default packages installed into the
OS. Because we are using puppet, we actually don't want any packages
installed by default as to better test our manifests.

Change-Id: I5aaca7e417ed87720669b7c8194dbbb9bb961aa2
Co-Authored-By: Paul Belanger <pabelanger@redhat.com>
2016-05-19 19:06:45 +02:00
Jenkins
727c96ed6a Merge "Add public_endpoint parameter" 2016-05-19 09:23:42 +00:00
Iury Gregory Melo Ferreira
f7b1ed0857 Deprecate verbose option in logging
Option "verbose" from group "DEFAULT" is deprecated for removal.
The parameter has no effect.
-Deprecated verbose for logging and init
-Remove verbose in README
-Remove verbose from tests.

If this option is not set explicitly, there is no such warning.

Change-Id: I1195b682a9aed4acbb2f198eeee043a9d8ee0ae4
2016-05-18 00:08:41 -03:00
Jenkins
a19554a6f2 Merge "Revert "Revert "allow to configure my_ip parameter""" 2016-05-17 22:22:53 +00:00
Andrey Shestakov
bf6842e525 Add public_endpoint parameter
public_endpoint allows to set URL to use when building the links to the API
resources.
If the API is operating behind a proxy, user will want to change this to
represent the proxy's URL.

Change-Id: Ic85497dd957cf1de738da728c1b0f5b87fecfb79
2016-05-17 13:38:04 +00:00
Jenkins
bfccfa1160 Merge "Introduce support for oslo.messaging amqp driver configuration" 2016-05-16 15:03:41 +00:00
Emilien Macchi
735c139416 Revert "Revert "allow to configure my_ip parameter""
This reverts commit 5c4d023a7734ac7ed18ac8d15a702b47be5cc6ea.

Change-Id: Ica0498ae93d77484c26715794d17dccddf0d2771
2016-05-16 15:37:48 +02:00
Jenkins
6dd206cdc3 Merge "Revert "allow to configure my_ip parameter"" 2016-05-13 14:08:41 +00:00
Andrew Smith
1077bf2c53 Introduce support for oslo.messaging amqp driver configuration
This commit adds support for the oslo.messaging amqp rpc_backend
which enables the AMQP 1.0 driver. A proposed feature for the
Newton oslo.messaging release is an update to the AMQP 1.0 driver
to support a stateless messaging interconnect for RPC traffic [1].

This patch:
* use oslo::messaging::amqp resource
* add new parameters for the oslo_messaging_amqp driver
* update spec tests for amqp as alternate rpc_backend
* add feature release note

[1] https://blueprints.launchpad.net/oslo.messaging/+spec/amqp-dispatch-router

Change-Id: Ieb0c8ca718984f2b0b35238bf5274c2e93ce8260
2016-05-13 08:13:32 -04:00
James Slagle
5c4d023a77 Revert "allow to configure my_ip parameter"
This has broken TripleO. There is a patch[1] up to update TripleO,
but it does much more than just configure my_ip via the Puppet
module, and there is no confirmation that it has even been tested
since we can't get far enough to actually exercise Ironic to do a
deployment in CI.

[1] Ibaa55b2d4264b07faeb307893ef746ed0eb1df0c

Partial-Bug: 1581479
This reverts commit 05d474c3b219af82dcdfab7bb6bd2a6c0e6cdbcc.

Change-Id: I1db1baf6506d22c29a4e25fbe574e3df8578cb72
2016-05-13 11:31:09 +00:00
Jenkins
e3c2ae631c Merge "Implement ironic::drivers::deploy class" 2016-05-13 10:04:04 +00:00
Jenkins
50fed86586 Merge "allow to configure my_ip parameter" 2016-05-12 21:32:20 +00:00
Jenkins
d494834733 Merge "Add support for the oslo db_max_retries parameter" 2016-05-12 19:32:02 +00:00
Emilien Macchi
ff55034d08 Implement ironic::drivers::deploy class
Deploy the options defined in ironic.drivers.modules.deploy_utils
in a new class: ironic::drivers::deploy.

Change-Id: Iccac750ae2aeecab3fc29b4c6938d47aeca2cea9
2016-05-12 14:44:43 -04:00
Emilien Macchi
05d474c3b2 allow to configure my_ip parameter
my_ip is useful to compute some parameter, for glance & neutron urls.

Change-Id: Ia283451647630b23bda19d3a14a17339ce258e17
2016-05-11 17:34:46 -04:00
ZhongShengping
8caebca291 Fix markdown format typo
Change-Id: Ib515d9d237ece07e3ec7d52c467d545e9f3576f9
2016-05-11 00:01:31 +08:00
ZhongShengping
79691a6d40 Add support for the oslo db_max_retries parameter
The db_max_retries parameter regulates the number of reconnection
attempts performed after an error raised rather than at startup.

Change-Id: I0ab7ed83df6afc164a6bd47cf0eb3eda56e2a41c
Closes-Bug: 1579718
2016-05-10 21:22:23 +08:00
ZhongShengping
ba159e362d Use oslo module for policy configuration
Change-Id: I4ee31c89df82d1d18dddc5c391b8ba2f8a6989bf
2016-05-06 14:48:51 +08:00
Jenkins
3b80104354 Merge "iPXE: retry on failure during introspection" 2016-05-03 16:10:58 +00:00
ZhongShengping
17407fb9ef Test multiple operating systems for db
This change updates the tests for ironic::db::postgresql and
ironic::db::sync to test multiple operating systems.

Change-Id: I28d4bbcc054f2522331253461ce83a0d20bcb38d
2016-04-30 10:42:26 +08:00