2021 Commits

Author SHA1 Message Date
Jenkins
a683486a07 Merge "Remove unneeded blank lines" 2016-10-14 08:28:14 +00:00
Jenkins
9b2756bfd0 Merge "copy ldlinux.c32 to /tftpboot in ironic_pxe" 2016-10-13 15:31:11 +00:00
Jenkins
db9003e39b Merge "Fix keystone fernet file exchange via ssh" 2016-10-13 13:50:46 +00:00
Jenkins
8ad1ca0fb1 Merge "Fix rabbitmq upgrade permission issue" 2016-10-13 13:50:39 +00:00
Jenkins
b5773e6465 Merge "Change keystone.log's permit to keystone:keystone" 2016-10-13 11:08:56 +00:00
Waldemar Znoinski
3d996aeb8c copy ldlinux.c32 to /tftpboot in ironic_pxe
Change-Id: Ie42f75d0779b8e2bd835e9cdc165e73751ce5172
Closes-bug: #1632840
2016-10-12 20:21:52 +00:00
Jeffrey Zhang
4c207bc039 Fix rabbitmq upgrade permission issue
During the upgrade from Mitaka to Newton, the uid/gid may change for the
same image. Especially on Ubuntu, we moved to Ubuntu Xenial in Newton
and it added systemd related user which break all the uid/gid during an
upgrade. It will the permissions in all docker named volumes.

This fix extends set_config.py to set the proper permission during
container start. This is super light then add commands in
extend_start.sh file  or add ansible tasks.

This patch just fixes rabbitmq case. Other services will be fixed in
following patches.

Partial-Bug: #1631503
Change-Id: Ib17027b97abbc9bf4e3cd503601b8010325b5c5b
2016-10-13 01:19:05 +08:00
Christian Berendt
bedca5b35e Fix keystone fernet file exchange via ssh
* install openssh client in keystone-fernet container
* install rsync in keystone-ssh container
* fix syntax issue in ssh configuration
* copy ssh configuration into keystone-fernet container
* copy id_rsa.pub into keystone-ssh container
* copy id_rsa into keystone-fernet container
* use full path to ssh binary in used scripts
* add missing newlines at EOF
* when using type source set /var/lib/keystone as home
  directory for the user keystone

Co-Authored-By: Jeffrey Zhang <jeffrey.zhang@99cloud.net>
Change-Id: Id6b41030056a69f6516a054beb2fc0e08226e876
Closes-bug: #1623013
2016-10-12 16:29:34 +00:00
Jenkins
22f197cdb3 Merge "Fix the failure to launch instance when enabled Ceph" 2016-10-12 10:22:46 +00:00
Jeffrey Zhang
255198e742 Fix the failure to launch instance when enabled Ceph
We need install qemu-kvm package which come from the Cloud SIG rather
then qemu-system-x86 which come from EPEL.

Change-Id: Ibd027069771552d3db0e4fe0c7406ddd1bfc0673
Closes-Bug: #1631984
2016-10-12 01:31:09 +08:00
Jenkins
bd1edb46f1 Merge "Add missing uwsgi for barbican-api Dockerfile" 2016-10-11 10:53:13 +00:00
liyingjun
bf62341ced Add missing uwsgi for barbican-api Dockerfile
uwsgi is not installed for barbican-api in ubuntu.

Change-Id: Ibaaf7eb9dfae2f88a5a2d9c3b4983d403e52c932
Closes-bug: #1632170
2016-10-11 16:38:06 +08:00
Jenkins
90b69d7a4f Merge "Install python-mysqldb for Ubuntu in openstack-base container" 2016-10-10 19:31:16 +00:00
jackning
cebed25608 Change keystone.log's permit to keystone:keystone
At present, keystone.log's user:group permit is root:kolla,
when got token from keystone, it failed. The reason is that:
Permission denied. So it shoud be changed keystone:keystone.

Change-Id: Ibbbf1d88ba16e5040f9068ea9948373d10593514
Closes-Bug: #1631685
2016-10-09 03:26:36 -04:00
Jeffrey Zhang
18fa72c901 integrate gnocchi with ceilometer
Closes-Bug: #1626364
Change-Id: I9d586b950b7099a9b160f7b32c9ff00b189a0287
2016-10-09 03:04:07 +00:00
Jenkins
17d5c32f0b Merge "Move RDO to Newton branches" 2016-10-07 21:05:18 +00:00
Jenkins
77a31346d0 Merge "Integrate gnocchi with ceph" 2016-10-07 09:06:44 +00:00
Steven Dake
aeb86de6fc Move RDO to Newton branches
RDO Newton is available.  Lets use it and test with it this final week.

TrivialFix

Change-Id: I2a761366da7c2cf209adaceb73ac7fa9c9aa3cba
2016-10-07 03:40:10 -04:00
Mauricio Lima
18785f416c Remove unneeded blank lines
TrivialFix

