116 Commits

Author SHA1 Message Date
Jeffrey Zhang
d7aee1183c Revert 'Add neutron-lbaas-agent to exlude image for Ubuntu binary'
TrivialFix

Change-Id: Iac56f3b45d8c11bcb61f5d0a389251dfd5c88752
2016-09-16 07:43:31 +08:00
Hui Kang
4fabd37e31 Add kuryr-libnetwork Dockerfile
Kuryr repo has been split to kuryr and kuryr-libnetwork

Change-Id: I6d05adf1de89611e2cb0f8469ed42ca1401ace56
Co-authored-by: Mohammad Banikazemi <mb@us.ibm.com>
Partially-implements: bp kuryr-docker-plugin
2016-09-14 22:27:36 +00:00
prithiv
8a01ed3270 Add Networking-SFC role
Networking-SFC is a neutron big-tent project support Service Function
Chaining in Neutron.

* Rename the image from neutron-networking-sfc-agent to
  neutron-sfc-agent.
* Add networking-sfc role in playbooks.

Co-Authored-by: Jeffrey Zhang <zhang.lei.fly@gmail.com>
Change-Id: I1f99650eed85f59929d4ab6b2226603c54f29577
Implements: blueprint enable-networking-sfc-support
2016-09-14 15:41:03 +08:00
Nguyen Hung Phuong
253692630f Clean imports in code
In some part in the code we import objects. In the Openstack style
guidelines they recommend to import only modules.

http://docs.openstack.org/developer/hacking/#imports

Change-Id: I4b55cae8c2672f82025a95112b14d441d66f9d6d
2016-09-12 15:17:28 +07:00
Jeffrey Zhang
f59ddb3527
Add neutron-lbaas-agent to exlude image for Ubuntu binary
UCA latest Newton release lack of neutron-lbaas-common package, disable
neutron-lbaas-agent for Ubuntu binary until they fix it.

TrivialFix

Change-Id: I2c02fc578cffe82918ae6affe6cf0e6095ae47e4
Signed-off-by: Jeffrey Zhang <zhang.lei.fly@gmail.com>
2016-09-11 02:22:45 +08:00
Christian Berendt
aa4b49a2c3 Add cloudkitty containers for type source
Change-Id: I548c20afd7ce7ba27a5475c69c78c7d267ccc24b
Partially-Implements: blueprint cloudkitty-docker
2016-09-06 08:54:21 +02:00
zhubingbing
55b184a865 repair gnocchi dockerfile
1. Add the missing packages in the gnocchi image
   packages: lz4 sqlalchemy_utils gnocchiclient

2. gnocchi config path is error
   gnocchi config path is /gnocchi/etc/gnocchi

3. gnocchi sync db command is error
   sync db command is: gnocchi-upgrade
   Reference link: http://docs.openstack.org/developer/gnocchi/install.html

4. gnocchi log directory is /var/log/kolla/gnocchi

5. Add gnocchi-api running as a mod_wsgi
   Reference link: http://docs.openstack.org/developer/gnocchi/running.html

6. Add gnocchi sudoers file

Closes-Bug: #1607332

Change-Id: Id3aded82706ffd204373c97a020980d0d9b72663
2016-09-01 08:55:18 +00:00
Sean Mooney
a9e16c8bde introduce bifrost-deploy container
- This change adds support for building and deploying
  a bifrost container for baremetal provisioning.
- This change documents how to manually deploy and bootstrap
  the bifrost container.

