446 Commits

Author SHA1 Message Date
Spyros Trigazis
ee66c9a088 func-test-docs: Use iniget and set concurrecy 1
In devstack, we have host in Default and in api. To get the HOST_IP
we must look in the api section. Use iniget to take the IP instead of
awk, making more concise where the IP comes from.

Recommend to use --concurrency 1 when running tests to avoid creating
multiple clusters.

Change-Id: I9b38bc88e4157e6692d7cffaed538c4c0a769d03
2016-12-02 14:10:55 +01:00
Eli Qiao
38c39d8e3a Doc: update server type in userguide
server_type in cluster template can be 'vm' or 'bm' for now.

Change-Id: Iaa86d230f06ae40094dd2904c022e7d86d2a48b3
2016-11-29 17:02:58 +08:00
Yushiro FURUKAWA
74d504d543 Use 'code-block' for pieces of code
'code-block' improves the visibility for the pieces of code.  This
commit splits code and result message by using 'code-block: python' and
'code-block: console'.

Change-Id: Id11e0990da4dae8d47c6de7d19479cb9940890b2
2016-11-18 17:49:22 +09:00
Jenkins
ef8aa3442d Merge "corrected hyperlink typo fix" 2016-11-18 03:10:47 +00:00
Jenkins
661c0dc4cc Merge "[install] Update rabbitmq configuration" 2016-11-16 16:47:01 +00:00
Hieu LE
467f8fa2bc [docs]Update quickstart guide to use cluster-config command
Magnum CLI now support cluster-config command. However, the quickstart guide
hasn't been updated to use this command yet. This patch added usage for
cluster-config command in quickstart guide.

Change-Id: I21341fe90c09f8f21e33bda4592c9175f3d16375
Closes-Bug: #1614685
2016-11-16 07:31:23 +00:00
Jenkins
47ba8da9e8 Merge "Updates Documentation for non-ID Params" 2016-11-15 19:42:35 +00:00
Jason Dunsmore
75464e9bba Remove out-dated method for installing in Devstack
The new method for installing Magnum in Devstack is in
doc/source/dev/quickstart.rst

Change-Id: Ib765b571dee81c5ebef9427a3af020d221f847e5
2016-11-14 10:16:31 -06:00
Spyros Trigazis
7fc7d69a1c [install] Update rabbitmq configuration
Update from this commit https://review.openstack.org/#/c/389971/1
in the openstack-manuals project.

Follow-up of I54a104662081ab7b81e200cf6c23f5a8a1e28d61.

Change-Id: Ide7d831a749c394c90ac8303643fd1184bb0c56f
Related-Bug: #1635615
2016-11-13 15:58:23 +01:00
Stephen Watson
d7b88c47e5 Updates Documentation for non-ID Params
Updates magnum documentation to reflect the changes made for
bp/rename-id-parameter-names.

Change-Id: I7c0d69970b9ac50649cac0e80932b5971ce09c3f
Depends-on: Idc6b9322ec7c0ecb386162ca46c7d49b910685d8
Implements: blueprint rename-id-parameter-names
2016-11-11 11:56:50 -07:00
Spyros Trigazis
f82749457c Make cinder volume optional
In the swarm_atomic and k8s_atomic drivers container images are
stored in a dedicated cinder volume per cluster node. It is
proven that this architecture can be a scalability bottleneck.

Make the use of cinder volumes for container images and opt-in
option.  If docker-volume-size is not specified no cinder
volumes will be created. Before, if docker-volume-size wasn't
specified the default value was 25.

To use cinder volumes for container storage the user will
interact with magnum as before, (meaning the valid values are
integers starting from 1).

Closes-Bug: #1638006
Change-Id: I3394c62a43bbf950b7cf0b86a71b1d9b0481d68f
2016-11-10 11:13:09 +01:00
Jenkins
9ea401c55f Merge "remove extra bracket from script in docs." 2016-11-10 06:47:13 +00:00
Paul Czarkowski
1fb355eea3 remove extra bracket from script in docs.
The troubleshooting guide has a python script in it which has invalid
syntax. This removes the extra bracket from that script and makes it
function correctly.  I also added some more specificity for credentials.