Change-Id: I778d0a55adf1302c7a6f0702fec3a381d851f3df
2016-10-06 12:42:27 -03:00
Christian Berendt
6f1c15da9d Install python-mysqldb for Ubuntu in openstack-base container
python-mysqldb is required by the Horizon database session cache.

Change-Id: If52a9a6c9addbebc955e4755ea3c7c1a81df1bca
Closes-bug: #1630559
2016-10-06 13:11:12 +02:00
Christian Berendt
1a79fb6032 Create /var/log/kolla/rally before running rally-manage db create/upgrade
Change-Id: I6f88a4ecb4ba980836b4778252bb49731463f4eb
Closes-bug: #1630377
2016-10-04 23:31:37 +02:00
Jenkins
5fcb01d807 Merge "install pxelinux for ironic_pxe" 2016-10-04 04:07:28 +00:00
Jenkins
734cfd02c3 Merge "Add hexdump package for ironic-conductor container" 2016-10-04 04:07:09 +00:00
Jenkins
366bef430b Merge "Revert "Fix pycparser wheel package issue"" 2016-10-04 04:06:14 +00:00
Jeffrey Zhang
fb915b5a91 Add hexdump package for ironic-conductor container
On RedHat family distro, util-linux provides the hexdump. On Debian
family distro, bsdmainutils provides the hexdump.

Change-Id: If762f570639782ca477ae4697f354d88c992613b
Closes-Bug: #1627755
2016-10-04 01:43:57 +00:00
Waldemar Znoinski
06422a29c9 install pxelinux for ironic_pxe
pxelinux.0 and chain.c32 files are provided by two
separate packages on xenial compared to 1 on trusty.
This change adds the required package to be installed
and new paths the files reside on xenial.

Change-Id: I48a3622f7257f4cbf994258f82ba91947aae3be4
Closes-bug: #1629337
2016-10-03 17:40:56 +00:00
Jenkins
3e405312c3 Merge "Handle z stream change for rabbitmq-server" 2016-10-03 16:46:35 +00:00
Jeffrey Zhang
190144926d Revert "Fix pycparser wheel package issue"
the bad pycparser wheel package has beed removed.

This reverts commit 195bcd0f4323462b77d025936b898c85ddd8fdb3.

Change-Id: I4669a627b68c4bd7534288c4a594a49226db3832
2016-10-04 00:44:45 +08:00
Jeffrey Zhang
9d8fe89188 Handle z stream change for rabbitmq-server
We need install rabbitmq_clusterer plugin in the rabbitmq server folder.
create a rabbitmq_server-3.6 folder to handle the z stream change for
rabbitmq-server.

TrivialFix

Change-Id: I5254c1909f169e542d1a5efc910d5e17a53de7ff
2016-10-03 23:34:50 +08:00
Jeffrey Zhang
903b0ff211 Fix ironic failed
* Mount system folder in ironic-conductor
* Add package need in ironic-conductor
* Fix the log path issue
* Add ironic sudoer in ironic-base
* Fix credential issue
* Do not start nova-compute when enable ironic

Closes-Bug: #1629334
Change-Id: If9d478c6513de37465403d458a88cf0da7ebd8a6
2016-10-03 07:53:21 +00:00
Steven Dake
0226cca1a2 Download the rabbitmq_clusterer plugins to the correct path
rabbitmq-server version upgrade to 3.6.5 in RDO repo. This patch set

* Download the rabbitmq_clusterer plugins to the correct path
* Install 3.6.5 rabbitmq-server for Ubuntu/Debian distro

Closes-Bug: #1611655
Co-Authored-by: Jeffrey Zhang <zhang.lei.fly@gmail.com>
Change-Id: I8de9a553b506a15f4d96cc6b55f21e3a27887a1d
2016-10-03 06:51:45 +00:00
Jeffrey Zhang
195bcd0f43 Fix pycparser wheel package issue
pycparser-2.14-py2.py3-none-any.whl is broken or something
misconfigured, while pycparser-2.14.tar.gz is ok.  Revert this PS when
the bug is fixed[0]

[0] https://github.com/eliben/pycparser/issues/147

TrivialFix

Change-Id: If719a5fdfbcedfe4770354b18dc47cc94e90dc3d
2016-10-03 14:43:55 +08:00
Jenkins
789f50b2f3 Merge "Fix mistral service" 2016-09-30 12:29:41 +00:00
Jeffrey Zhang
96318fed5a Integrate gnocchi with ceph
Gnocchi previously lacked high availability. We consider a lack of HA
in our a vast majority of operator oriented services to be a defective
design choice. this change integrates gnocchi with ceph to resolve the
the lack of HA.

