Commit Graph

7096 Commits

Author SHA1 Message Date
Tony Breeds 32e341fc9b Retire Packaging Deb project repos
This commit is part of a series to retire the Packaging Deb
project. Step 2 is to remove all content from the project
repos, replacing it with a README notification where to find
ongoing work, and how to recover the repo if needed at some
future point (as in
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project).

Change-Id: I72c9e7b4780f435d32b1eb4991aa20095be3235c
2017-09-12 15:39:34 -06:00
Jenkins 3d570738ef Merge "Update URL home-page in documents according to document migration" 2017-07-25 17:00:24 +00:00
Jenkins 94c1cabf09 Merge "Fix docstring and default value for local_group_info" 2017-07-25 16:29:30 +00:00
Jenkins a5205bdd3e Merge "Add tempest tests for physical networks" 2017-07-25 11:44:01 +00:00
Vasyl Saienko 82bc9422c6 Fix docstring and default value for local_group_info
This patch is a follow-up to ade71e4f16

Change-Id: I7d031ba002abe95fbea88e9716ae3660026e8cd8
2017-07-25 09:52:11 +03:00
Jenkins 5187e80f03 Merge "py3.5:Workaround fix for forcing virtualbmc installation with pip2" 2017-07-24 20:36:36 +00:00
Jenkins a6f8566f4c Merge "Refactor VIFPortIDMixin: rename" 2017-07-24 20:30:03 +00:00
Jenkins 367876143c Merge "Adding note for ironic virt driver nova-compute changes" 2017-07-24 18:08:32 +00:00
Jenkins 11e79b9214 Merge "Updated from global requirements" 2017-07-24 15:25:02 +00:00
Alexandra Settle 4463d44dd3 Adding note for ironic virt driver nova-compute changes
Backport: ocata newton
Change-Id: I2f56fc66311c5489714d1996943bc3946fc2193f
2017-07-24 14:13:07 +00:00
Jenkins 7cbcb6003d Merge "Start passing portgroup information to Neutron" 2017-07-24 13:42:06 +00:00
Jenkins 2f63c4a953 Merge "DevStack: Add configuration for boot-from-volume" 2017-07-24 12:19:12 +00:00
Jenkins 15db6df2a5 Merge "Allow updating interfaces on a node in available state" 2017-07-24 05:49:09 +00:00
OpenStack Proposal Bot 947d642137 Updated from global requirements
Change-Id: I4e57aa83a602e58ba59e729494fc04df99d48b26
2017-07-23 18:58:55 +00:00
Nisha Agarwal 57e8186d30 py3.5:Workaround fix for forcing virtualbmc installation with pip2
The IPMI commands fail for virtualbmc. This is a workaround
fix to enforce virtualbmc to be installed in python2 as
pyghmi is not ready for python3.5 yet.

Related-Bug: 1696736

Change-Id: Ie4ca923ef0b8363d2f016ebc5be4b2512d3b9a1a
2017-07-22 04:41:54 -07:00
Vasyl Saienko ade71e4f16 Start passing portgroup information to Neutron
With this patch ironic starts passing portgroup information to Neutron
via 'binding:profile'. This will allow to configure portgroup on the
switch by appropriate ML2 driver during deployment.
The example of binding:profile dictionary is:

{
    'local_link_information':[
        {
            'switch_id': 'aa:bb:cc:dd:ee:ff',
            'port_id': 'Gig0/1'
        },
        {
            'switch_id': 'aa:bb:cc:dd:ee:ff',
            'port_id: 'Gig0/2'
        }
    ],
    'local_group_information': {
            'id': portgroup.uuid,
            'name': portgroup.name,
            'bond_mode': portgroup.mode,
            'bond_properties': {
                'bond_propertyA': 'valueA',
                'bond_propertyB': 'valueB',
             }
    }
}

Partial-Bug: #1652630
Co-Authored-By: John L. Villalovos <john.l.villalovos@intel.com>
Change-Id: Iacda8180f644cc1a0986e8b1fc34c65263aabd59
2017-07-21 13:52:14 +00:00
Mark Goddard 975040b3e1 Add tempest tests for physical networks
This change adds tests to the ironic tempest plugin to cover the
API changes made for the physical network awareness feature in
I7023a1d6618608c867c31396fa677d3016ca493e.

Change-Id: I8b30764d797f2f8b45c2ae46ce559e74e0281a49
Partial-Bug: #1666009
2017-07-21 14:31:49 +01:00
OpenStack Proposal Bot e003b071f3 Updated from global requirements
Change-Id: I2fc4dbe1e40a15eba7fbc8f4b62639a1127a63ec
2017-07-21 13:08:25 +00:00
Mark Goddard 78ff071ca3 Refactor VIFPortIDMixin: rename
This prepares the ground for addition of a VIF mixin without support for
interacting with neutron, by explicitly showing that the current VIF
mixin class is for neutron network interfaces.