Change-Id: I9c8b8f861b4226d9eddca4ab44c811faa89160bc
2016-11-09 14:56:32 -06:00
yatin
2eda81c805 Add use of label 'swarm_strategy' in userguide
Change-Id: Iae4d58e55de79707073d2214fed3beccb5bff570
Implements: blueprint add-support-different-strategy-in-swarmbay
2016-11-04 13:12:26 +05:30
Spyros Trigazis
67de6c537a Add user-domain in role creation
We must add the user-domain to ensure than the user is from
the magnum domain.

Change-Id: I8defb35f745f7df2e20deea759a43ef1bb47d248
Closes-bug: #1635202
2016-11-01 14:06:44 +01:00
yatin
bc7315dbb5 Remove pod/svc/container object reference from doc
Change-Id: I073736a0d4d5c1511ee5db9513981ef9dc5f2872
Partially-Implements: blueprint delete-container-endpoint
2016-10-18 16:55:20 +05:30
npraveen35
5a98fe9bc3 corrected hyperlink typo fix
Change-Id: I62d0eccc37fba85f6cf2ee27291d418d27181708
Closes-Bug:  #1633892
2016-10-17 05:17:52 +00:00
Jenkins
4864481c4e Merge "Fix PEP8 issues, OpenStack Licencing and Version details" 2016-10-13 15:23:37 +00:00
Jenkins
8f91077493 Merge "Revises 'json' to 'JSON' and 'yaml' to 'YAML'" 2016-10-10 06:29:04 +00:00
Jenkins
7ad74bb4af Merge "Implement mesos cluster smart scale down" 2016-10-09 09:56:41 +00:00
pawnesh.kumar
95015896b0 Fix PEP8 issues, OpenStack Licencing and Version details
Change-Id: I77ed5ec049abcb4cb607c11f504b64baa2914b5e
2016-10-08 20:11:22 +00:00
Jenkins
8083fc2971 Merge "Allow keypair to be added during cluster create" 2016-10-07 23:30:00 +00:00
Jaycen Grant
06f056f606 Allow keypair to be added during cluster create
Keypair can now be added during Cluster create command. This allows
Clusters to be created from the same ClusterTemplate but have
different keypair values when created. If not specified on create
then the value from the ClusterTemplate will be used. Adds keypair_id
to Cluster object and uses of keypair_id will use the value from Cluster
instead of ClusterTemplate.

Added release note for new features in magnum and magnum CLI.

Change-Id: I177a5aa06f881156944a9f74c9ccc3cd2abac492
Implements: blueprint keypair-override-on-create
2016-10-06 17:25:09 +00:00
Mitsuhiro Tanino
278f92e5f9 Add dns server access confirmation
There is an environment that the google public DNS is not
able to use for the --dns-servername.
Before specifying the dns-servername, it's better to confirm
that the DNS can resolve server names properly at your
environment, otherwise, you will fail cluster creation.

Also this commit fixes some old links at the network
troubleshooting section of ops guide.

Change-Id: I2f765a8ff94ad54f3fb1fb029a36fdea328ea514
2016-10-03 15:31:07 -04:00
Jenkins
556084ebad Merge "Fix K8s load balancer with LBaaS v1" 2016-10-02 17:22:38 +00:00
Yushiro FURUKAWA
66de9762a0 Revises 'json' to 'JSON' and 'yaml' to 'YAML'
Change-Id: Id0ecfde70cc31edf1175fc78b93b8a85110244b2
2016-09-30 22:11:40 +09:00
Wenzhi Yu
4a7d265aeb Implement mesos cluster smart scale down
We currently allow Magnum to scale down mesos cluster by removing nodes
from the cluster's ResourceGroup by updating the heat stack that created
the cluster. The problem with this approach is that Heat decides which
nodes to delete, and all containers on that node will also be deleted.

The smart cluster scale down feature has been implemented for k8s bays(
for k8s cluster, we'll ask Heat to delete nodes that have NO CONTAINERS
on them).