Closes-Bug: #1626623
Change-Id: I71c5137842cb48bc4af0e50a2952df5631d0d6df
2016-09-29 12:13:04 +00:00
Jeffrey Zhang
89d38770ce Fix error in Gnocchi service
* mount gnocchi volume for gnocchi-api and gnocchi-statsd
* fix the failed of gnocchi-api
* use gnocchi user when running gnocchi-upgrade
* use the app.wsgi file in python path directly, rather than copy it to
  /var/www/cgi-bin/gnocchi/app file

TrivialFix

Change-Id: Ie026b8f44cd8e9703bf115cebb4e2d50b114a3a2
2016-09-29 12:06:15 +00:00
Jenkins
1432046728 Merge "Install the required packages for ceph-base image" 2016-09-28 15:43:02 +00:00
Jenkins
869aa073b5 Merge "Fix Magnum trustee issues" 2016-09-28 15:34:56 +00:00
Eduardo Gonzalez
a71874f24f Fix mistral service
- Add mistral in HAproxy
- Set mistral api to bind on api_interface
- Fix mistral endpoint
- Add database population on bootstraping
- Add mistral port prechecks

Change-Id: If1617fb9dcd8b3bbd4f94c68ca87c36e39711016
Closes-Bug: #1626570
2016-09-28 17:21:51 +02:00
Vikram Hosakote
3c45625197 Fix Magnum trustee issues
This patch set fixes all Magnum issues in kolla master.

The [trust] section set to magnum.conf
using created trustee domain and user for Magnum
in ansible/roles/magnum/tasks/register.yml using ansible
openstack modules.

Bump shade to 1.5.0 in kolla-toolbox because of
os_user_role ansible module dependency.

Certificate storage is changed from 'local' (non-production)
to magnum's internal storage (x509keypair) or barbican.

Co-Authored-By: Martin Matyas <martinx.maty@intel.com>
Change-Id: Ifcb016c0bc4c8c3fc20e063fa05dc8838aae838c
Closes-Bug: #1551992
2016-09-27 21:23:46 -07:00
Jenkins
7140bead4b Merge "Fix the failure of ceilometer-api container" 2016-09-26 13:35:03 +00:00
Waldemar Znoinski
40ed2c46cd install iptables in ironic-inspector container
Change-Id: I5c153b367ef21eb76bc3fbe8bd724c71aa251f3c
Closes-bug: #1626539
2016-09-25 22:16:02 +00:00
Waldemar Znoinski
326327acba fix ironic-inspector setup
* add ironic-inspector(-archive) source to docker image
* pip install from above source code
* move in-container config files to /etc/ironic-inspector
* add sudoers file to allow ironic-rootwrap
* copy rootwrap conf and filters from source repo

Change-Id: Ie3cce19810b9940d06bb636b28015160fea6ddfb
Closes-bug: #1624457
Closes-bug: #1624833
Closes-bug: #1624845
2016-09-25 22:15:04 +00:00
Jeffrey Zhang
7555054e72 Fix the failure of ceilometer-api container
* ceilometer-api script is removed and run ceilometer-api by using apache
* fix connection url in ceilometer.conf

Closes-Bug: #1624905
Change-Id: Iffb00ca418bab6521d61b16de4f5760aa1ae1ac7
2016-09-25 14:01:43 +00:00
Jeffrey Zhang
e757eff899 Install the required packages for ceph-base image
Ceph need use mkfs.ext4, mkfs.btrfs and mkfs.xfs command.

Closes-Bug: #1626601
Change-Id: Ifbf8805afd7388335bbb51075ff76182f3d201b3
2016-09-22 14:58:54 +00:00
Jenkins
b5630840dd Merge "Fix permission for /var/log/kolla folder" 2016-09-22 09:33:06 +00:00
Jenkins
9d7ba661f3 Merge "Create the heat_stack_user/owner role in the heat role" 2016-09-22 09:28:50 +00:00
Jenkins
ce3abeb0eb Merge "Allow use of database for Horizon sessions" 2016-09-22 04:00:28 +00:00
Jeffrey Zhang
73a39db326 Fix permission for /var/log/kolla folder
Docker will change the name volume folder permission to image already
set. /var/log/kolla is not created and well configured in image.

This patch set creates and configures proper permission /var/log/kolla
in base image.
This patch set also fixed the ceph image by adding ceph user to kolla
group.

TrivialFix

Change-Id: Ib5ef0187e90de2699b3cda31e819b4babb07e0af
2016-09-22 01:33:47 +00:00
Jenkins
ccb3ced1fb Merge "Fix base CentOS repository keys" 2016-09-21 16:44:35 +00:00
caoyuan
a071bce07b Add "---" into some files of yaml
TrivialFix

Change-Id: Id2cd736f136068514f26977b434b15a8b1ffc8be
2016-09-21 11:52:20 +00:00