Change-Id: Ic0707c310c736c78f6f4fa0345311e99f7203a58
2017-07-21 13:38:23 +01:00
Jenkins 9cf32760f0 Merge "Improve ports API reference" 2017-07-21 10:34:53 +00:00
Jenkins 6fba11dfdb Merge "Replace the usage of 'manager' with 'os_primary'" 2017-07-21 10:30:18 +00:00
Hironori Shiina 2c134ac4c5 DevStack: Add configuration for boot-from-volume
This patch enables boot-from-volume feature for DevStack with VMs.
- Add parameters for setting storage interface.
- Set node property for iscsi boot.
- Create volume connectors.

Change-Id: I1085bb8d44e3dbae61243dd9b65d17db33c505be
Partial-Bug: #1559691
2017-07-20 22:15:20 +00:00
Hironori Shiina 7b8ecaefc4 Allow updating interfaces on a node in available state
Enable being able to set the interfaces for a node that is in the
provision state 'available'.

Change-Id: I428dd5905e6ab90c2c0b7867ba487482171b9496
Closes-Bug: #1704913
2017-07-20 23:38:40 +09:00
Jenkins 5ea8d9f354 Merge "replace 'interrace' with 'interface'" 2017-07-20 14:36:26 +00:00
yufei 9fe33003b7 replace 'interrace' with 'interface'
Fix a typo

Change-Id: I46f2ee981645288c2310e2e583c4d8260128deba
2017-07-20 17:27:30 +08:00
Mark Goddard bfd80a5d39 Improve port update API unit tests
Currently, the RPCAPI update_port method is mocked, and its return
value set in the unit tests to the expected value - the modified port.
This isn't really exercising all of the port update API handler, which
should be modifying the port object appropriately and passing it to the
RPCAPI update_port method.

This change adds a side effect to the RPCAPI update_port mock which
saves the Port object that it is passed to the DB. This allows us to
avoid fudging the answer and test the code more thoroughly.

The TestPost test case already does this for port creation.

Change-Id: I77860b2a24da659418f93c380db67ff4726257ff
Related-Bug: #1666009
2017-07-20 08:17:56 +00:00
Mark Goddard 2e51f95263 Improve ports API reference
Currently there are a few missing fields and API microversion notes
in the ports API reference. This change resolves those issues. All
ports microversion notes have been changed to use the active voice.

Change-Id: If16c8e311e439e88fbbdd693c12e0f7992af5044
2017-07-20 09:13:17 +01:00
Jenkins e718b837a0 Merge "Expose ports' physical network attribute in API" 2017-07-19 21:49:54 +00:00
Jenkins 31cee0421d Merge "Rename 'remove_unavail_fields' parameter" 2017-07-19 19:40:13 +00:00
Mark Goddard 02fff930fb Expose ports' physical network attribute in API
In change Ib22753aa6ae0fedce7fb9ecf63f135fda0185c5b the port data model
was updated to include a physical_network field, but this was not
exposed to the user by the REST API. This change exposes the
physical_network field in the REST API.

The port CRUD notification object has been updated to include the
physical_network field.

The API reference and user guide have been updated to include
information about the ports' physical network field.

The API microversion has been bumped to 1.34. During a rolling upgrade
from Ocata when the API service is pinned, the port physical network
field is hidden from API responses, and API requests including the field
are rejected.

Change-Id: I7023a1d6618608c867c31396fa677d3016ca493e
Partial-Bug: #1666009
2017-07-19 17:29:20 +01:00
Jenkins d9983f1eec Merge "Add missing parameter descriptions." 2017-07-18 23:11:36 +00:00
Jenkins f641463cfb Merge "Improve graceful shutdown of conductor process" 2017-07-18 20:44:28 +00:00
Jenkins 6dfb53e7fb Merge "Modifications for rolling upgrades" 2017-07-18 19:42:35 +00:00
Jenkins 44c18969de Merge "remove explicit directions for release notes on current branch" 2017-07-18 18:58:29 +00:00
Ruby Loo abf6d356b3 Rename 'remove_unavail_fields' parameter
Renames the parameter 'remove_unavail_fields' to
'remove_unavailable_fields'.

This is a follow up to 8e7d795db5.

