1555 Commits

Author SHA1 Message Date
liyingjun
d1b95be49a Use rootwrap in sahara config
In cases where a proxy command is being used to access cluster
instances, rootwrap is needed for sahara user in docker container.

http://docs.openstack.org/developer/sahara/userdoc/advanced.configuration.guide.html#non-root-users

TrivialFix

Change-Id: Ic2b7deb6bd0e5f740944c32d89390fb56b88f4fa
2016-10-10 10:53:26 +08:00
Jenkins
b13b0aad05 Merge "Choose node with largest seqno number for mariadb recovery" 2016-10-09 16:48:49 +00:00
Jeffrey Zhang
1bcb139392 Choose node with largest seqno number for mariadb recovery
When all mariadb nodes are stopped gracefully, mariadb galera will
write it's last executed position into the grastate.dat file. Need find
the node with largest seqno number in that file and recovery from that
node.

Closes-Bug: #1627717
Change-Id: I6e97c190eec99c966bffde0698f783e519ba14bd
2016-10-09 12:08:58 +00:00
Jenkins
c468f5fd09 Merge "change perm and user wsgi file permission" 2016-10-09 08:49:17 +00:00
Jeffrey Zhang
18fa72c901 integrate gnocchi with ceilometer
Closes-Bug: #1626364
Change-Id: I9d586b950b7099a9b160f7b32c9ff00b189a0287
2016-10-09 03:04:07 +00:00
Ryan Hallisey
7fa1a08fd2 Remove unneeded Heka bootstrapping code
The Heka bookstrap doesn't do anything different then
the start code.  Remove the boostrap step since it isn't
needed.

Change-Id: Id9906c6e2cef83fd6d1fcbcbef7a32d9948d07a3
Closes-bug: #1631651
2016-10-08 18:39:29 -04:00
Jenkins
16294f0d00 Merge "fix can't collect horizon log in heka" 2016-10-08 15:16:30 +00:00
Jenkins
9a35c0e679 Merge "add sahara log in heka" 2016-10-08 07:42:53 +00:00
Jenkins
78b3446f48 Merge "Fix genconfig and reconfigure for magnum" 2016-10-07 13:51:04 +00:00
zhubingbing
b46d625b52 add sahara log in heka
Closes-Bug: #1631286

Change-Id: I874913a08e932766d9517bf4740de94146d7b5fb
2016-10-07 13:18:03 +00:00
Jenkins
77a31346d0 Merge "Integrate gnocchi with ceph" 2016-10-07 09:06:44 +00:00
zhubingbing
e4e842be40 fix can't collect horizon log in heka
Change-Id: Idecb70e90ae560d1c41756e3617225556087dd19
Closes-Bug: #1631048
2016-10-07 02:57:15 +00:00
Martin Matyáš
4fa2508e4f Fix genconfig and reconfigure for magnum
Genconfig and reconfigure failing for magnum.
Chainging magnum trust configuretion parameters
to user/domain names instead of ids so they don't
depend on register.yml task anymore.

Change-Id: I55fddf48eafc44892fd0ab96835bfb0b51849d37
Closes-bug: #1630248
2016-10-06 19:39:48 -07:00
Jenkins
b58147bcc0 Merge "Heka template missing optional params" 2016-10-05 16:18:39 +00:00
Paul Bourke
dcd8dda99f Heka template missing optional params
If enable_rabbitmq or enable_keystone are false, the configs will not be
copied to target nodes for these. This resulted in Heka failing to
start.

Change-Id: I93d15534802b671f1f42e8b2dfb523a17526ffb7
Closes-Bug: #1630613
2016-10-05 15:30:38 +01:00
Jenkins
5b7ee00c16 Merge "fixed kestone fernet prechecks for multinode deployments" 2016-10-05 12:09:50 +00:00
Jenkins
c191a7de83 Merge "Fix horizon to use cache" 2016-10-05 12:05:40 +00:00
Paul Bourke
792f16cc9f Fix horizon to use cache
Horizon was missing SESSION_ENGINE from it's conf which means it was not
making use of memcached.

Change-Id: I450aee05f59e344902f1e92d913f4c1ce9e8dcc6
Closes-Bug: 1630509
2016-10-05 12:12:35 +01:00
Jenkins
c9cbadcf40 Merge "Fix sahara endpoint url" 2016-10-04 21:44:04 +00:00
Paul Bourke
cc0709792b Fix l3_agent.ini rendering error when DVR
The if/else blocks in this file cause a rendering error on control nodes
when enable_neutron_dvr: yes

ParsingError: File contains parsing errors: <???>
        [line  3]: u'    external_network_bridge =\n'

Change-Id: Ia461dcbbec531c4c6295b3c7e10da12c57b7d58b
Closes-Bug: 1626995
2016-10-04 16:22:31 +01:00
Jenkins
3eac91d526 Merge "Change mysql-check in HAProxy to post MySQL 4.1" 2016-10-04 07:01:41 +00:00
Jenkins
cac300e0c8 Merge "Iscsid container fails to start on storage node when cinder is enabled" 2016-10-03 17:35:28 +00:00
Jenkins
3e405312c3 Merge "Handle z stream change for rabbitmq-server" 2016-10-03 16:46:35 +00:00
Eduardo Gonzalez
7370e01b4a Fix sahara endpoint url
Sahara endpoint need api version and tenant_id
in the URL, otherwise will fail with an incorrect
path/resource could not be found.

