Commit Graph

37 Commits

Author SHA1 Message Date
likui a62cce67e6 Update docs for Ubuntu 20.04
* Use 'apt install' command instead of legacy 'apt-get'

Change-Id: Idae8d325bce354fa3b4c5be412965122af8f1413
2020-11-20 08:40:36 +00:00
YI-JIE,SYU d39ba689ac Update tacker CLI to openstack CLI in cleanup-tacker
Change to openstack CLI

Change-Id: I75db9548b94800b6a451a658931d11a333a8e054
2019-01-16 21:12:48 +08:00
Paul Bourke cf609ba3cc Remove deprecated compute groups
The concept of splitting the compute group into external/internal just
to specify agent_mode for Neutron DVR was deemed to be heavy handed, and
depreacated in the Pike cycle.

Now that Rocky has been released we can remove these completely for Stein.

Change-Id: I28a1eba7f40fee55a7ec41c27451e39e4d7fd8f0
2018-11-06 11:45:43 +00:00
Nguyen Hai c752d66a1c Update tacker CLI to openstack CLI in tacker demo
- Change to openstack CLI
- Change the way to run demo from "sh" to "./" for
matching with README.rst in tacker demo folder.

Change-Id: I17b755cd8d52f594785ef13634bfa233e63841a7
2018-07-24 07:02:48 +00:00
ZhijunWei 5f19844c29 Add NUMBER_OF_MONITOR_NODES for bootstrap
The parameter "NUMBER_OF_MONITOR_NODES" is needed when run
bootstrap.sh[0], but it's missing, this ps to add it.

[0]: https://github.com/openstack/kolla-ansible/blob/master/contrib/dev/vagrant/bootstrap.sh#L206

Change-Id: If83620bbdeaf8c4805e021242ca44da069e43922
2018-06-10 11:32:50 -04:00
zhulingjie be693c3518 Add the missing group for kolla-cli
Change-Id: Ibc06f614604150a331787889a59407803a411b90
2018-06-09 12:24:04 -04:00
Mark Giles 680c288b36 Set up the kolla-cli and inventory for the vagrant dev environment
When bootstrapping the vagrant dev environment run commands on the
operator node to set up the kolla-cli, and to set up the host
inventory as appropriate for either multinode or aio deployment.

Change-Id: I7765d5302329919dce6317d78b84af1c7bf572b3
2018-06-08 12:53:01 -04:00
Zuul d2a3083404 Merge "Fix the profile missing when run bootstrap.sh" 2018-04-24 07:30:33 +00:00
caoyuan f9478235c9 Fix the profile missing when run bootstrap.sh
when use bootstrap.sh script to prepare the development
environment, the /etc/kolla/globlas.yml and
/etc/kolla/passwords.yml is missing, this ps to fix it.

Change-Id: Id00187ec032c7a6c98d0772def12f142ef13fb22
Closes-Bug: #1766081
2018-04-23 15:04:12 +00:00
Borne Mace e751a7cc07 Added support for kolla-cli development
Updated the vagrant dev environment to include support
for development and testing of the kolla-cli

Change-Id: I1d8f66cced7f0a9cc37e3b296c5ae10ab989f736
2018-04-19 14:44:01 -07:00
Eduardo Gonzalez ea1a1dee0d Verify YAML syntax in gates
This patchset implements yamllint test to all *.yml
files.

Also fixes syntax errors to make jobs to pass.

Change-Id: I3186adf9835b4d0cada272d156b17d1bc9c2b799
2018-03-26 17:56:22 +02:00
Eduardo Gonzalez 1049dd3509 Fix tacker vnffgd version
Change-Id: Ib463cb8d1caea49de0bbd7874acc87d4f3300941
Closes-Bug: #1751024
2018-02-22 11:51:25 +01:00
Zuul fe877b6194 Merge "Use bash instead of sh when calling deploy-tacker-demo-sfc" 2018-02-13 15:10:00 +00:00
Trinh Nguyen 3300444cb8 Use bash instead of sh when calling deploy-tacker-demo-sfc
This patch is prosed to fix the error when running
deploy-tacker-demo-sfc with sh.

Change-Id: I21d22f89d31d6078f7448fbce16cb133a897a4b6
Closes-Bug: #1749056
2018-02-13 16:24:04 +09:00
caoyuan a209e443df Add cpu_mode in vagrant/bootstrap.sh
With libvirt 2.0, when using qemu cpu mode is not properly
evaluated and need to be set to cpu_mode = none.

Add this option when kvm is not supported, otherwise user
will still facing errors when launching instances over qemu.

Change-Id: I7aa6df356085263d25c6afcc812f035d3ded942b
2018-01-24 10:28:52 +08:00
Jenkins 3e59bffff3 Merge "Disable firewall while setup of dev env" 2017-09-19 08:24:40 +00:00
Harsh Vardhan 7769c65670 Disable firewall while setup of dev env
Firewall managers in
Ubuntu  ufw
Centos  firewalld
Closes-bug: #1716912

Change-Id: I7556fcfe4947e73f4b7f4b37c2477d9694a36c26
2017-09-14 21:09:26 +00:00
Christian Berendt 06befa3c3b Add missing document start "---" to yaml files
Change-Id: I366c2124a778c5b0b22a8fe369d603adad75ebbe
2017-09-12 09:44:27 +02:00
Eduardo Gonzalez 6aa63bdc7b Add tacker sfc contrib demo
Create demo SFC environment.
Usage docs will be added in a global tacker
documentation PS.

Change-Id: Ia8fe54a1657e76c090b3f6f03bb13d53cf8ac2f2
2017-08-24 14:34:11 +00:00
Hongbin Lu 3daeea37ea Upgrade from docker-py to docker
The pypi package 'docker-py' [1] has been renamed to 'docker' [2].
It is better to move to the new 'docker' package because the old
package will be deprecated and all the new features will go into
the new package only.