This patch proposes a similar implementation for a mesos cluster.

Change-Id: I00cda7f35c9db978bdc604cf86603ef58e339256
Implements: blueprint mesos-smart-bay-scale-down
2016-09-30 11:13:30 +08:00
yatinkarel
5dae4c54cb Fix typo 'mesoscluster' to 'mesos-cluster'
Change-Id: I026a5b06012a1909e2006b811ad1017e7ae28d14
2016-09-27 14:27:51 +05:30
Ton Ngo
324f4aca7d Fix K8s load balancer with LBaaS v1
Fix node name and auth_url

Update the url to Keystone v2 which has been changed.
The name of the node registered in the kube-apiserver
was also changed at some point to use the IP instead of the
Nova instance name as was done originally, and this
broke the Kubernetes plugin code.  Change the node name
back to the Nova instance name in the option
--hostname-override for kubelet.

Some update to the document.

With this patch, the load balancer works with Magnum Newton
and later, along with the image fedora-atomic-latest.
Important notes:
1. The current image has Kubernetes release 1.2 and this only
works with neutron LBaaS v1.  Support for LBaaS v2 requires
Kubernetes release 1.3 or later.  Magnum support for 1.3
is still in development.
2. LBaaS v1 has been removed in Newton and is only available
in Mitaka or by custom installation (likely requires some hacking).
This means to get the load balancer feature, you will want to
install Openstack Mitaka and Magnum Newton.

Change-Id: Ica9d92c8d7410bf30832005687ecce4a90ef6c58
Closes-Bug: #1524025
2016-09-26 16:01:08 +00:00
Jenkins
95e895eb84 Merge "Add Horizon and Native Clients to user guide" 2016-09-23 08:32:40 +00:00
Ton Ngo
357df30399 Add Horizon and Native Clients to user guide
Add Horizon and Native Clients sections

Describe the Magnum UI plugin for Horizon and how to get it.
Include some screenshots for reference.
Describe the clients for interfacing with the COE and how to
get them.

Change-Id: I2b9c25d3e88f03f4a18278081336e59c7766e775
Partially implements: blueprint user-guide
2016-09-21 19:32:53 +00:00
Hongbin Lu
31d04e312d Update name of ubuntu-mesos image
Update the gate and docs to use "ubuntu-mesos-latest" instead of
"ubuntu-14.04.3-mesos-0.25.0.qcow2". The intent is to make the
image upgrade easier (by using a static image name). In fedorapeople,
a soft link was created from "ubuntu-mesos-latest.qcow2" to
"ubuntu-14.04.3-mesos-0.25.0.qcow2"

Change-Id: I544773d184e5436843595dbfd9ab118b99870281
2016-09-21 14:14:31 -05:00
Jenkins
ab3bfca8ac Merge "[install] Fix keystone_authtoken and trust sections" 2016-09-19 15:09:04 +00:00
Jenkins
f376f81a61 Merge "Updates Ubuntu Mesos build" 2016-09-19 15:08:46 +00:00
Jenkins
4bc0bf90b0 Merge "Add optional magnum-ui in quickstart" 2016-09-19 13:56:47 +00:00
Bertrand NOEL
48f79d69e1 Updates Ubuntu Mesos build
* Adds a script to install dependancies when building the Ubuntu
  Mesos image (used in OpenStack infra)
* Fixes Dockerfile to build the Ubuntu Mesos image
  (it was missing components to add Heat agent in the image)
* Changes the name of the Mesos Ubunutu image because the Ubuntu
  version and Mesos version has changed
* Fixes a broken link in the doc

Change-Id: I35ffd4bd358a62dd7cf0d0e485b531a36b6c262b
2016-09-19 11:30:26 +02:00
venkatamahesh
1e1e2a5bf1 [install] Fix keystone_authtoken and trust sections
* Use user_domain_name and project_domain_name instead of IDs
* Use trustee_domain_name and trustee_domain_admin_name instead of IDs