Implements: blueprint bifrost-support
Change-Id: I7d895839b11cbf916be33225875465c3358b5aa4
2016-08-31 09:24:24 +00:00
Jenkins
0d661a1e59 Merge "Fix Ubuntu binary build and deploy gate" 2016-08-24 11:46:27 +00:00
Jeffrey Zhang
2a1c25d6e3
Fix Ubuntu binary build and deploy gate
Signed-off-by: Jeffrey Zhang <jeffrey.zhang@99cloud.net>
Closes-Bug: #1616349
Change-Id: I82a245474392d22017faf30fa89d6dc5e01ab2c2
2016-08-24 16:14:04 +08:00
Jenkins
4d1b3e2471 Merge "py3:Remove six.iterXXX" 2016-08-23 10:12:06 +00:00
Jenkins
9d37b789ac Merge "Added Test case for env and volume comp" 2016-08-23 09:48:25 +00:00
Jenkins
3cec06ea72 Merge "Added Test case for attribute comp" 2016-08-23 09:48:18 +00:00
Lu lei
2fb98a6b82 py3:Remove six.iterXXX
1、As mentioned in [1], we should avoid using six.iteritems/keys
   achieve iterators. We can use dict.items/keys instead, as it
   will return iterators in PY3 as well. And dict.items/keys will
   more readable.
2、In py2, the performance about list should be negligible,
   see the link [2].

  [1] https://wiki.openstack.org/wiki/Python3
  [2] http://lists.openstack.org/pipermail/openstack-dev/
      2015-June/066391.html

TrivialFix.

Change-Id: I0cbe8af3210233a58d25f0df187c3d085405aa2a
2016-08-23 14:34:35 +08:00
MD NADEEM
e70f8e1439 Add Dockerfile for congress
Change-Id: I30c4d7929940c751bf88c4bf9a0e200025ebd5c8
Partially-Implements: blueprint enable-congress-container
2016-08-19 09:29:24 +05:30
Larry Rensing
4218a3bb5b Add support for building vmtp container
Add needed library packages and Dockerfile to build vmtp container.

Co-Authored-By: Larry Rensing <lr699s@att.com>
Partially implements: bp vmtp-container

Change-Id: I54340947f3bdf61d3e4f54884fed90ac318124ff
2016-08-16 15:46:46 +00:00
Jenkins
4adc366d92 Merge "Dockerfiles for Networking-SFC Container" 2016-08-15 15:37:18 +00:00
MD NADEEM
b8de1f895b Added Test case for env and volume comp
Change-Id: Ie98072ded6fee96b4e8c43cfe5124ead8e73e885
Implements: blueprint ansible-unit-tests
2016-08-11 06:48:34 +00:00
prithiv
eb41179a73 Dockerfiles for Networking-SFC Container
Networking-SFC is a neutron big-tent project
Kolla does not have Networking-SFC agent support for now. This
is essential for Service Function Chaining use case. Build Networking-SFC
Container.

Change-Id: I67b4d6e061dbe31e2211cd3210726ab4c30cd087
Partially-Implements: blueprint enable-networking-sfc-support
2016-08-06 12:06:39 +00:00
MD NADEEM
0c638e5b3e Added Test case for attribute comp
Change-Id: Ib9f3773d86fd00941f8dfb6f9b1019b01044cad3
Partially-Implements: blueprint ansible-unit-tests
2016-08-02 03:35:10 +00:00
Jeffrey Zhang
ae34973d35 Fix the kolla_docker issue with docker 1.12
After docker 1.12, the RepoTags will be None rather than [] in the
image list API. This PS will handle the both case.

Change-Id: Ie2da44b44229c2f190550755b50876f607f9cc0c
Closes-Bug: #1608358
2016-08-01 13:41:05 +08:00
Jenkins
9b704e99b5 Merge "Added unit test for volume operations" 2016-07-26 07:53:22 +00:00
MD NADEEM
ef37687e35 Added unit test for volume operations
Change-Id: I7ad73a81559d8856bd8a41d24f274a19d5a9ff03
Partially-Implements: blueprint ansible-unit-tests
2016-07-14 11:07:31 +00:00
Dave Walker (Daviey)
77296ebdee Build docker images for OpenStack Watcher
Watcher is part of the OpenStack big-tent and is formally
known as "OpenStack Infrastructure Optimization service".

Whilst it provides a range of default goals and strategies,
the most relevant case is to enable re-balancing of the
compute hosts by taking CPU usage (data from Ceilometer)
into account and live migrating instances as required.