Change-Id: I57f7bde85e959f3edeb878089057bfcd26672570
Partial-Bug: #1526283
2017-07-18 09:45:24 -04:00
OpenStack Proposal Bot 4657d794db Updated from global requirements
Change-Id: I64d5db2ac437c9ae3f3e36b565dfd72154d34f0f
2017-07-18 01:46:54 +00:00
gaozx 9ad88d014d Add missing parameter descriptions.
Change-Id: If26820665aedd771773075621b15fcad506c0b38
2017-07-17 16:08:39 +08:00
Jenkins a1cbfa5be0 Merge "Follow-up to fix for power action failure" 2017-07-15 18:04:06 +00:00
Jenkins 4035eb7942 Merge "Generate iPXE boot script when deploying with boot from volume" 2017-07-14 23:41:49 +00:00
OpenStack Proposal Bot daf01d854c Updated from global requirements
Change-Id: Ie86268aa40e0604c92d6997604ebf9d30e66a68d
2017-07-14 15:40:59 +00:00
Mike Turek 2c18f22f99 Generate iPXE boot script when deploying with boot from volume
This patch moves the boot from volume skip logic for the prepare
step of deployment into the boot interface, allowing the template
to get generated before skipping the remainder of the step.

Partial-Bug: #1559691
Change-Id: Icfea16c62a753c77942107af287880f35f28c404
2017-07-14 10:14:54 -04:00
Jenkins 7a0632dd59 Merge "Using non-persistent boot in PXE interface" 2017-07-14 13:19:16 +00:00
Jenkins e4514f34a1 Merge "Add Driver API change in 1.33 to history" 2017-07-14 02:40:07 +00:00
Jenkins 03a59abb28 Merge "Force InnoDB engine on interfaces table" 2017-07-14 02:37:34 +00:00
Hironori Shiina ba52e406b9 Add Driver API change in 1.33 to history
API Version 1.33 introduced fields related to storage interface to
Driver API as well as Node API. This patch adds missing description
for Driver API to REST API Version History documentation.

Change-Id: I2fd0709865adc1d02cf3800aa11497d97ab0b14b
Partial-Bug: #1559691
2017-07-14 02:18:33 +00:00
Luong Anh Tuan ed3ee45048 Update URL home-page in documents according to document migration
Change-Id: Ief90e9f5db9d64b44b54459087ad475b14a71c07
2017-07-14 01:31:59 +00:00
Fellype Cavalcante c7091fb8e2 Using non-persistent boot in PXE interface
Non-persistent boot device change is not being used in places
where it should be during cleaning and deployment phases,
due to the default behavior of PXE interface forcing a
persistent change when using legacy function
deploy_utils.try_set_boot_device.
For some drivers, e.g. OneView, a persistent change is far more
costly than a non-persistent one, so this fix can bring
performance improvements.

Change-Id: I213e9c6173ee9c7c6c31064afcfae07764af0f7b
Closes-Bug: 1701721
Co-Authored-By: Stenio Araujo <steniaraujo@lsd.ufcg.edu.br>
2017-07-13 13:23:57 -03:00
Ruby Loo 8e7d795db5 Modifications for rolling upgrades
This contains some changes to conversions of objects during a rolling
upgrade.

This changes objects.base.IronicObject.convert_to_version() to have a new
parameter 'remove_unavail_fields': True (default) to remove fields that are
unavailable in the target version -- for serialization/deserialization
of objects. False to change unavailable fields as appropriate (for DB
interactions). The reason for doing this is to make sure that during
serialization (eg for RPC), that we don't include any object
fields that are not supported.

To make the code a bit more performant, we don't perform object
conversions when the API service is serializing the objects for RPC to
the conductor. This is because the conductor will always be running the
same or a newer release as the API service.

Change-Id: I6f77b24199412e3489dd6f3dcf0f51ed04c5c7c0
Partial-Bug: #1526283
2017-07-13 12:16:30 -04:00
Ruby Loo 578f01678c Follow-up to fix for power action failure
This is a follow-up patch to the patch so that the power status
is not retried if a power action fails:
ee5d4942a1

It addresses the comments as well as adds more clarification
and updates the documentation to refer to the new
[ipmi]command_retry_timeout config option.

Change-Id: Ib21544da260565ae399e2d07b32af9bd8b810280
Related-Bug: #1692895
2017-07-13 10:19:27 -04:00
Mark Goddard 761899776b Fix copy/paste error in VIF attach note
This nit was picked up in the review of
I3d13bfacfb5578f570791e3c06e769a9a0140a4c.

Change-Id: I8fc1b7f4c319f306bdd62c9a99497f3a014dabd7
Related-Bug: #1666009
2017-07-12 09:52:19 +00:00