4819 Commits

Author SHA1 Message Date
Jenkins
6be9976257 Merge "Allow to set Neutron port setup delay from config" 2016-04-22 16:09:47 +00:00
Jenkins
13a2609d60 Merge "Remove two DEPRECATED config options from [agent]" 2016-04-22 14:00:48 +00:00
Jenkins
58584041c6 Merge "Fix usage of rest_client expected_success() in tests" 2016-04-22 13:59:36 +00:00
Jenkins
0efe6a3248 Merge "DevStack: Parametrize automated_clean" 2016-04-22 09:50:13 +00:00
Jenkins
6e15ce676f Merge "Restart consoles on conductor startup" 2016-04-22 09:31:18 +00:00
Jenkins
785c6aca67 Merge "ipxe: retry on failure" 2016-04-22 09:02:20 +00:00
Jenkins
7a15a64ea4 Merge "Remove backwards compat for CLEANING" 2016-04-22 08:55:53 +00:00
Lucas Alvares Gomes
a8fc9af5ec DevStack: Parametrize automated_clean
This patch is adding a way to enable/disable automated_clean as part of
the DevStack run.

Change-Id: I991e99b96b68bcab661f6d39a774ab818cf93ff7
2016-04-22 08:29:03 +00:00
Michael Still
7ab2cd7069 Very important single character typo fix
Its in a comment, but it annoyed me while reading this code. Do
with this patch as you will.

Change-Id: Ifda4792e590c920bc3d044c61814758328e87cf5
2016-04-22 12:54:22 +10:00
Jenkins
6059f58878 Merge "Update ironic.config.sample" 2016-04-21 21:53:22 +00:00
Ramamani Yeleswarapu
e9bf491686 Remove two DEPRECATED config options from [agent]
Remove two config options that were DEPRECATED in Liberty cycle
from the config group section [agent]. They are:
- agent_pxe_append_params
- agent_pxe_config_template

These were marked for removal in the Mitaka release.

Change-Id: I5ceb895db7dcd7150b93059ddc8c4084228efca0
Closes-Bug: 1570475
2016-04-21 10:09:01 -07:00
Jenkins
7faf8fb731 Merge "Imported Translations from Zanata" 2016-04-21 16:45:30 +00:00
Jenkins
2562748bea Merge "Devstack: Change to use 'ovs-vsctl get port tag'" 2016-04-21 15:23:55 +00:00
vsaienko
5cf9f083fe Allow to set Neutron port setup delay from config
Unfortunately there still no mechanism to synchronize events with Neutron.
Sometimes server can get to PXE faster than Neutron configures port for netboot.
It may occur with VMs, and hardware servers with fast boot enabled.
This patch introduce new config variable 'port_setup_delay'
that allows to wait for Neutron operations.

Change-Id: Iaeb78649a92b89e2c6eb0f545aed95a766d14430
2016-04-21 18:17:01 +03:00
Jenkins
fbf9830d28 Merge "Updated from global requirements" 2016-04-21 14:23:50 +00:00
vsaienko
3d80e41e8d Update ironic.config.sample
Update outdated config example

Change-Id: Ib8ed9b977b00b3b1dc54d763572bd4d3bf55dd69
2016-04-21 15:26:58 +03:00
ghanshyam
e8dda1db0e Fix usage of rest_client expected_success() in tests
rest_client expected_success() method expect read_code
must be int and states the same in doc string .

Tempest is converting that to error instead of false pass.
Details: I3f4c58bdbb172805514831103927d3464d65d7f3

Change-Id: Ic4b0af5701df99621e3abb693644c4824c92dc4c
2016-04-21 19:37:55 +09:00
OpenStack Proposal Bot
a587309f84 Imported Translations from Zanata
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: Idc10952c9c6644be576a559b9cb1fa9cc0466af3
2016-04-21 06:34:18 +00:00
Jenkins
151ab7aa49 Merge "Document how to run the tempest tests" 2016-04-21 00:57:37 +00:00
Jenkins
c8a60a3b1b Merge "Make sure Cisco drivers are documented on IRONIC_DEPLOY_DRIVER" 2016-04-20 23:56:34 +00:00
OpenStack Proposal Bot
cd1a1a592f Updated from global requirements
Change-Id: Ic3680ef566aee17ab71c0bf2df5e2845b6fcb5d0
2016-04-20 23:13:07 +00:00
Lucas Alvares Gomes
9f4f0a4447 Document how to run the tempest tests
This patch is extending the developer quick-start guide to include
information about how one can run the integration tests (tempest) against
a running devstack cloud (the setup for such a cloud is already part of
the documentation).