Currently this only builds the Docker images for type source
but binary builds are gracefully ignored.

The ansible configurations will be part of a later commit.

Change-Id: I9bb81ee625d9fcf6513e44e2ed20384e34da2adc
Partial-bug: #1598929
Partially-implements: bp watcher
Signed-off-by: Dave Walker (Daviey) <email@daviey.com>
2016-07-08 11:29:38 +01:00
Jenkins
02eec8a20c Merge "Add Senlin Docker container" 2016-07-08 09:59:12 +00:00
Eduardo Gonzalez
1d399461ac Add Senlin Docker container
Change-Id: I52e08e2df77106969c5975ebda2510ea8aefa8b5
Partially-implements: bp senlin-container
Signed-off-by: Eduardo Gonzalez <dabarren@gmail.com>
2016-06-30 16:36:25 +02:00
MD NADEEM
f5b04c97eb Added unit test for image operation
Change-Id: I44a5ba649d73f4ca2d48065625c8d67445576944
Partially-Implements: blueprint ansible-unit-tests
2016-06-28 10:57:47 +00:00
MD NADEEM
31e5f67e17 Add test for remove container, get state and get env
Change-Id: Id3abd50dbcdb21654d5f5bc344e960aff2c5d5d7
Partially-Implements: blueprint ansible-unit-tests
2016-06-27 16:38:30 +00:00
MD NADEEM
02e060e099 Add unit test for stop and restart container
Change-Id: Icd73eb6e2d5b4207142ef249c8995c98056ae1c4
Partially-Implements: blueprint ansible-unit-tests
2016-06-27 14:11:51 +05:30
Hui Kang
480c479ebf Add Kuryr Docker container
Co-authored-by: Mohammad Banikazemi <mb@us.ibm.com>
Partially-implements: bp kuryr-docker-plugin
Change-Id: Ife54f71984ff6c9825769e81fd39e3444c6fe310
2016-06-21 22:54:44 -04:00
Jenkins
c6cd15d55c Merge "Added unit test for start container" 2016-06-18 02:31:49 +00:00
MD NADEEM
0e459bb6d3 Added unit test for start container
This patch check two senario
first if  we choose to start a new container
with name say XXX, however in the env a container
already exist with XXX name and second to start a stopped container.

Change-Id: Ibd6c5fbcc6f37ea2481634ac2e6b3edb91ae7aab
Partially-Implements: blueprint ansible-unit-tests
2016-06-16 21:20:38 +05:30
Jenkins
4b271c7e4a Merge "Add support for mistral ubuntu binary containers" 2016-06-15 08:58:55 +00:00
MD NADEEM
45799699fe Added unit test for start container
Partially-Implements: blueprint ansible-unit-tests
Change-Id: I398f73f24ee5fa29dd11cd9bb8582cc6c195d007
2016-06-14 17:22:52 +00:00
MD NADEEM
2634a94e7a Added unit test for kolla_docker
Added unit test for create container.

Change-Id: If67025791e52581c8853da50623cc9547f4e9298
Partially-Implements: blueprint ansible-unit-tests
2016-06-12 13:32:24 +05:30
Jeffrey Zhang
c31688be36 Make build.py importable lib
First step to break it down is to make it
importable lib rather than self-contained script.

Change-Id: Ibbc924c2849cc79006046f62f31a1909ce959066
Partially-implements: bp build-refactor
2016-06-07 16:40:16 +00:00
Swapnil Kulkarni (coolsvap)
739d657918 Add support for mistral ubuntu binary containers
partially implements blueprint add-mistral-binary

Change-Id: I5aeb4eba3233947421baf0d35319e1090370a61a
Depends-On: If4be00b937e14ec93443dcb7249cf17099d57cbe
2016-06-01 13:59:48 +05:30
Jenkins
d860c7d4ba Merge "Fix kolla-build return codes" 2016-05-31 11:08:39 +00:00
Jenkins
4db24f4900 Merge "Add support for murano binary containers for rpm based distros" 2016-05-27 21:21:16 +00:00
Will Miller
18ae114e75 Fix kolla-build return codes
Add a main wrapper function to return 1 if any images failed to build;
otherwise, return 0. Rename the old main() to run_build(), which still
returns image statuses, to avoid interfering with unit tests.

