3155 Commits

Author SHA1 Message Date
Hongbin Lu
6a7c4f8bce Add missing release notes
Change-Id: If3eb28475d3c124cc1660a3e7ed9790bc4c2c148
2016-08-31 18:14:06 -05:00
Jenkins
649a9e2c2a Merge "Create version api reference" 2016-08-31 22:50:07 +00:00
Jenkins
5258fddf9d Merge "Include version info in bay/cluster show operation" 2016-08-31 19:15:49 +00:00
Jenkins
4650a4b5a1 Merge "Fix bay status: after bay-delete status is not DELETE_IN_PROGRESS" 2016-08-31 15:42:24 +00:00
Jenkins
e7413d102a Merge "Revert "Update mesos slave to mesos agent"" 2016-08-31 15:23:37 +00:00
Vijendar Komalla
50bc376c4d Include version info in bay/cluster show operation
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
2016-08-31 09:39:42 -05:00
ztetfger
23b2610973 Fix bay status: after bay-delete status is not DELETE_IN_PROGRESS
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
2016-08-31 13:45:34 +00:00
Jenkins
a48432f5f4 Merge "Fix incorrect reference to bay-template-example.html" 2016-08-30 17:13:40 +00:00
yatin karel
5c5bc5f91b Fix incorrect reference to bay-template-example.html
Change-Id: I5fa974bc082d2e344982ad3ad34b3de7af52d7a7
Closes-Bug: #1614639
2016-08-30 21:29:14 +05:30
Jenkins
c6fcb7e3d3 Merge "Make templates env path be const variable" 2016-08-30 14:51:03 +00:00
Jenkins
3d62145947 Merge "Allow k8s cluster without Floating IP" 2016-08-30 14:47:30 +00:00
Jenkins
453caca84a Merge "Bay to Cluster api cleanup" 2016-08-30 13:14:10 +00:00
Jenkins
c1c6cf0214 Merge "Add history for API versions supported by magnum" 2016-08-30 03:37:33 +00:00
yatin
272903ff9e Revert "Update mesos slave to mesos agent"
This reverts commit 15162ce33a099a53f7022ae45aec15463b0432a6.

Mesos services were not working, so reverted the patch
which renamed slave to agent.

Change-Id: I94a9a36e649f48f8e31386226226261ef459ce25
Closes-Bug: #1617407
2016-08-30 08:49:45 +05:30
Hieu LE
e944685861 Create version api reference
Add details for version API of Magnum.

Change-Id: Idf4e1ff08963a72dc6eaaee0b64f7a91e6be4891
Implements: blueprint magnum-doc-rest-api
2016-08-29 23:44:37 +00:00
Jenkins
53a1b5d7cd Merge "Updated from global requirements" 2016-08-29 19:37:28 +00:00
Jenkins
35c92c9bd2 Merge "Rename Bay to Cluster in docs" 2016-08-29 18:48:22 +00:00
Jenkins
4ec9a8f6b9 Merge "Init api-ref structure and requirements" 2016-08-29 18:06:28 +00:00
OpenStack Proposal Bot
77c4f5057a Updated from global requirements
Change-Id: If6b0eed553e03562a82a90946cc3e849b5d69294
2016-08-29 16:48:43 +00:00
Hieu LE
cdd14f209e Init api-ref structure and requirements
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
2016-08-29 22:44:08 +07:00
Spyros Trigazis
4d545d6751 Compare test coverage with the master branch
* 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
2016-08-29 14:28:59 +02:00
Jenkins
512633e6b9 Merge "To use cinder with rexray downgrade to version: 0.3.3" 2016-08-29 06:32:56 +00:00
yatin karel
08dc69eaf0 Removed not required style.css file
Removed style.css from magnum source and it's reference
from test modules.