The patch also removes the information about how to run tests from the
ironic_tempest_plugin/README.rst file and add a link pointing to our
documentation.

Change-Id: I6aeb3a4fa735ff08cbb62b0b15cf95be57d1a308
2016-04-20 17:35:40 +01:00
Dmitry Tantsur
f049cfd188 Update the inspection documentation
This change moves inspection documentation to its own file
(similar to RAID and cleaning).

It also adds a list of capabilities we *might* discover during inspection.
It's partly based on the iLO spec [1], partly - on the in-band capabilities
discovery RFE [2]. The vendor-specific bits are missing on purpose.

The goal here is to have a common subset of capabilities to be discovered
by all (or the majority) of the drivers (including in-band inspection).

[1] http://specs.openstack.org/openstack/ironic-specs/specs/kilo-implemented/ilo-properties-capabilities-discovery.html#proposed-change
[2] https://bugs.launchpad.net/ironic-python-agent/+bug/1571580

Related-Bug: #1571580
Change-Id: If5d466a2c331674abb30d30dc39871f25a84de88
2016-04-20 14:46:13 +02:00
Gonéri Le Bouder
42dc6a341a ipxe: retry on failure
If ipxe fails to boot download kernel/initrd, it will give up and the
boot process will continue with the next boot device, and may end up
with a boot on the old disk image.

If ipxe has failed to download a file and after the pxe/ipxe_timeout
delay, it will now retry to download it instead of giving up.

This goto/retry pattern is common with IPXE. This is an example:
  http://ipxe.org/cmd/autoboot

We can hardly implement complex solutions since we have a very limited
control over the ipxe version in use.

Closes-Bug: #1326656
Change-Id: I0fbb40c711a707ae9fae186e9afbe62b79168e28
2016-04-19 10:20:36 -04:00
Debayan Ray
67652e530e Add note on prerequisite of 'rpm' file extraction
As part of the manual cleaning step of firmware update the extraction
of firmware file with .rpm extension fails if commands `rpm2cpio` and
`cpio` are not present on the conductor. This doc note adds the
prerequisite information about `rpm2cpio` and `cpio` tools while using
a .rpm extn firmware file.

Partial-Bug: #1569900
Change-Id: I806980e62a9ad699b5a278a9dbc07682115d2a8f
2016-04-18 22:34:03 -07:00
Zhenguo Niu
8faad8a2e8 Devstack: Change to use 'ovs-vsctl get port tag'
OVS provides a method to get port tag directly, so we don't
need to show all ports' details and grep the desired tag number.

Change-Id: I5f3fc11a802fcb5e58dd1bf74e7fc9ff29677bb2
2016-04-19 10:48:14 +08:00
Zhenguo Niu
d27e9e4a8f Restart consoles on conductor startup
Some nodes' console_enabled may be True but the corresponding
shellinabox services stopped while starting conductors, so try
to start consoles on conductor startup.

Change-Id: Ida5fda35340d62e08c779655183ef82211cd8703
Closes-Bug: #1525790
2016-04-18 17:46:26 +08:00
Ruby Loo
5a7501da82 Remove backwards compat for CLEANING
The CLEANWAIT state was introduced in Liberty
(Ic2bc4f147f68947f53d341fda5e0c8d7b594a553) to distinguish
between nodes that were CLEANING versus CLEANWAIT. Now
that it is Newton, all nodes that might have been in CLEANING
state (instead of CLEANWAIT) should have been cleaned (unless
the cleaning is taking many months to finish), so there shouldn't
be any nodes that aren't in the expected CLEANWAIT state.

This removes the backwards compatibility code that had been
introduced to handle nodes that might have been in CLEANING
instead of CLEANWAIT state.

Change-Id: I7e1e3be26b9c67cff80dfa5905da172d91abbed9
2016-04-14 15:55:06 -04:00
Jenkins
47f40c7c60 Merge "Use get_admin_context() to create the context object" 2016-04-14 13:53:45 +00:00
Jenkins
ec98b330b4 Merge "Adopt Ironic's own context" 2016-04-14 13:53:36 +00:00
Sam Betts
25286f6b87 Make sure Cisco drivers are documented on IRONIC_DEPLOY_DRIVER
Recently support was added to ironic devstack to support the Cisco
Ironic drivers, however the comment above IRONIC_DEPLOY_DRIVER
wasn't updated to reflect this has part of that change, this is a
follow up patch making sure that documention is completed.