Change-Id: I30f0173fb9bf68729fa7f45999765970fe1915cb
Closes-Bug: #1624989
2016-09-19 09:06:42 +00:00
Jenkins
6de1d31152 Merge "Update kubernetes external load balancer dev guide" 2016-09-19 06:03:08 +00:00
Ton Ngo
d7f299a68e Add optional magnum-ui in quickstart
Add magnum-ui panel in horizon

Magnum UI plugin for horizon is nice feature for users
and can now be easily enabled in devstack.  There has been
multiple queries on the IRC on how to get the Magnum UI
so this will help.

Change-Id: I31f0c7ec866fbd4629d99da3137931ee30b352c1
2016-09-16 18:06:34 +00:00
Jenkins
65e2f4daa8 Merge "Fix the order of enabling devstack plugin" 2016-09-16 08:08:57 +00:00
Jenkins
bf5ff4ae4c Merge "[install] Fix the cli install instructions" 2016-09-16 07:36:08 +00:00
Spyros Trigazis
77483bcf9e [install] Fix the cli install instructions
Previously, the client was installed in a virtualenv
only accessible by the magnum service user.

Add instructions to install the client as a non-root user.

Change-Id: I865292e69d4a8683aa94440de88e357835feab78
Partially-Implements: blueprint magnum-installation-guide
2016-09-15 17:57:04 +02:00
Spyros Trigazis
3f861f75bf [install] Fix optional services bullet-list
Fix the bullet list in of optional services in packages install-guide
and in the install-guide from source.

Change-Id: I57154c6afa1c97aee36d58d32352ff91aa14e73a
Partially-Implements: blueprint magnum-installation-guide
2016-09-15 13:47:35 +02:00
OTSUKA, Yuanying
38059d53f9 Fix the order of enabling devstack plugin
The order of enabling devstack plugin is important if project
has dependency of other projects.
Magnum has some dependency of projects, so this patch fixes
the order of enabling plugin.

Change-Id: I733e061fab4ed40fd00bfb017d9c2835c49f6a8f
2016-09-15 17:16:59 +09:00
Jenkins
18d32f381b Merge "Use heat devstack plugin" 2016-09-15 07:34:48 +00:00
Dane LeBlanc
0ea50cb395 Update kubernetes external load balancer dev guide
The Kubernetes external load balancer developer's guide needs to be
updated to reflect the fact that the kubernetes controller manager
has been moved to a separate pod.

Also, the external load balancer dev guide needs to explain that different
versions of Kubernetes require different versions of Neutron LBaaS:

- Kubernetes 1.2 requires Neutron LBaaS v1
- Kubernetes 1.3 (or later) requires Neutron LBaaS v2

Change-Id: I75fcaf0e990944c9eeef31815c2b6646388b5edf
Partial-Bug: #1524025
2016-09-15 02:01:07 -04:00
rabi
719018e9cb Use heat devstack plugin
Now that heat is available as a devstack plugin, we should
use it. In-tree devstack code for heat is planned to be
removed soon[1].

And also, this patch remove `update_heat_policy` function
in devstack plugin. Because fetching global stack list is
already option to use in Magnum.

[1] https://review.openstack.org/#/c/317618/

Change-Id: Iab675da5ea8d02b3f7e71f6169c81724a0066858
Co-Authored-By: OTSUKA, Yuanying <yuanying@fraction.​jp>
2016-09-15 10:43:09 +09:00
Spyros Trigazis
1e7a39b188 [install] Add cli install in IT
* Add cli install instructions in the install-guide-from-source
* Link the launch an instance and verify operation sections

Change-Id: I82b029ff85f56ee34e037e9287753d3212fd2982
Partially-Implements: blueprint magnum-installation-guide
2016-09-14 19:27:57 +00:00
Spyros Trigazis
347b2aa76e [install] Update required services and remove bay
* Update the required services for magnum, providing links
 for the new ITs (Installations Tutorials).
* Remove bay terminology

Change-Id: If048642876285622466517e541e9028931c71b48
Partially-Implements: blueprint magnum-installation-guide
2016-09-14 18:16:29 +00:00
Jenkins
30042f21be Merge "Add Scaling section to User Guide" 2016-09-10 00:41:45 +00:00