6133 Commits

Author SHA1 Message Date
Jenkins
51c6d7a6ed Merge "Use polling in set_console_mode tempest test" 2016-12-13 20:23:02 +00:00
Vladyslav Drok
a3803b48d1 Use polling in set_console_mode tempest test
set_consolde_mode is an asynchronous operation, so we need to use
polling to avoid races between set_console_mode and get_console.

Closes-Bug: #1649344
Change-Id: Iedf3148d6324cc3d552234f46060d28603386044
2016-12-13 19:46:50 +02:00
Pavlo Shchelokovskyy
cf81c491f3 Remove agent vendor passthru from OneView drivers
Change-Id: I811508fb1636f1c36a20a679e6555739c68ce7da
Partial-Bug: #1640533
2016-12-13 09:31:08 +02:00
Jenkins
b7f001f441 Merge "Remove deprecation of snmp drivers" 2016-12-12 14:29:38 +00:00
Jenkins
bb4163615b Merge "Remove agent vendor passthru from iLO drvers" 2016-12-12 11:01:59 +00:00
Jenkins
51402bcaae Merge "devstack: add vnc listen address" 2016-12-12 10:51:10 +00:00
Eli Qiao
95da9dc0d2 devstack: add vnc listen address
Make virtual machine graphical console listen on 0.0.0.0.
This allows to access to VM VNC console from remote ('desktop' PC)
on devstack's HOST_IP.
VNC port may be found by using: virsh vncdisplay {vm_name}

Change-Id: I253899393c98c24d46710aa4ab78f1090bae00f4
2016-12-12 01:39:16 +00:00
Mario Villaplana
f31c8c720b Autospec ironic-lib mocks, fix test error string
This is a follow up of commit ce46c43246ee05f76805b22f4656080b27c2266b.

Certain mocks were not set with autospec=True, meaning that calls to
methods or attributes of those mocks that don't exist would pass
silently. Additionally, an error string raised during incorrect test
behavior would have failed due to an incorrect use of Python's join()
method. Additional information is included in the error message now,
too.

Change-Id: I7a7621369ce909530a08eb7d86d1ebdc4c473c9e
2016-12-09 21:31:15 +00:00
Jenkins
538fd4eecc Merge "Fix default value of "ignore_req_list" config option" 2016-12-09 18:56:32 +00:00
Jenkins
46fedad7b1 Merge "Allow setting dhcp_provider in devstack" 2016-12-09 17:12:05 +00:00
Martin Roy
e806cf7a88 Remove deprecation of snmp drivers
Now that there is a gate running with virtual pdu we can officially
keep it an support it

Change-Id: Ie6accaa2a29007fa2e0c97329e37efd5f907fc7b
2016-12-09 11:28:10 -05:00
Jim Rollenhagen
82d7c8c588 Allow setting dhcp_provider in devstack
Provide a variable IRONIC_DHCP_PROVIDER to set CONF.dhcp.dhcp_provider.
This is needed to properly configure ironicclient functional tests,
which don't deploy neutron.

Change-Id: If601934d0c59b5dd5556336e5644832dc7564548
Partial-Bug: #1648179
2016-12-09 09:50:46 -05:00
Yuriy Zveryanskyy
8bcee6e206 Fix default value of "ignore_req_list" config option
If audit is enabled ironic API service does not start with default
value (None) of "ignore_req_list" config option. This patch changes
default value to empty string. Related modification added to ironic
sample config.

Closes-Bug: 1648387
Change-Id: Ifbbbed4012670b4b05fcf63e5586024f3c927875
2016-12-09 16:14:21 +02:00
Ruby Loo
ff4d6d1bd4 Add unit test for create_node RPC call
Add a simple unit test for the create_node() RPC call. We forgot
to add it in Id1da20ccd5bb50e61a82449ef3d2ffce91822d71.

