Commit Graph

35 Commits

Author SHA1 Message Date
Spyros Trigazis 45273110cc [doc-migration] Consolidate install guide
The legacy install-guide directory is removed, projects
host thei install-guide under /doc/source/install/.

It should have been done in:
Ifdeb7c669e7f2351aff837f43f2fa3515a89e086

Change-Id: Ia65804cd01ada25f6b61c1c4bcb246d5a4c9c570
2017-12-12 08:14:04 +00:00
yatin 67a48749c7 Fix magnum TLS cert generation
TLS enabled k8s cluster are not created if admin_user, admin_password
and admin_tenant_name are not set in [keystone_authtoken] section,
This patch updates the install guide for the same.

Change-Id: Id58bbbda34d52f60c174630400ae469c48a7d115
Closes-Bug: #1717798
Related-Bug: #1670355
2017-10-05 14:21:32 +00:00
Spyros Trigazis 4fb91cc109 tests: Use swarm-mode for api tests
* Swarm-mode is the fastest cluster to deploy since it doesn't
  require to pull anything from outside.
* Add the output nodes for swarm-mode too.
* Disable copy logs (I think a better practice is to copy logs
  on demand).
* Don't run test_create_list_sign_delete_clusters, because it is
  very unstable on the CI.

Partially-Implements: blueprint swarm-mode-support

2nd commit message:

Update to Fedora Atomic 26

This patch moves the current master to test against Fedora Atomic 26,
in addition, it switches to downloading from Fedora mirrors.

2nd-Change-Id: I9a97c0eb78b2c9d10e8be1501babb19e73ee70c1

3rd commit message:

Set default iptables FORWARD policy to ACCEPT

With the release of Docker 1.13 which is available in Fedora
Atomic 26, it no longer sets the policy of the FORWARD chain
to ACCEPT[1].  Therefore, CNI networking such as Flannel will
cease to work.

This patch sets the policy to ACCEPT so that traffic can work
once again for deployments which are based on Docker versions
which are newer than 1.13

[1]: https://github.com/moby/moby/pull/28257

3rd-Change-Id: I1457602748619f38f87542fc01a2996ee80e58b7
Closes-Bug: #1708454

Co-Authored-By: Mohammed Naser <mnaser@vexxhost.com>
Change-Id: I86d4dcc94fff622be4ee2acc8dd60ed81bc5d433
2017-08-21 05:30:09 +00:00
Jenkins 990b846a0b Merge "Fix database grant instructions in install guide" 2017-06-02 14:59:11 +00:00
Jenkins 7f4649a98d Merge "Update SUSE distro information in install guide" 2017-06-01 07:19:28 +00:00
Spyros Trigazis 06266b5be7 doc: Add kubernetes example in Launch an instance
* Move keypair and image upload up
* Add a kubernetes cluster creation/deletion and deployement
  creation example

Change-Id: I57c99b61acfde872e4be81cb9e0f885a6188d2f6
2017-05-30 20:34:27 +02:00
hanchao 64b2e6ef28 TrivialFix: Typo in launch-instances.rst
Fix the typo of "you cluster" to "your cluster".

Change-Id: I100ca40bcb0d8fcb3c45637ee7aecf6560287a42
2017-05-16 10:31:57 +08:00
Jenkins 0dee921e6e Merge "Enable custom keystone endpoint_type in templates" 2017-05-10 16:40:04 +00:00
Jenkins 660848873f Merge "Add net creating in install-guide" 2017-05-04 12:27:22 +00:00
Kevin Lefevre 4c241a683f Enable custom keystone endpoint_type in templates
Allow to specify a custom AUTH_URL for the templates in case instances
cannot reach internalURL which is the case in mose deployment.

A new variable in trust section: trustee_keystone_interface which
default to public is introduced.

Change-Id: I2a908c0752387e4ff4ad2b0fdf0c1025a73ce806
Closes-Bug: #1643197
2017-05-01 18:15:58 +02:00
Colleen Murphy 2d5dced121 Update SUSE distro information in install guide
SUSE tests their OpenStack packages on openSUSE Leap 42.2 and SLES 12
SP2, so this patch updates the install guide to address those newer
releases.