Change-Id: I348919b8ff1d00a1f6ce782f07ce2354201bac8b
Closes-Bug: #1629895
2016-10-03 18:34:37 +02:00
Nikita Gerasimov
cfff7b09a8 Change mysql-check in HAProxy to post MySQL 4.1
By default HAProxy send pre-4.1 authentication packets which are cause
warnings on server side. To use modern MySQl authentication mysql-check
configuration have to include post-41 option.

Change-Id: I88609d3a0cc3ce4a10e64ba65230ba4d97f34419
Closes-Bug: 1629911
2016-10-03 19:07:50 +03:00
Jenkins
f9f619d208 Merge "Fix ironic failed" 2016-10-03 15:58:09 +00: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
Mark Duggan
74c85cfe82 Iscsid container fails to start on storage node when cinder is enabled
When the iscsid containers is included in the kolla deployment it starts
successfully on a compute node but fails to start on a storage node, if
cinder is enabled because the config file is not copied to the container
BTW, if cinder is not enabled the iscsid container starts successfully
on both the compute and storage nodes.

Change-Id: I665535d858affebc9623b29f79c89c18f7cc399f
Closes-Bug: #1629381
2016-10-03 14:57:17 +00:00
Jenkins
b482611a2d Merge "Remove redundant common play and add haproxy hosts" 2016-10-03 13:34:42 +00:00
Jenkins
74c508faa5 Merge "Add CADF event configurations in Keystone when enabled" 2016-10-03 10:49:32 +00:00
bjolo
ffa6c118e4 fixed kestone fernet prechecks for multinode deployments
command fails since it is a compound command. Changed to a single awk
command instead.

Closes-Bug: #1629206

Change-Id: Id7963b15c3321eca6f891a625b1ba140dc57aa22
2016-10-03 10:14:04 +00:00
Jenkins
bbf9b90b06 Merge "Download the rabbitmq_clusterer plugins to the correct path" 2016-10-03 09:05:25 +00: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
Narasimha SV
bfd032add4 Add CADF event configurations in Keystone when enabled
By default CADF events added even if they are disbaled in all.yml.
Boolean check is missing is added so that CADF configurations will
be added only if it is enabled.

Change-Id: I757ae176228cc4e74d06ce85b27200bdcdd5dd5c
Closes-Bug: #1607904
2016-10-01 16:33:23 +00:00
Jenkins
99e65fda54 Merge "Add bootstrap_service.yml to upgrade.yml" 2016-10-01 15:34:21 +00:00
Andrew Widdersheim
4963898b21 Remove redundant common play and add haproxy hosts
In cf0c25c37 [0] a play was added to run the common role against all
hosts. This ends up being redundant since every role includes the common
role as a dependancy. The reasoning behind this change as pointed out by
the author in the review comments [1] was so that an operator could run
with '--tags common' and just have the common role applied.

To avoid redundancy, the common play has been removed and tags have been
added to the common role. This allows for just the common role to run
when another role is including it while reducing redundancy.

A side affect of removing the common playbook which runs against all
hosts is that not all facts on all hosts are gathered at the beginning
of the site.yml. This breaks the haproxy role since it relies heavily on
facts to build out the haproxy.cfg file.

Previously, the haproxy role would include several hosts purely for fact
gathering purposes as pointed out in c68c9d95 [2] and a guard was put in
place so that the tasks would only run against the 'haproxy' group. In
423e3f3f [3] these hosts were removed. After reading the review [4],
this seems to have been done without fully understanding why the hosts
were there in the first place.

This change did not break anything however since the common role that
ran on all hosts mentioned previously would gather all of the facts
necessary.

To fix this fact gathering issue replace the common role play with a
play that will simply gather facts with an 'always' tag to ensure it is
run regardless of what might be passed in the '--tags' argument by the
operator.

Kudos to Paul Bourke for helping identify many of these issues.

[0] cf0c25c37d
[1] https://review.openstack.org/#/c/369212/
[2] c68c9d95fc
[3] 423e3f3fdf
[4] https://review.openstack.org/#/c/355861

TrivialFix
Closes-Bug: #1628472

Change-Id: Ia94146579e743935501f1ff4b4c1bf6cb7c43aa3
2016-09-30 11:56:42 -04:00
Jenkins
789f50b2f3 Merge "Fix mistral service" 2016-09-30 12:29:41 +00:00
Jenkins
60e13ec142 Merge "iscsi role misses 'storage' group" 2016-09-29 15:39:48 +00:00
Jenkins
4ca9b5111f Merge "Fix wrong heat trustee configuration" 2016-09-29 15:39:05 +00:00
Jenkins
5fbdee9bbf Merge "Fix error in Gnocchi service" 2016-09-29 13:14:51 +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
Vladislav Belogrudov
d5ae21a70b iscsi role misses 'storage' group
Cinder-backup containers require iscsid to mount iscsi volumes
to backup if the volumes are on different storage host. This
fix adds missing 'storage' group to iscsi playbook.

Change-Id: Iba3fb861b3f14c20b8a020075f2473ba7a0dd9a2
Closes-Bug: 1611330
2016-09-29 14:27:16 +03:00
Jenkins
cdc738ee34 Merge "Mount host localtime for ceilometer" 2016-09-29 10:13:41 +00:00
zhangyanxian
54f255fe9c Fix typo in start.yml
TrivialFix

Change-Id: I23d74821c7f65cdf20c214f7622f4df0d3c0e172
2016-09-29 09:03:03 +00:00
Jeffrey Zhang
ca26f55d5c Mount host localtime for ceilometer
Change-Id: Ia4a9e132683a8328cb2ff6d7e28e3560f2a8614e
Closes-Bug: #1628584
2016-09-28 23:49:34 +08: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
Jenkins
8bde923bba Merge "Add newline in grafana template" 2016-09-28 10:51:28 +00:00