4482 Commits

Author SHA1 Message Date
Jeffrey Zhang
186271dba4 Fix publicURL endpoint not found issue in CI
Partial-Bug: #1587226
Change-Id: I8cec44fdd9e6b00fcffe5dd59cbe8c69214b40b8
2016-06-29 23:21:03 +08:00
Jeffrey Zhang
d4269334dd Use the disk size as the osd weight when osd_initial_weight is auto
In most of case, the disks used by ceph have different size. Use the
default value 1 may block the ceph when one disk is full. Use the disk
size as osd weight will more reasonally.

TrivialFix

Change-Id: Ib875c7289188cbb9380355baf0c8048f1eb09332
2016-06-29 23:14:51 +08:00
Jenkins
100e4aba62 Merge "Cleanup RUN commands in base Dockerfile" 2016-06-29 13:34:00 +00:00
Christian Berendt
2592a46c14 Copy lbaas-haproxy.filters file to /etc/neutron/rootwrap.d
The copy instructions do copy the README.txt file and the oslo-config-generator
directory to /etc/neutron. This makes no sense. Only the
neutron/rootwrap.d/lbaas-haproxy.filters should be copied to /etc/neutron/rootwrap.d.

TrivialFix

Change-Id: I2dfd86b718166d1d3e348dd9ba14056bb763e64f
2016-06-29 13:13:47 +00:00
Christian Berendt
727173f4be Cleanup RUN commands in base Dockerfile
This will merge several RUN statements into one RUN statement to reduce
the number of the layers of the base Docker image.

TrivialFix

Change-Id: I69b00b2e7fa7717923f0fe364c5be9b38a2dbb90
2016-06-29 13:31:07 +02:00
Jenkins
b7435eeb15 Merge "neutron-lbaas TO neutron-lbaas-agent" 2016-06-29 04:58:46 +00:00
liyingjun
5c1ca9e012 neutron-lbaas TO neutron-lbaas-agent
When building image for neutron-base on ubuntu, it failed with
installing neutron-lbaas, it should be neutron-lbaas-agent

Change-Id: Ia8ba9c4b578368940b44c7943648a15a9f9f7518
Closes-bug: #1597141
2016-06-29 08:26:54 +08: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
Jenkins
89765f3123 Merge "Be smarter about what to do when making a docker client" 2016-06-28 09:10:00 +00:00
Jenkins
a2a5521b16 Merge "Add test for remove container, get state and get env" 2016-06-28 07:33:08 +00:00
Jenkins
d038ac7cde Merge "Remove MariaDB warning from HAproxy" 2016-06-27 22:18:23 +00:00
Joshua Harlow
3bd1f14c4f Be smarter about what to do when making a docker client
Instead of having the program sys.exit when a docker
client object can not be created (which kills all the threads
and messes up the program and its associated state) have a
exception be raised when this (for whatever reason) fails.

Also refactor so that there is a docker task that the docker
client using tasks can all inherit from.

TrivalFix

Change-Id: Ie81aff10cfe6f2fc5c65d53402200e3928fb460c
2016-06-27 14:09:25 -07:00
Jenkins
25020d1c58 Merge "Add reconfigure tasks for ceilometer ansible role" 2016-06-27 19:27:27 +00:00
Jenkins
8f5747318b Merge "Enable openvswitch container logs in host volumes" 2016-06-27 17:06:35 +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
Dipa Thakkar
e26751b955 Remove MariaDB warning from HAproxy
The forwardfor option cannot be used in certain modes
such as TCP.  To resolve that create a special default
section for MariaDB

Change-Id: I743bbbfb732b04f115d1a878a0dfc22e29d2623d
Closes-Bug: #1549746
2016-06-27 11:36:10 -04:00
Jenkins
b4ecfc5043 Merge "Add the verification of required images step before the deployment." 2016-06-27 15:27:32 +00:00
Jenkins
36ea35b0c5 Merge "Trivial fixes to correct couple of typos." 2016-06-27 15:22:36 +00:00
Mohammed Salih Puthenpurayil
993b827e0a Trivial fixes to correct couple of typos.
TrivialFix
Change-Id: I92cc2d826f2d418b9575e35dd048c98775c0be5c
Signed-off-by: Mohammed Salih Puthenpurayil <linusali@gmail.com>
2016-06-27 18:00:21 +04:00
Jenkins
5a0f26c338 Merge "Document a common Ceph bootstrap failure scenario" 2016-06-27 12:28:27 +00:00
Paul Bourke
49f32cd3c6 Document a common Ceph bootstrap failure scenario
Seen a user with this problem recently in IRC, and encountered it myself
frequently. If the Ceph bootstrap fails mid-way, subsequent deploys will
commonly fail on the 'fetching ceph keyrings' task.