Change-Id: I58ffaba0ebaa581f9f9b84cc72d21576d7852950
2017-04-18 09:32:12 +02:00
coldmoment 8e084f4314 Add net creating in install-guide
The launch-instance.rst has no instruction for
external net creating.

Change-Id: I77f5cea82d370358c06fc84193f4c6a984f65ea3
2017-04-15 13:42:50 +08:00
Colleen Murphy 7a356f5c9e Install client in install guide instructions
The python-magnumclient package is not automatically installed with the
other magnum packages, and it is needed later in the "Verify operation"
and "Launch an instance" sections of the install guide, so this patch
adds it to the package installation instructions.

Change-Id: I12e1fd587f5327ee5404596b1d8b92dc5f770a93
2017-04-04 14:33:38 +02:00
Colleen Murphy 14c7c93e03 Fix database grant instructions in install guide
On at least mariadb, there is a default grant that restricts connections
from localhost and supercedes other permissions. In order for the db
sync command to work later on, we need to specifically enable
connections from localhost for the 'magnum' user. Moreover, it is
redundant to grant permissions for hostname 'controller' and the
wildcard host '%'. This patch fixes the error and makes magnum's
database configuration instructions consistent with the main install
guide

Change-Id: I21f2c9a2f3978ae6011b4b7b49c8edd826781284
2017-04-04 14:11:24 +02:00
Jason Dunsmore caf811b974 Update docs to use positional name argument
Using the optional --name argument will result in a deprecation
warning.

Change-Id: Id2be01f9ec40d53c2b7ddd0807e38ee550d7ab8a
Implements: blueprint positional-name
2017-03-03 14:45:35 -06:00
gengchc2 fecaa22aec Use https instead of http for git.openstack.org
Trivialfix

Change-Id: I3dda5d7d01e548e640aef77aca1402dd268ce0cf
2017-02-07 11:11:22 +08:00
Mathieu Velten 472af7fd8e Update Swarm version to 1.2.5
We should upgrade swarm because 1.0.0 is more than
one year old and lack features and bug fixes.

Change-Id: Ia236e473ce3152a6bf3115a3bfc62fbf0af100d7
Closes-Bug: 1644620
2016-12-16 10:29:52 +01:00
Jenkins da04fe8b1c Merge "[install] Fix endpoint creation" 2016-12-14 03:45:15 +00:00
Spyros Trigazis e160a9fa8c [install] Fix endpoint creation
Register endpoints using the controller IP and not the controller
alias. Having the endpoints set with the alias doesn't allow compute
instances created by magnum to access magnum's API.

Change-Id: I475ede00123765823cefc47d2e0c75776a2cbc06
2016-12-12 11:54:52 +01:00
yatin 5d35b6611f [doc|install_guide] Fix 'host' config param in [api] section
Currently 'host' param in [api] section is set to hostname which
is not correct because 'host' under [api] is of type IPOpt.
It should be set to the IP address on which magnum api service
should listen.

Change-Id: I3e9672eaa6425293c5429aceafc9be3f07e0bf45
Closes-Bug: #1647560
2016-12-07 11:06:27 +05:30
Spyros Trigazis 01eef1c070 Drop id suffix in launch-an-instance guide
Following-up https://review.openstack.org/#/c/396729/

Change-Id: Iaa27ef3bb06c5e577313cf9edba606c40ce88b34
2016-11-16 10:10:29 +01:00
Jenkins 6f220cb528 Merge "[instll] Update a more simple rabbitmq configuration" 2016-11-13 15:04:28 +00:00
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
chenxing 3a20556b2d [instll] Update a more simple rabbitmq configuration
Update from this commit https://review.openstack.org/#/c/389971/1
in the openstack-manuals project.

Change-Id: I54a104662081ab7b81e200cf6c23f5a8a1e28d61
2016-11-01 03:33:37 +00:00
pawnesh.kumar 95015896b0 Fix PEP8 issues, OpenStack Licencing and Version details
Change-Id: I77ed5ec049abcb4cb607c11f504b64baa2914b5e
2016-10-08 20:11:22 +00: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
Spyros Trigazis 6322a6d827 [install] Add launch an instance section
Add documentation to create a basic Docker Swarm cluster and create
a container.