Change-Id: Ifd16bf3f5e80674d0f8d963066374f4ab3823c1f
Closes-Bug: #1617722
2016-08-28 17:27:39 +05:30
Jenkins
0d661c32f0 Merge "Get mandatory patch attrs from WSME properties" 2016-08-26 21:19:08 +00:00
yatin
433eeb8d22 To use cinder with rexray downgrade to version: 0.3.3
"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
2016-08-27 02:03:44 +05:30
Jaycen Grant
584380f8ee Rename Bay to Cluster in docs
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
2016-08-26 12:18:50 -07:00
Jenkins
03dd1091bd Merge "Openvswitch image build" 2016-08-26 03:39:56 +00:00
Jenkins
abafc6ef1c Merge "Add cluster to cert commands" 2016-08-25 01:04:25 +00:00
Jaycen Grant
8aed31a6a6 Add cluster to cert commands
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
2016-08-24 19:00:59 +00:00
yatin
06d5bb54bd Add history for API versions supported by magnum
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
2016-08-24 14:01:51 +05:30
OTSUKA, Yuanying
b4b32267c6 Make templates env path be const variable
"../../common/templates/environments/" path seems to be redundant
in each drivers.
So it should be const variable.

Change-Id: I5cbd30e350c861b611b327a4dda3f92a6316e45b
Closes-Bug: #1616259
2016-08-24 10:00:40 +09:00
OTSUKA, Yuanying
2cc25abe49 Allow k8s cluster without Floating IP
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
2016-08-24 09:39:51 +09:00
Jaycen Grant
4a3578101c Bay to Cluster api cleanup
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
2016-08-23 15:55:22 -07:00
Jenkins
e974f5aae7 Merge "Updates k8s example rc to use correct label" 2016-08-23 18:40:57 +00:00
Ton Ngo
3ee29655ff Openvswitch image build
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
2016-08-23 11:35:21 +00:00
yatin karel
d82d8b2420 Get mandatory patch attrs from WSME properties
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
2016-08-23 10:23:19 +05:30
Jenkins
43ea1ab6f2 Merge "Add Mesos labels and summary for labels" 2016-08-22 18:50:37 +00:00
Thomas Bechtold
52224c5c09 Simplify test_create_list_sign_delete_clusters() tempest test
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
2016-08-22 10:56:43 +02:00
Jenkins
778f144fd4 Merge "Revert "Use symlinks for common template files"" 2016-08-22 01:55:00 +00:00
Jenkins
658076e0fc Merge "Updated from global requirements" 2016-08-22 01:45:49 +00:00
Jenkins
555ffb5554 Merge "Align k8s CoreOS with atomic: add proxy config" 2016-08-21 05:50:24 +00:00
OpenStack Proposal Bot
52328aaa7d Updated from global requirements
Change-Id: Ie6daa7b3f1d5fa15d419eb87904ce3813852a9eb
2016-08-21 05:12:59 +00:00
Jenkins
9a71c33451 Merge "Use upper constraints for all jobs in tox.ini" 2016-08-21 04:21:12 +00:00
Jenkins
01fa411521 Merge "Rename Bay to Cluster in api" 2016-08-21 03:19:20 +00:00
Jerome Caffet
802f137aee Revert "Use symlinks for common template files"
This reverts commit 748cf13182b59d77a1be7e50e1524c39c7dd3349.
This commit breaks to setup.py install phase.

Closes-Bug: #1615026
Change-Id: Ie29a723319775e1becff5a6099cb58e3541e399c
2016-08-19 18:07:03 +00:00
Jenkins
2c7a51bf9b Merge "Drop MANIFEST.in - it's not needed by pbr" 2016-08-18 07:40:17 +00:00
Jenkins
a4aa5bf109 Merge "Correct the get_file patch in CoreOS template" 2016-08-18 00:18:16 +00:00
Jenkins
8610b44936 Merge "Increased test coverage" 2016-08-17 23:59:41 +00:00
Jenkins
bc7319db8b Merge "Add support for master elected component" 2016-08-17 23:59:33 +00:00
wangqun
c520085b1f Add Mesos labels and summary for labels
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
2016-08-17 22:44:27 +00:00