Change-Id: I97176aa0904cd3153dfafe468f5cf94c95175ff7
2016-06-27 12:25:18 +01: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
Jenkins
01d183da27 Merge "Stop using a global logger for all the things" 2016-06-27 06:48:08 +00:00
Jenkins
dafd1c8c2e Merge "Fix container stop exeption" 2016-06-27 04:45:06 +00:00
Hui Kang
54919dc498 Enable openvswitch container logs in host volumes
Allow heka container to pick up the openvswitch logs like other
services

Change-Id: I396ae9419540070c6ab01b8f62607ab46b1f08aa
closes-Bug: #1573199
2016-06-26 23:45:33 -04:00
Jenkins
92bf9dd5dc Merge "Fix docker daemon proxy support in vagrant" 2016-06-27 03:17:03 +00:00
Jenkins
d0caee3d66 Merge "glance-*, fix rabbit config with ceilometer" 2016-06-27 03:13:29 +00:00
MD NADEEM
3321049158 Fix container stop exeption
Change-Id: I1d59ed9089def808bab31d97ba4cba9e8592b568
Closes-Bug: #1595814
2016-06-27 03:03:43 +00:00
Britt Houser
bed6d14534 Fix minor typo in security guide.
The word service was mispelled in security guide.  Fixed
this typo.
TrivialFix

Change-Id: I82a135b7c767690c0a639da552bdc2286c9ad43c
2016-06-26 22:31:38 -04:00
Dave Walker (Daviey)
2a2a86ac43 glance-*, fix rabbit config with ceilometer
Currently, if ceilometer is enabled with glance then the
rabbitmq is non-functional, causing various glance failures
including image upload.

This is caused because:
The generated config fails to have a carriage return at the
end of the rabbit_host line, causing the following line to
be added to this entry.

rabbit_host is used rather than rabbit_hosts, where the
fromer expects a string, rather than the list that is
provided.

This also adds rabbit HA support, to be in-line with the
other services using rabbitmq.

This is resolved, by pushing the rabbit_hosts entry to be
last, meaning that a carriage return is not required.

Change-Id: I89f26d542565b98025fd9b84fc4beb5cbed364e5
Closes-Bug: 1596244
Signed-off-by: Dave Walker (Daviey) <email@daviey.com>
2016-06-26 01:17:34 +01:00
Dave Walker (Daviey)
d5d04587f1 Revert "Fix radosgw 'rgw frontends' param"
The original commit changes ceph-rgw to listen on all
addresses (0.0.0.0:6780), which means that it listens on
both the storage_interface address and the VIP.

This makes it incompatible with having HAProxy on the same
host.

This reverts commit 819ae24b50ffda74e5b3a72f4c26321e7c9696cb.

Change-Id: I6cba31cc942a0be9f65d2f4847c8c2bc364a9c1e
Closes-Bug: 1596229
Signed-off-by: Dave Walker (Daviey) <email@daviey.com>
2016-06-25 23:19:26 +01:00
Jeffrey Zhang
5e90e90b11 Set the privsep_osbrick.helper_command in nova and cinder
os-brick starts using privsep, it will need to know how to invoke its
privileged half. This follow the how the devstack fixed in nova[1] and
cinder[2].

[1] https://review.openstack.org/#/c/277696/
[2] https://review.openstack.org/#/c/280031/

TrivialFix

Change-Id: I3761a5bde9766297127ad2011453ae4221ff5c2b
2016-06-25 18:04:11 +08:00
OpenStack Proposal Bot
b6e51e9531 Updated from global requirements
Change-Id: Ie114db9899fd3da9efbb36cd18c1ae45c80489b8
2016-06-24 17:06:26 +00:00
Michal (inc0) Jastrzebski
dfb0e55740 Customizations continued
To correctly customize lists, we need to specify *_append, *_remove or
*_override variable in customization file.

