614 Commits

Author SHA1 Message Date
Jenkins
2cb46ffbae Merge "Allow tmp path to download registry" 2017-07-14 17:38:20 +00:00
Jenkins
29211e317a Merge "Fix tools/cleanup-images script error" 2017-07-14 13:25:52 +00:00
Jenkins
a981b9e325 Merge "Fix depends-on kolla gates" 2017-07-13 10:07:38 +00:00
Michal (inc0) Jastrzebski
50735ff1bb Allow tmp path to download registry
Required for dockerhub publisher

Change-Id: I0231bd07415ef05b3f4f937e32a9df4cd0643672
2017-07-12 14:34:02 -07:00
Michal (inc0) Jastrzebski
2f00c64616 Enable proxy cache for tarballs download
Lately, after we increased number of jobs, infra started to experience
network traffic issues due to us downloading registries. This
per-nodepool cache should help and also speed up actual gate.

Change-Id: I621a9c91e4508ef208a28137a736fd8468388219
Depends-On: I527d32f9b43dabb7640bfb056e2bf828b7c1dfa9
2017-07-12 11:50:44 -07:00
Bertrand Lallau
f5624b21f9 Fix tools/cleanup-images script error
When cleanup-images is launch without parameters the following error is
triggered:
./cleanup-images: line 72: break: only meaningful in a `for', `while',
or `until' loop

This patch fix it.

Change-Id: Ie8c63420a4e9b0d49a4e6be4172c8f0be912b556
Closes-Bug: #1702496
2017-07-10 13:53:23 +00:00
jimmygc
f70dfc5dc3 Make glance filesystem_store_datadir configurable.
User can use custom directory to store images.
For example using a shared file system as backend.

Change-Id: Iab7a9a51e619bdbf8f7bd4626ebe4d703e6d4819
2017-07-10 14:46:22 +01:00
Eduardo Gonzalez
378ec1f1fe Fix depends-on kolla gates
When using depends-on, gates will not build cinder
and ceph images, causing ceph deploy gates to fail.

Change-Id: I441c742251754db27374331f774041c214678eba
2017-07-10 11:28:42 +00:00
Jeffrey Zhang
ae79f7bb7c Use latest docker engine in gate
Kolla support latest docker engine right now.

Closes-Bug: #1661549
Change-Id: I5074fd16bdd158df8e97f909dead0a59a14fdf42
2017-07-07 17:25:08 +08:00
Jeffrey Zhang
065b64feaf Fix add cleanup images cli options release note folder
Change-Id: Ie206f0f245648df855ceb6140e60de664dac74fc
2017-07-04 10:44:54 +08:00
Jenkins
450b8df39f Merge "Add cli options to cleanup-images" 2017-06-27 05:19:37 +00:00
Michal (inc0) Jastrzebski
339b27c7fe Enable multi-scenario gates
First non-trivial scenario we'll be testing in gates will be cinder +
ceph. This patchset is supposed to create framework to easily add new
testing scenarios.

Change-Id: I6790eaf5cf3297af04a64e4169a39b6e2cd1890f
2017-06-19 10:14:33 -07:00
Jenkins
fca0b3702d Merge "Removing ovs bridge before destroying container" 2017-06-16 10:51:44 +00:00
Paul Bourke
5cb375645c Add a Kolla 'devstack' mode
Add a new variable 'kolla_devmode', which when enabled, clones and
bindmounts service source code into the containers.

This commit adds the relevant changes for Heat, more services can be
added and built upon.

Usage:
* Set 'kolla_devmode: yes'

* Code is cloned to /opt/stack/{{ project_name }} on target
  node(s)

* Users can develop in these repos, and simply restart the container to
  pick up / test changes.

Debugging can be done from the host via 'remote_pdb'[0].

[0] https://pypi.python.org/pypi/remote-pdb

Implements: blueprint mount-sources
Change-Id: Ic0431b10d723bf84eeefc72039376fe0058dd902
2017-06-08 09:55:54 +01:00
Jenkins
f8c40a4588 Merge "Fix unrecognized --limit option" 2017-06-07 13:30:57 +00:00
Michal (inc0) Jastrzebski
f5354f55b1 Enable multinode gate
This patches changes deploy_gate quite a bit so in reality all
deployments will now assume multinode (even if it's single node). After
that we will refactor it even further to enable easy addition of new
scenerios.

Change-Id: I1faada46e6a7aa026128b2f01d77eabb04759439
2017-06-05 11:35:20 -07:00
Jenkins
77041db66e Merge "[Trivial] Fix two typos in kolla-ansible." 2017-06-04 14:55:34 +00:00
Jeffrey Zhang
94a882babe Enable port_security in gate to fix the neutron broken
Revert this when neutron bug[0] is fixed.

[0] https://bugs.launchpad.net/neutron/+bug/1694420

Change-Id: Id9f84608826351b9675cd6a6f2a183e91ce33bf6
Partial-Bug: #1694420
2017-06-04 09:01:49 +08:00
Eduardo Gonzalez
973145f88f Fix unrecognized --limit option
Kolla-ansible does not have as its allowed parameters
ansible's limit.

Change-Id: I86821fe39e6f0f61e513a0677bf177234c203103
Closes-Bug: #1693801
2017-06-02 15:52:12 +02:00
Jenkins
e8c0ed8b7e Merge "Add kolla-ansible bash completion script" 2017-06-02 11:05:44 +00:00
Jenkins
b10ab47592 Merge "Fix some wording issues on a comment" 2017-06-02 09:48:35 +00:00
David Moreau-Simard
dc71ebe267 gzip the ARA report after generating it
ARA behaves well gzipped and shaves a lot of the size due to it being
composed mostly of text.

Change-Id: I7a3f21af365d13ba783d200a75d18b50429a1488
2017-05-25 16:25:45 -04:00
Chen
c6c75e578b Fix some wording issues on a comment
Change-Id: If81fb5a7f7e87f1b6d15b09437353a5264364ef1
2017-05-22 18:21:20 +09:00
liyingjun
479d567177 Removing ovs bridge before destroying container
Change-Id: I0fac4cef9e961b1d64f269bfc27804e77f4ea842
Closes-bug: #1689422
2017-05-19 10:46:12 +08:00
leiyashuai
e8e64f1c83 [Trivial] Fix two typos in kolla-ansible.
Change-Id: I9665338318f8ad4690e4908748065623d0537741
2017-05-16 19:32:36 -07: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
6db0c9292b Merge "Remove /etc/fstab Swift references during cleanup-host" 2017-05-11 07:59:04 +00:00
jeckxie
4bb722b440 Remove /etc/fstab Swift references during cleanup-host
During cleanup-host, we need remove swift references from fstab.

Change-Id: I18e9a84b0664eb834cf397bcf6d2406abcab47a7
Closes-Bug: #1689285
2017-05-08 19:24:23 +08:00
Eduardo Gonzalez
ba6e3249d2 Change ssh/config permissions to 600
ssh/config permissions are 664 currently, causing error
`Bad owner or permissions on /home/jenkins/.ssh/config`

http://logs.openstack.org/68/461368/1/check/gate-kolla-ansible-dsvm-deploy-centos-binary-centos-7-nv/0a94da7/console.html#_2017-05-01_12_06_08_440775

config file should only be writen by owner.

Closes-Bug: #1687408
Change-Id: Id804f11a91858fa297e5236beb2110e3511eabec
2017-05-01 14:21:24 +00:00
Eduardo Gonzalez
029de18d0b Add ssh-keyscan to unblock kolla-ansible gate
As a change to remove puppet from infra nodepool,
ssh-keyscan is needed for each node.[0]

Host key checking was disabled by default by jenkins
user. [1]

Refs:
[0] http://lists.openstack.org/pipermail/openstack-dev/2017-April/116036.html
[1] https://review.openstack.org/#/c/460731/
Change-Id: I0f4000f18b7a2b3266c95c3f7a5109e3603c94a7
2017-04-28 13:16:20 +00:00
Jenkins
60b5b495a2 Merge "Fix the remove mariadb volume failed" 2017-04-24 12:53:52 +00:00
Eduardo Gonzalez
f6f99db4a2 Add cli options to cleanup-images
Allow remove all kolla images
Allow remove specific kolla version images
Allow remove dangling images
Allow remove single images, all images matched

Usage examples:
   * cleanup-images --all
     - Remove all kolla images
   * cleanup-images --image-version 4.0.0
     - Remove all images matching 4.0.0 kolla_version
   * cleanup-images --dangling
     - Remove all dangling images
   * cleanup-images --image nova
     - Remove all nova images
   * cleanup-images --image nova-scheduler
     - Only remove nova-scheduler image

Implements: blueprint add-cleanup-images-cli-options
Change-Id: I997272098879350e13e0ac00762ae3485e618355
2017-04-24 14:53:24 +02:00
Jenkins
4545fcb420 Merge "fix typo" 2017-04-12 07:42:35 +00:00
Jenkins
3371152960 Merge "Unmount Ceph OSD disks as part of destroy" 2017-04-12 07:11:08 +00:00
Bertrand Lallau
1077da7262 Remove dead code from cleanup-host.sh script
sourcing validate-docker-execute.sh script is not needed anymore and
should be removed.

Change-Id: Ie40ddcd36e71337d94f49467bfb0f8aae50353f7
2017-04-11 16:51:10 +02:00
Paul Bourke
e27165edc5 Unmount Ceph OSD disks as part of destroy
This seems to have got lost during repo split. Adding it back in now.

Change-Id: Ic0b0f5efb12eab58e7872b30611a39640dc44cc2
Closes-Bug: #1629224
(cherry picked from commit e1a2f99014a1aeb3697e8ec3c999cdc12380376b)
2017-04-11 13:45:08 +00:00
youri jeong
f8322dffd3 fix typo
fix typo for specs/kubernetes-deployment.rst, tools/ovs-dpdkctl.sh, tools/setup_gate.sh

'managment' -> 'management'
'seperated' -> 'separated'
'occuring' -> 'occurring'
'discribed' -> 'described'
'recomended' -> 'recommended'
'thier' -> 'their'

Change-Id: Ie59c600698c965cebd9a541b951d704eda9301cb
2017-04-11 12:08:19 +00:00
caoyuan
ff46e0908f Update the cirros version to "0.3.5"
Refer to
https://docs.openstack.org/ocata/install-guide-rdo/glance-verify.html

Change-Id: Ic2a32a3f17a11f1f6e8ecf0f7271d7d1f12ca5bc
2017-04-03 16:04:12 +08:00
caoyuan
a565925b0f Fix the remove mariadb volume failed
- when run tools/cleanup-containers mariadb, the mariadb volume remove
failed, because the "volumes_to_remove" can't catch the mariadb
volume, this patch to fix it.

- remove the unnecessary "()"

more test infomation, see http://paste.openstack.org/show/603359/

Closes-Bug: #1674207

Change-Id: I82f5922fcc84d222f74d2551a2c697bf78136a2d
2017-03-20 04:40:33 +00:00
Dave Walker (Daviey)
11f9ba6547 init-runonce - set image distro to "linux"
Currently we omit the os_distro property when uploading the
cirros image to glance.  Nova assumes it to need vfat disk
incase the image is Windows.

This change sets the property to "linux" causing ext4 to be
used instead.

TrivialFix

Change-Id: I3fdb71f5be7702a2dc223946fae82131c6c46154
Signed-off-by: Dave Walker (Daviey) <email@daviey.com>
2017-03-14 01:20:49 +00:00
Jenkins
9d0daa015a Merge "Enable sanity checks from kolla-ansible" 2017-03-09 17:31:51 +00:00
Paul Bourke
5418ada148 Enable sanity checks from kolla-ansible
Add a new subcommand 'check' to kolla-ansible, used to run the
smoke/sanity checks.

Add stub files to all services that don't currently have checks.

Change-Id: I9f661c5fc51fd5b9b266f23f6c524884613dee48
Partially-implements: blueprint sanity-check-container
2017-03-09 10:37:06 +00:00
Jeffrey Zhang
cad7fc35f7 Disable running playbooks in serial by default
Run playbooks in serial are unnecessary and may cause some issue. This
patch disables serial.

This patch also removes the serial for MariaDB playbook. MariaDB handle
this internally.

Partial-Bug: #1668185
Change-Id: I3b4216dd82607475e9bd9b44590b631be4abdbdd
2017-03-08 21:27:29 +08:00
Jeffrey Zhang
3c23d480d3 Run precheck after deployed openstack
Change-Id: Iad58edcbbf98405349bda175821b9966fdb10d34
2017-03-07 13:10:23 +00:00
Jeffrey Zhang
6e41c1e326 Exit with error code 1 when there is failure container in gate
Change-Id: If832e5535b0788dfcfe38cd6cf88f0e0001bacd5
Closes-Bug: #1668001
2017-02-28 09:45:14 +08:00
Jenkins
225b1a1dbb Merge "Replace "ara generate" by "ara generate html"" 2017-02-20 17:19:46 +00:00
David Moreau-Simard
3889bbe6f3 Replace "ara generate" by "ara generate html"
The newest version of ARA, 0.11, deprecated "ara generate" in favor
of "ara generate html". "ara generate" will be removed sometime in
the future so let's adjust it right away.

Change-Id: I31bff0a7e130c329da44b46506f5b12fa8d6deb8
Closes-Bug: #1665746
2017-02-17 14:15:27 -05:00
Jenkins
156118738a Merge "Support kolla-ansible installed in a virtualenv" 2017-02-17 16:29:59 +00:00
Jenkins
8748ceee70 Merge "Change python interpreter" 2017-02-17 02:42:16 +00:00
Abel Lopez
8b90fb6d47
Change python interpreter
There is inconsistent use of either `/usr/bin/python` or
`/usr/bin/env python`. This makes for unexpected results when a
user might be using a virtualenv.

Change-Id: Ibb030f920a8869f9113ade70b66a921cc815060d
2017-02-16 13:39:36 -08:00