Change-Id: Ic5d0e82079d76e3bea2fb60057b1a6a98f7ecbe1
2016-12-08 19:30:44 -05:00
Jenkins
b15a8cf90a Merge "Documentation for Security Groups for baremetal servers" 2016-12-08 22:05:05 +00:00
Jenkins
3d349d3c19 Merge "Mock ironic-lib properly in test_deploy_utils" 2016-12-08 21:48:40 +00:00
Sukhdev Kapur
27b2453642 Documentation for Security Groups for baremetal servers
This patch updates the Ironic documentation to describe how to
configure security groups for baremetal servers.

Change-Id: I19b42f0fcecc7e4952de452e8576a1ad87e73b61
Closes-bug: 1594242
2016-12-08 11:59:23 -08:00
Pavlo Shchelokovskyy
679edb4e72 Remove agent vendor passthru from iLO drvers
Change-Id: Ic686eaa744bf2c9eac44fe3c437ebb67e6153489
Partial-Bug: #1640533
2016-12-08 21:54:25 +02:00
Jenkins
d4c4eef4e5 Merge "Updated from global requirements" 2016-12-08 00:04:59 +00:00
Jenkins
d217b5cf4f Merge "Add release names & numbers to API version history" 2016-12-07 22:54:45 +00:00
Jenkins
51c732fd0e Merge "Use IronicObject._from_db_object_list method" 2016-12-07 22:54:37 +00:00
Jenkins
6a320490ee Merge "Fix double dots at the end of a message to single dot" 2016-12-07 22:45:01 +00:00
Jenkins
3b9ee6bcc5 Merge "Remove the VALID_ROOT_DEVICE_HINTS list" 2016-12-07 22:06:51 +00:00
OpenStack Proposal Bot
efca39ec62 Updated from global requirements
Change-Id: I6c93b4843faf7982a5437ab12b736b149b9bb2ff
2016-12-07 21:22:54 +00:00
Jenkins
644f02fd87 Merge "Make "enabled_drivers" config option more resilient to failures" 2016-12-07 17:51:15 +00:00
Miles Gould
1f605a22e2 Add release names & numbers to API version history
This should make it easier to work out when an API change was
introduced and what API microversions are likely to be supported by a
given cloud. Release numbers were determined by reading the release
notes in most cases, and by searching Git history when that failed. I
was unable to determine when the API versions 1.1-1.6 were released, so
have listed them all as simply "Kilo".

Keeping this list up-to-date is (currently?) a manual process; this
patch adds "Update the API version history" to the how-to-release
document as a pre-release task.

Change-Id: I44b29d29e38b0ac1b256c2377ff84db2482b7aa7
2016-12-07 13:36:59 +00:00
Lucas Alvares Gomes
e276418280 Remove the VALID_ROOT_DEVICE_HINTS list
This is a leftover from the moving the root device hints logic to
ironic-lib. This variable is not used anywhere anymore.

Change-Id: I3aaa79cc7dd5fafda874d370fccc801ec5bc3344
2016-12-07 11:57:34 +00:00
Lucas Alvares Gomes
a581c1eafc Make "enabled_drivers" config option more resilient to failures
Do not fail to start the ironic-conductor service if there's a
trailing comma or an empty value as part of the "enabled_drivers" or
"enabled_network_interfaces" configuration option, instead, log a warning
alerting the operation of the wrong syntax.

Change-Id: Id9141c014263de5e72641613d970fd481a6aaa74
Closes-Bug: #1647783
2016-12-07 11:29:51 +00:00
takanorimiyagishi
fd41da7d3b Fix double dots at the end of a message to single dot
This patch removes a dot from the end of a string which is passed to
the function check_for_misssing_params() as the second parameter
"error_msg", because the function check_for_misssing_params() appends
another dot at the end of the "error_msg".
 def check_for_missing_params(info_dict, error_msg, param_prefix='')

Change-Id: I1a99feb1a1338ace773928e9070d42dbd2a7bb0f
2016-12-07 06:22:39 +00:00
Ruby Loo
349a4dd323 Use IronicObject._from_db_object_list method
This cleans up the code so that wherever an object needs to
convert a list of database entities to a list of the objects,
IronicObject._from_db_object_list() is used.

Individual object's _from_db_object_list() methods are removed.

