Currently bay-show operation does not return bay/cluster
version information. This change contain changes to return
bay/cluster version and container version info.
Change-Id: Ie12b6583e6d85faa3607f87295c04d72698034a5
Closes-Bug: #1613413
After bay-delete, the bay status will not change until the bay is
deleted. To change the bay status, bay.save() should be added.
Change-Id: Ib16e9896cdf980c9f9c1f2fc581aa723dfc52ac0
Closes-Bug: #1615891
This reverts commit 15162ce33a099a53f7022ae45aec15463b0432a6.
Mesos services were not working, so reverted the patch
which renamed slave to agent.
Change-Id: I94a9a36e649f48f8e31386226226261ef459ce25
Closes-Bug: #1617407
This patch init api-ref document structure and
adding some requirements based on the guidance of
OpenStack API team.
Get ready for os-api-ref sphinx theme change
Change-Id: I896c8752fbcf15ec8e5bc6b3862a1ed040936215
Implements: blueprint magnum-doc-rest-api
* checkout one commit before the latest and check coverage
* check coverage with the latest commit
* all new lines must be tested
This functionallity essentially compares the current change
with the master branch, since the coverage job runs always
for only one change.
Partial-Bug: #1511667
Change-Id: I2ab9078489f30dbc383c068bb9abc0f3b9ee0e62
"openstack" storageDriver is not supported in latest version of
rexray. It is supported in stable version: 0.3.3.
Once it is supported: http://rexray.readthedocs.io/en/stable,
this commit can be reverted.
Change-Id: I854fb322debe9464c66a566f3b04392ebed61603
Closes-Bug: #1617331
This is a continuation of patch 353726 and includes all of the
doc changes for replacing the term bay with cluster and
BayModel with ClusterTemplate.
Change-Id: Ia7efaed157971ad7631ddffb9c1400f3516720f0
Implements: blueprint rename-bay-to-cluster
This patch will update the certificate api to use the term Cluster
instead of Bay. Bay will still be supported, but will be deprecated
and removed in a future release.
Change-Id: Ie169162a743320813e636597240941b5dd59ded3
Implements: blueprint rename-bay-to-cluster
Added history for API versions supported by magnum
till date. For all newly added api, versions.py and
rest_api_version_history.rst should be updated.
Also added docs that describe what to do when a new
microversion is added.
The docs changes are taken from nova.
Change-Id: Ia8c7f1e8536ef7820958aa73afae7e5b85672d54
Closes-Bug: #1615843
"../../common/templates/environments/" path seems to be redundant
in each drivers.
So it should be const variable.
Change-Id: I5cbd30e350c861b611b327a4dda3f92a6316e45b
Closes-Bug: #1616259
This patch adds an environment file and a couple of template resources
to allow the Floating IP resources to be conditionally enabled/disabled.
Change-Id: I95025d39443165e8463a81f8f75e78f5aa3809a1
Partially-Implements: blueprint bay-with-no-floating-ips
This patch fixes a few missed changes. It also updates Cluster
and ClusterTemplate with a few changes that were merged while the
main patch was a WIP. Updates changes from patches:
Idd02769f98078702404a11dc9f7a3339ce4e22eb and
I1abc5626f39958351935f4c711c19588651d2bc6
Change-Id: I509520d1af0f0e2c04d53359705973d6a6f97a26
Implements: blueprint rename-bay-to-cluster
Dockerfile to build Openvswitch image
The Kuryr driver for Swarm bay requires Openvswitch and the Neutron
L2 agent running on the nodes. Since the Fedora Atomic does not
have these packages installed and it is preferrable to not use a
custom-built image, we need to run these packages in a container.
This Dockerfile is used to build the Docker image hosted on
Docker Hub:
openstackmagnum/fedora23-neutron-ovs:testing
Partially implements: blueprint kuryr-swarm-integration
Change-Id: I5132ccc2bc5660aa9688430bbc51f6759f6b7a81
Attributes which are mandatory (ie, required for object creation) should
not be removable. However, some attributes (such as baymodel.server_type)
are not required for object creation, but should not be removable if they
are set. This commit does the following:
- rename JsonPatchType.mandatory_attrs to non_removable_attrs to better
describe its meaning,
- change its return type to set-of-strings for faster lookup
- ensure all mandatory attributes on the type being patched are
included in the set of non-removable attributes,
- add a new field, JsonPatchType._extra_non_removable_attrs, which
should be a set of attributes that are not required for creation but
should not be removed if set.
Since the object to be patched does not exist at patch-validation time,
we leave the validation logic in methods of JsonPatchType and
subclasses. This means introspecting the types to be patched.
This patch is copied from ironic [1].
[1] https://review.openstack.org/#/c/240202/9
Change-Id: Ifcfc4e48a05d75b919a33ef463754c199da94a8e
Close-Bug: #1530771
The test needs a valid CSR which was created in the devstack post_test_hook
in a static way (always the same CSR).
This commit simplifies the process and just adds the CSR to the test itself
so that the CSR string can be used to check the CSR. That way there is no need
to provide a file with the CSR content and point the tempest configuration
via the "csr_location" parameter to that file.
So the "csr_location" parameter is now deprecated for removal.
Also remove the unused "invalid.csr" which was also created in the
post_test_hook.
Change-Id: I907130576cfb59267643b4639681331acfcfa07f
This reverts commit 748cf13182b59d77a1be7e50e1524c39c7dd3349.
This commit breaks to setup.py install phase.
Closes-Bug: #1615026
Change-Id: Ie29a723319775e1becff5a6099cb58e3541e399c
Explain labels in User Guide
Magnum labels has many possible key/value that have specific meaning.
It is helpful to summarize them in a table for quick reference.
Also add details on labels specific to Mesos that have not been
documented before.
Partially implements: blueprint user-guide
Co-Authored-By: Ton Ngo <ton@us.ibm.com>
Change-Id: If727563d3cb93663b696abb707cb2acb76a693e2