Change-Id: Iea48abf911345f0b017648f368e3d61fb3cc63d3
2016-04-14 14:50:55 +01:00
Jenkins
20ae1e2e73 Merge "Remove two deprecated config option names from [agent] section" 2016-04-14 10:55:41 +00:00
Jenkins
c0f7e72387 Merge "Updated from global requirements" 2016-04-14 08:35:54 +00:00
Jenkins
ef5ed93b9e Merge "Add support for Cisco drivers in Ironic devstack" 2016-04-14 08:14:06 +00:00
Jenkins
7113f90fcd Merge "add new portal_port option for iscsi module" 2016-04-14 08:01:49 +00:00
Jenkins
6ceb88017c Merge "Remove description of 'downgrade' for ironic-dbsync" 2016-04-14 07:40:14 +00:00
Ramamani Yeleswarapu
15674eee47 Remove two deprecated config option names from [agent] section
Remove two deprecated options from the config group section [agent]
that were deprecated in the Liberty cycle. Those options are:

- agent_erase_devices_priority
- agent_erase_devices_iterations

These options had been renamed and deprecated by commit
9a35ca19b4872af2e02cb83b21a3746732802e74

Change-Id: I9c6df0979c2814b5f26f8fb596de6cf07e4f76aa
2016-04-13 21:58:40 -07:00
OpenStack Proposal Bot
49273cc3d6 Updated from global requirements
Change-Id: I6516e70f24c7a5f9fce9512183bcc7d353cc8c71
2016-04-14 02:33:20 +00:00
Jenkins
b1473922fa Merge "[docstring] Update ironic/api/controllers/v1/__init__.py comment" 2016-04-13 16:22:46 +00:00
Sam Betts
b61d9c076b Add support for Cisco drivers in Ironic devstack
Ironic devstack currently only supports real hardware being controlled
with the *_ipmitool drivers, this patch adds support for the two Cisco
Ironic drivers UCS and CIMC. To provide this support it deprecates the
old IRONIC_IPMIINFO_FILE replacing it with IRONIC_HWINFO_FILE, which
can support extra fields on top of the standard address, mac address,
username and password fields.

Change-Id: Ia658835491bc8c142c1ddee58df7c4ff7fd5a352
2016-04-13 16:23:20 +01:00
OpenStack Proposal Bot
e602f17c34 Updated from global requirements
Change-Id: I9ea86337667be32a657eb2a74062376afa439564
2016-04-13 12:43:22 +00:00
Atsushi SAKAI
6724a96ccf [docstring] Update ironic/api/controllers/v1/__init__.py comment
The docstring of ironic/api/controllers/v1/__init__py
is updated to reflect 3 years working.

Change-Id: If2a65ae54c33c45d147554644d07239543e4f1d7
2016-04-13 17:25:15 +09:00
Haomeng, Wang
cdf0a0914c add new portal_port option for iscsi module
IPA supported iSCSI portal port customization by 272420 patch.

With this patch, we add new portal_port argument into
agent_client.start_iscsi_target() method to pass iSCSI portal
port to IPA side. And add new configuration into iscsi module as
below:

CONF.iscsi.portal_port

Reference:
https://review.openstack.org/#/c/272420/

Change-Id: Ia1515cbd6723a965e362a7dfa0b58077194401f3
Closes-Bug: #1523829
2016-04-13 07:46:14 +00:00
Jenkins
349de67ab5 Merge "In node_power_action() add node.UUID to log message" 2016-04-12 21:58:26 +00:00
Jenkins
ca69aa83f6 Merge "deployment vmedia ops should not be run when not deploying" 2016-04-12 21:17:30 +00:00
Jenkins
0d03f98e74 Merge "Force iRMC vmedia boot from remotely connected CD/DVD" 2016-04-12 19:12:32 +00:00
Jenkins
9b63992a8e Merge "Fix tinyipa initrd tarballs.openstack.org file name" 2016-04-12 11:18:26 +00:00
Sam Betts
b0c09844e1 Fix tinyipa initrd tarballs.openstack.org file name
The file name that the ironic devstack script is trying to download for
tinyipa mistakenly has ".cpio" in the name when it shouldn't, this patch
removes it.

Change-Id: I00f1856c186709f43513048e2b9634e57dc32410
2016-04-12 10:40:30 +01:00
Jenkins
38e554c77a Merge "Prepare for transition to oslo-config-generator" 2016-04-11 12:52:08 +00:00
Jenkins
1bff8ddee4 Merge "Correct api version check conditional for node.name" 2016-04-10 12:50:03 +00:00