Change-Id: Ic9d16b30da0067606804ad6b5997af4bc864ad93
2016-12-06 17:20:26 +00:00
Ruby Loo
ea55db7b99 Update help for 'provisioning_network' option
This updates the help string for [neutron]provisioning_network
configuration option to indicate that the value can also be a
network name.

The release note for this new configuration option is also
updated.

This is a follow up to b6a2919b6198c8fb24d6f7e597f79a08f6ffe049.

Change-Id: I5773b20c5578fa4d14f80de9119e442edfe98dd0
2016-12-06 10:19:40 -05:00
Jenkins
d69a3b6c58 Merge "Add volume_connectors and volume_targets to task" 2016-12-06 13:30:28 +00:00
Jenkins
a14dcc56de Merge "Add virtualpdu to ironic devstack plugin" 2016-12-06 11:16:08 +00:00
Jenkins
61027aafda Merge "Updated from global requirements" 2016-12-05 12:17:43 +00:00
Jenkins
2100aff478 Merge "Auto enable the deploy driver" 2016-12-05 11:20:30 +00:00
Jenkins
e1606b4114 Merge "Fix import method to follow community guideline" 2016-12-05 11:09:44 +00:00
Jenkins
75b648489b Merge "Turn off tempest's multitenant network tests" 2016-12-05 10:41:56 +00:00
Jenkins
dfcc4be60b Merge "Remove agent vendor passthru from most drivers" 2016-12-05 10:01:24 +00:00
OpenStack Proposal Bot
5514cee022 Updated from global requirements
Change-Id: Ib4a9c89f41734348ff85059e3db21d772b65ee57
2016-12-05 09:39:00 +00:00
Félix Bouliane
1a4f34266f Add virtualpdu to ironic devstack plugin
This adds virtualpdu with a default pdu configuration to be able to test
snmp drivers in ironic.

Change-Id: I76e519920920dc702ac510ad312ab412960b2edd
Related-Bug: #1597793
2016-12-02 18:16:57 -05:00
Martin Roy
733e509bab Auto enable the deploy driver
This will reduce misconfiguration as if the user forgets to
include its driver in the enabled driver, the stack will fail.

Change-Id: If5275a93432ffcac350e8bffa1ad4a2b126eea56
Partial-bug: #1633567
2016-12-02 18:00:28 -05:00
Jenkins
0a124c2bc0 Merge "Renaming audit map conf sample file" 2016-12-02 19:10:23 +00:00
Julia Kreger
f11d3deff5 Add volume_connectors and volume_targets to task
Adding volume_connectors and volume_targets to the task object
to allow for matching the existing model leveraged by ports and
portgroups which allows for simplified storage_interface use.

Change-Id: Iea1af5b939ba9374feef56ce22ae718eb6c7a672
Partial-Bug: #1559691
2016-12-02 18:24:21 +00:00
Jenkins
170f7d1d1a Merge "Increase verbosity of devstack/lib/ironic" 2016-12-02 17:30:28 +00:00
Jenkins
fe06ce99ad Merge "Update the links in iLO documentation" 2016-12-02 16:55:41 +00:00
Jenkins
ff3a8f1d7f Merge "Support names for {cleaning,provisioning}_network" 2016-12-02 16:54:14 +00:00
Jenkins
035ab48bfc Merge "Add RPCs to support volume target operations" 2016-12-02 16:28:08 +00:00
Lokesh S
bd0610232a Renaming audit map conf sample file
This change fixes nits mentioned in reviews of commit 295b35c48f7dcc

* Renaming ironic_api_audit_map.conf.sample file to
  api_audit_map.conf.sample

* Doc change --> changing to [oslo_messaging_notifications]/driver
  as notification_driver is deprecated

* Renaming path_keyword vendor_passthru in api_audit_map.conf.sample

Change-Id: Ib073598cea1e9acc9788e2db85f814f0295134ef
2016-12-02 16:27:29 +00:00
Jenkins
cd4d09846f Merge "Cleanup adding Ironic to cluster on upgrade case" 2016-12-02 15:34:36 +00:00
Jenkins
1357803439 Merge "Add VolumeTarget object" 2016-12-02 15:30:42 +00:00