Package 'docker' has been added to requirements [3]. The old
package 'docker-py' is still allowed to be in the global requirements
during the transition period but it should be removed after all or
most of the projects finsih the migration.

[1] https://pypi.python.org/pypi/docker-py
[2] https://pypi.python.org/pypi/docker
[3] https://review.openstack.org/#/c/423715/

Change-Id: Ibcd5a57a1fbf55dcc5a690e41f20917f95b63da0
2017-07-10 14:19:28 +00:00
Jenkins 0435c6d99e Merge "Update Vagrant dev environment" 2017-06-12 10:59:13 +00:00
Jenkins c272b8ec16 Merge "Fix sed replacement command in Ubuntu's install_docker" 2017-06-12 09:00:08 +00:00
Juan J. Martinez 056ecc55ea Update Vagrant dev environment
- Updated Ubuntu image to use 16.04.
 - VirtualBox provider to use centos/7 image + vagrant-vbguest plugin.
 - Improved docs so it is clear that vagrant-vbguest plugin is only
   required with VirtualBox.
 - Clarified comment and made it independent of the release.
 - Refactored the kolla and kolla-ansible paths to be based on the
   username used by Vagrant, that can change depending on the image.

Change-Id: I23d84dcc3297c43eb12eff9c443d282281fc6c82
2017-06-12 07:33:40 +00:00
Jenkins 4db9160a99 Merge "Add tacker contrib demo" 2017-06-07 13:20:15 +00:00
Juan Martinez a1d362583f Fix sed replacement command in Ubuntu's install_docker
The 's' command wasn't closed properly. This was fixed in kolla repo
before it was decided that the dev env should go in kolla-ansible.

Change-Id: Ia1434ebb276f0fc76bf88fe386b8e9527133ce4d
2017-06-07 08:23:14 +00:00
Jenkins e8c0ed8b7e Merge "Add kolla-ansible bash completion script" 2017-06-02 11:05:44 +00:00
Juan J. Martinez 8fe43171ce Fix vagrant development environment
After the repo split into kolla and kolla-ansible the Vagrant
development environment was broken.

With this change Vagrant will run from kolla-ansible and kolla
repo is expected to be in the same directory level so the
bootstrap can include it inside the VM.

 - Modified the bootstrap code to copy both repos into the VM.
 - Added one configuration token to specify kolla-ansible location
   inside the VM.
 - Updated the docs.

Change-Id: I6b56822d50472f8eda6fc60f69196d3c9b8b6cf8
Closes-Bug: 1693847
2017-05-31 14:19:09 +01:00
jimmygc 94c5cc570a Add kolla-ansible bash completion script
Make command line more friendly. :)

Change-Id: I8113c72aa00b1c07cb2b77c73e7dd8c7ee833bcc
2017-05-12 09:06:36 +08:00
Jenkins 14fa5583d9 Merge "Fix Heat Kolla demo in contrib" 2017-05-03 13:29:55 +00:00
Bertrand Lallau 9d98f80503 Fix Heat Kolla demo in contrib
Heat demo script actually use deprecated Openstack Heat client.
* script has been updated to use Openstack client.
* small log refactoring

Change-Id: I857bc1342e3b26c2bf299642ca5483b4ce78e303
2017-04-07 14:29:55 +02:00
Eduardo Gonzalez 4fae4bbd78 Add tacker contrib demo
Add tacker deployment demo.
Generate sample config, register vim and vnfd.
Deploy demo vnf service.
Cleanup deployment demo.

Change-Id: If707a89bd675e3298357360125cd6487588a2fb2
2017-04-03 14:49:19 +01:00
Bertrand Lallau 4286a50113 Fix Magnum Kolla demo in contrib
Magnum demo scripts doesn't work cause compose/openstack.env
doesn't exist anymore.
* NETWORK_MANAGER check has been removed
* script has been updated to use Openstack client instead of
deprecated clients (neutron-client, glance-client).
* Magnum client calls have been adapted too.
* some enhancements (logs, variable) have been performed too.

Change-Id: I294b1876c9c7090785c0ebdd09b43843f88fb00b
Closes-Bug: #1670618
2017-03-07 10:51:02 +01:00
Jenkins dcb102608d Merge "Fix broken test in vagrant boostrap script" 2016-11-06 06:00:37 +00:00
Martin André 193a8190ce Fix broken test in vagrant boostrap script
The file path was not properly passed to the '-x' test which caused it
to always return true.

This commit simplifies the test for existing command by relying only on
the exit code of `type` rather than checking that the file path is
executable.

Change-Id: Iaf47d92ff9fd1ef34d8d7492c08ec24d2b8a9536
Closes-Bug: #1635341
2016-10-27 18:24:50 +02:00
caoyuan 5bdf98f7b5 Update "=" to "==" in "if" condition
Keep consistent with other "if" condition
TrivialFix

Change-Id: I18fea71bd50729642543afd4d3bab0b7dfaecd3d
2016-10-22 17:04:13 +08:00
Martin André e259c2a60d Fix vagrant's kolla folder sync
Correct relative path of kolla root directory after vagrant environment was
moved from dev/vagrant to contrib/dev/vagrant.

Closes-Bug: #1635329

Change-Id: Ib13a6123f34d69884e27029f5144ff1ad165e73e
2016-10-20 17:43:12 +02:00
Christian Berendt b725bd09dd Move demos and dev directory into a new contrib directory
TrivialFix

Change-Id: Ifb8f19afa1514488bd288670d08b96f84982a4e1
2016-10-14 12:57:49 +02:00