Change-Id: I5817cc9cebb4f42dc13e0535223e5dc8931a3aab
Co-Authored-By: Mark Goddard <mgoddard@cray.com>
Closes-Bug: #1578404
2016-05-27 06:39:52 -05:00
Swapnil Kulkarni (coolsvap)
9774ca92f8 Add support for murano binary containers for rpm based distros
Change-Id: I0b916d238f28fe1b536abfb01228b24dbabe8b91
Depends-On: If4be00b937e14ec93443dcb7249cf17099d57cbe
Closes-Bug:#1582537
2016-05-25 12:26:39 +00:00
Swapnil Kulkarni (coolsvap)
b60d8bc629 Add support for magnum ubuntu binary containers
Change-Id: I5ad90f96aa58a99765feb2a3bc96157a4a61310f
Depends-On: If4be00b937e14ec93443dcb7249cf17099d57cbe
Closes-Bug:#1582518
2016-05-25 12:25:09 +00:00
Steven Dake
025d57f820 Remove dependencies on kazoo and friends
Since kolla-mesos has been retired, there is no need in the code
base to keep the zookeeper implementation.  As a result, just remove
it.  If we were to keep it we need virtualenvs for that part of the
code base which installs the python dependencies related to it
for from-binary installs.

This just simplifies the implementation tremendously and culls dead
code.

Change-Id: Ieda226e652d67f5b5667112f4f2556f3171366d3
Closes-Bug: #1577194
2016-05-02 06:12:50 -07:00
Swapnil Kulkarni (coolsvap)
240ba96af2 Add Mistral Binary Containers
Added mistral binary containers for rpm based distros.

Change-Id: Ic2de5ee191a4ed3e2ef3083fb4bb480096e9463f
Partially-implements: bp add-mistral-binary
2016-04-13 17:51:12 +00:00
Jeffrey Zhang
7ab705cd4d Add Ubuntu binary build and deploy gate
The Ubuntu Mitaka repo is release, and we have add it.
So it is time to add the Ubuntu binary gate.

Closes-Bug: #1560386
Change-Id: I29d01147595c4ebebfa00798d01d5fd7398123a6
2016-04-02 16:02:58 +00:00
Jeff Peeler
77c657b5a7 Remove ironic images from excluded list
It looks like as far as building goes, the ironic containers are
fine. So if this passes the gate then this should be fine to merge.

TrivialFix

Change-Id: I646ec301304602b5cdca6de75712b7cffde75a9e
2016-03-22 14:03:43 -04:00
Swapnil Kulkarni (coolsvap)
0cca862991 Update gnocchi for centos binary
Gnocchi packages are now available in centos repos[1]
for liberty and the images build.

backport: liberty

Closes-Bug:#1478145
[1] http://mirror.centos.org/centos/7/cloud/x86_64/openstack-liberty/

Change-Id: I957754d4a4e35b026d3e27ee23f33ce2e78592ec
2016-03-10 17:28:06 +05:30
Paul Bourke
80f0890c81 Add new gates for oraclelinux
Change-Id: Ic5c0e266639c8ed76d0af473d076d9ae6749102a
Implements: bp oraclelinux-gate
2016-03-01 15:34:34 +00:00
Allen Gao
235e95885b Move ironic-discoverd to ironic-inspector
Closes-Bug: #1551052
Change-Id: Ic226287bbf1f1e8d5cc2e1d80ce2975448b1f95c
2016-02-29 11:47:52 +08:00
Jeffrey Zhang
72ac7a5541 Reconfigure keystone service
Partially-implements: bp kolla-reconfig

Change-Id: Ied293e59bf4531e88a0e5e5bf9a5f5f495d2a0e7
2016-02-27 02:15:48 +00:00