Change-Id: I43c7701fbd55153e0e36a915efed802dd1fe5ea4
Partially-Implements: blueprint magnum-installation-guide
2016-09-14 19:27:38 +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
Spyros Trigazis 0442a271c0 Install Guide: Set bug project
Configure the theme so that bug reports go to the
magnum queue.

Change-Id: Ieb11c6246ffd844e7c0e9ee7c3bbffdb64026aa1
Partially-Implements: blueprint magnum-installation-guide
2016-08-31 16:03:34 +02:00
PanFengyun 828aff671d Fix some simple mistake
1.The configure is different to the output in install guide.
2.k8s_api has list_namespaced_pod() rather than list_namespaced_pods().
3.Before division, we should check whether the divisor is zero.

Change-Id: I9ca676eac4e3dcba4dcc5553bb5502896d73960e
2016-07-28 16:29:27 +08:00
Johannes Grassler f895b2bd09 Fix global stack list in periodic task
The periodic task unneccessarily lists Heat stacks in the
global tenant (across all tenants) which the Magnum service
user may lack permission for. Also, the most restrictive way
to let it use global stack-list is chose a Keystone role and
open that operation to any user in any project holding that
role.

This commit substitutes a direct lookup of all bays' stack_id
attributes for this global stack list. This direct lookup will
yield the same net result. In order to get the neccessary
permissions it will use each bay's stored Keystone trust to
act on behalf of the bay's creating user.

Co-Authored-By: Jiri Suchomel <jiri.suchomel@suse.com>
Closes-Bug: #1589955
Change-Id: I67b176c137c463e37e037970cc4e468d51db30c9
2016-07-27 10:11:51 +02:00
Spyros Trigazis 2f1a1f6a4f [install] Add debian and ubunutu IGs
Tested with packages built from master branch.

Change-Id: I8508cd8c65912c5c770ab8968281511302d7a2ab
Partially-Implements: blueprint projectspecificinstallguides
Partially-Implements: blueprint magnum-installation-guide
2016-07-19 20:15:39 +02:00
Spyros Trigazis f64551489e [install] Refactor configuration in IG
* move common prerequisities and configure in the common directory
* remove lock_path from common configuration, only rdo packages need
  it -- debian, obs and ubuntu packages configure it by default
* use trust_domain_name and trust_domain_admin_name instead of id
* update finalize message in obs and rdo IGs
* fix bullet-list in filanize services
* add x509keypair configuration option

Partially-Implements: blueprint projectspecificinstallguides
Partially-Implements: blueprint magnum-installation-guide
Change-Id: I67376938f1a118c2b1f1f7326c14158178ab71ea
2016-07-19 20:15:39 +02:00
Spyros Trigazis b6df29c559 [install] Add obs install-guide
Tested using:
zypper addrepo -f obs://Cloud:OpenStack:Master/openSUSE_Leap_42.1 Master

Also:
* fix minor typo
* add toctree depth

Change-Id: I83a0cc9bcd2aa660c4109dbafc1b8aff7d60d798
Partially-Implements: blueprint projectspecificinstallguides
Partially-Implements: blueprint magnum-installation-guide
2016-06-28 16:07:18 +02:00
Spyros Trigazis 936dd11a16 [install] Add install guide from template for rdo
This guide is based on the installguide-cookiecutter template
and will be published automatically to docs.openstack.org.

[2] is a similar patch and [3] is WIP.

A change to add magnum to the install-guide job will follow.

This is a follow-up of [4].

[1] http://docs.openstack.org/contributor-guide/project-install-guide.html
[2] https://review.openstack.org/#/c/325389
[3] https://review.openstack.org/#/c/317152
[4] https://review.openstack.org/#/c/332161

Change-Id: I145fd30f575dab45b4c947bc4609287b1e300025
Partially-Implements: blueprint magnum-installation-guide
2016-06-22 16:20:05 +02:00