Change-Id: I18d67ab89089e2696399ff1b99c1047a2f554442
Partially-implements: blueprint third-party-plugin-support
2016-06-24 13:56:20 +00:00
Jenkins
24404a1b5a Merge "Update urls for Delorean repo files" 2016-06-24 11:29:18 +00:00
Paul Bourke
3af14c3402 Update urls for Delorean repo files
delorean.repo is now redirected from trunk.rdoproject.org to
buildlogs.centos.org [0]

[0] https://www.redhat.com/archives/rdo-list/2016-June/msg00206.html

Closes-Bug: 1595568

Change-Id: I650abc34d9cf0c00f9025bd2c62f1bf03fbd96b7
2016-06-24 11:19:00 +01:00
Takeaki Matsumoto
fd5c3c7919 Add upgrade pip command to QuickStart Doc
python-pip package from canocnical for trusty is old.
It causes resolving dependencies problem when "pip install".

This fixes it.

Change-Id: I9134d9d46eba3e9c37167552bf90758690b62ecf
Closes-Bug: #1595792
2016-06-24 15:05:31 +09:00
hanchao
89408983b0 Add the verification of required images step before the deployment.
By adding `kolla-ansible pull` before the deployment, it may help to
guarantee a successful deployment, and avoid polluting the host
environment due to the failure of the deployment.

Change-Id: I951a3093ca02601ed6c0469e626fcd92bd1297c1
2016-06-24 11:03:54 +08:00
Jenkins
8790492c6b Merge "Update kollaglue repo on docker to kolla" 2016-06-23 15:36:49 +00:00
Paul Bourke
a43a8d77a9 Fix docker daemon proxy support in vagrant
There was an unwanted line break in the systemd file preventing the proxy from
being configured correctly.

TrivialFix

Change-Id: I3e6413d4f2d373951cb558e0af1b8bc92d4cbb91
2016-06-23 11:40:08 +01:00
Jenkins
d1be7fdb65 Merge "Spec: Deploy Kolla images using Kubernetes" 2016-06-22 16:50:26 +00:00
Jenkins
a9fd808b44 Merge "Remove deprecated package python-tuskarclient" 2016-06-22 13:10:26 +00:00
Jenkins
b7506b5c8e Merge "Add Kuryr Docker container" 2016-06-22 13:09:41 +00:00
Jenkins
b09f03a340 Merge "Notify operators that cinder + LVM doesn't work" 2016-06-22 12:57:15 +00:00
Swapnil Kulkarni (coolsvap)
aa9245f29f Remove deprecated package python-tuskarclient
TrivialFix

Change-Id: I4477b1e9681a34a85baf30e94c63f05e0d24ab7a
2016-06-22 08:27:11 +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
Joshua Harlow
929d84b143 Stop using a global logger for all the things
Instead of using the same logger for all the things
which makes it incredibly hard to figure out what the images
and there builds are doing; instead have it so that each
image gets its own logger which is then used by tasks that
process that image.

Each images logs now will (optionally) go to a logs directory
that can be more easily read and looked over and leaves
the main logger for informational/task kind of
output only.

Closes-Bug: #1586478

Change-Id: I939e073a2bc5ed8b5a1e969888fc743d80f468c9
2016-06-21 15:25:05 -07:00
OpenStack Proposal Bot
ed02ccceeb Updated from global requirements
Change-Id: I4c265fc0b7f5b4767d36f33dbd4f5903e09b00e5
2016-06-21 18:00:12 +00:00
Steven Dake
2d37c4ca88 Notify operators that cinder + LVM doesn't work
Cinder has closed a flaw in the design of either glance, cinder, or
OpenStack in general.  Whatever the case is, LVM + multi-controller
doesn't work correctly.

TrivialFix

Change-Id: Ibe3445699cfdb1622279a85b6c4e612663d08def
2016-06-21 09:02:30 -07:00
Jenkins
bb2ac5f6f9 Merge "Use MAC address for looking for DHCP leases for Vagrant" 2016-06-21 05:58:25 +00:00