6894 Commits

Author SHA1 Message Date
pomac
63e5c444dd Enable heat-api proxy header parsing
heat-api kept redirecting clients to use http:// instead of https://
when communicating with our https:// only loadbalancer

Please examine the logic for enabling it carefully, it's hard to know
if it should be enabled or not, potenitially it could be a security
risk.

Based on openstack-ansible-os_heat:
commit 4033a0f854cba6719c61812ef5b553e932a6c6c2
Author: Kyle L. Henderson <kyleh@us.ibm.com>

    Enable oslo_middleware proxy header parsing

"Heat has moved to using oslo_middleware for the http proxy header
parsing, however the default is to not parse the headers.  When
the external protocol differs from the internal protocol this
parsing is required in order for heat to work properly since it
will return 302 redirects to the client during some operations
(such as delete stack).

An example of this is when using haproxy with https configured
for the external protocol and http for the internal protocol.
If the oslo_middleware does not parse the headers, then any
302 redirects would specify a url with http rather than
correctly specifying https and the heat client would fail to
connect on the redirect url."

Change-Id: I38661a0bc2163a7f72febd98b7ae6f51c5d45ad5
2017-03-01 09:57:21 +01:00
caowei
7c26f0fe74 Change swift-initial-rings URL
Change-Id: I7b3705e8bba67649bfbf0950d1724d711c57e042
2017-03-01 15:43:53 +08:00
Jenkins
71aab9392c Merge "Fix Creating Ceilometer MongoDB database failed" 2017-03-01 05:20:06 +00:00
caoyuan
1d85a10b38 Update the link in README.rst
- add Zaqar link
- add Zun link
- add Kafka link
- add fluentd link
- remove Heka link

Change-Id: I6600efb3f0ae88c6f1dac92115522e6b90aa789f
2017-03-01 04:16:12 +00:00
caoyuan
93a5a5c322 Fix the ironic tasks name
- add the missing "API"

Change-Id: I06ccf48047d1b4ea493d169f78d95c09b7945a27
2017-03-01 09:38:41 +08:00
Nguyen Van Trung
93c10f4aab change amoung to among
Change-Id: I9d5e99d7412165f288fcd796ee588bfab1f76f4b
2017-03-01 00:19:31 +07:00
Jenkins
f0811d96e3 Merge "Add the missing "ironic_inspector" into precheks" 2017-02-28 16:20:51 +00:00
Jenkins
0710b698c0 Merge "Remove Heka yaml file" 2017-02-28 15:52:21 +00:00
Paul Bourke
c62aae6f80 Disable unneeded fact gathering
We explicitly gather facts for all nodes up front in the playbook, so
setup tasks for all other plays are unnecessary noise.

Change-Id: I4bc152288752da780b5cb447b4ad3f7d49390dee
2017-02-28 14:42:55 +00:00
Paul Bourke
00e8370873 Improve Swift docs
* Remove references to all-in-one, kolla Swift now works correctly in both
  all-in-one and multinode contexts

* Fixup commands used for generating rings

* General readability improvements

Change-Id: I3ec87068a98ba5397bb6f2feb707bc685181e747
2017-02-28 12:34:54 +00:00
Duong Ha-Quang
2ade45e1c7 Fix Creating Ceilometer MongoDB database failed
The check whether 'already' presents in mongodb output
should belong to changed_when.

Change-Id: Ib982a59820d53ccf5439f59df50c1b1938650967
Closes-Bug: #1641113
2017-02-28 08:54:01 +00:00
Jenkins
7bf0e3b083 Merge "Add until in restart nova libvirt task" 2017-02-28 06:26:21 +00:00
Jeffrey Zhang
37c27b01e6 Add default dnsmasq_dns_servers in dhcp_agent.ini file
Change-Id: Ia2204db6d0ed91d78fb28fcef772752440cc3e5d
Closes-Bug: #1668499
2017-02-28 13:11:22 +08: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
Christian Berendt
1b15dc24a4 Set default value for osds/osd_ids facts when facts not set
Change-Id: I8754de1ef89ac05cd8817456c4a8496ad71cf293
Closes-bug: #1668275
2017-02-27 15:16:00 +01:00
Paul Bourke
9828ad1167 Fix keystone idempotency
The wrapper keystone_bootstrap.sh expects to parse output from the
keystone-manage command. Somewhere along the line this command stopped
logging to stderr resulting in it not being able to report it's changed
status correctly.

Closes-Bug: #1668220

Change-Id: I895ebe11b88fd239fa8cb6e1a2fed779743e4139
2017-02-27 10:24:47 +00:00
caoyuan
b8dbdb2714 Remove Heka yaml file
Heka is removed and replaced by fluentd.
refer to https://review.openstack.org/#/c/437874/

Change-Id: Ide9d265e15672ceba72d7c0b1c1a273098819d94
2017-02-27 17:53:09 +08:00
caoyuan
37e173d708 Update the panko location of site.yml
The panko database type can be mongodb, so the panko container should
boot after mongodb

Change-Id: Ide3a90a4882197bf361c794dccccbc195b89e5bb
Closes-Bug: #1668206
2017-02-27 09:37:27 +00:00
caoyuan
a82aadd982 Add the missing "ironic_inspector" into precheks
- remove the unnecessary blank
- add "ironic_inspector" into its own prechecks and haproxy prechecks

Change-Id: Id542971057a9116eef679f1eb0827266eb18ba30
Closes-bug: #1668178
2017-02-27 07:57:30 +00:00
Jeffrey Zhang
242c559a04 Add until in restart nova libvirt task
retries only works with until.

Change-Id: I350ee69b0eca7a1763bb7eab34f874d7e22c1340
Closes-bug: #1668023
2017-02-26 17:36:47 +08:00
Jenkins
ef34e2a1c5 Merge "Updated from global requirements" 2017-02-26 02:01:27 +00:00
Jenkins
b11fe67571 Merge "Make service_plugins and extensions more configurable" 2017-02-26 01:40:41 +00:00
Jenkins
66e6f443d9 Merge "Fix typo in ironic task name" 2017-02-26 01:40:19 +00:00
Paul Bourke
159feffa37 Update cinder docs with some lvm info
* Instruct the user that the VG needs to be on the storage nodes
* enable_cinder_backend_lvm needs to be enabled when following this
  guide.

Change-Id: I252ec98c98493705417aaf197f703957cce8528f
2017-02-25 15:27:57 +00:00
Jenkins
9d295868a5 Merge "Checking kernel and initramfs files for Ironic" 2017-02-24 17:52:50 +00:00
Jenkins
d1e21a1f62 Merge "Add the missing prechecks for placement_api" 2017-02-24 17:26:21 +00:00
Jenkins
e5b19451ee Merge "Fix rabbitmq log ulti-line cutting problem" 2017-02-24 17:25:37 +00:00
Jenkins
c28dfacdd2 Merge "Remove rabbitmq from freezer" 2017-02-24 17:25:16 +00:00
caoyuan
82b5dc643d Add the missing prechecks for placement_api
Change-Id: Ic3cbf89b135a1902fa57a8d1df8c858cd6398097
2017-02-24 22:17:31 +08:00
zhubingbing
f2cc931fa6 Fix rabbitmq log ulti-line cutting problem
Change-Id: Id7be86955b357199fde2ab57a9b24e1f49ecebcd
Closes-Bug: #1667671
2017-02-24 12:27:47 +00:00
Eduardo Gonzalez
fc387c9d62 Fix typo in ironic task name
Change-Id: Ica18edd8024b5e33d30a5196ef6698c85f02f9c0
2017-02-24 09:29:34 +00:00
zhubingbing
c5ba70a089 Remove rabbitmq from freezer
freezer dont't user rabbitmq

https://github.com/openstack/freezer-api/blob/master/etc/freezer/freezer-api.conf.sample

Change-Id: I90a76275ab256ba8fc1c6d332e67af29fcbc22ef
2017-02-24 08:41:29 +00:00
caoyuan
8fd18abf9c Checking kernel and initramfs files for Ironic
There is not prechecks for Ironic kernel and initramfs files, this
patch add it.

Change-Id: I7e576eeff02310170d51a4585cbda6c465a29e0d
Closes-bug: #1667544
2017-02-24 10:31:35 +08:00
OpenStack Proposal Bot
1e42095189 Updated from global requirements
Change-Id: Ic0c7362dcea143e6ace440a797295bc29936cc7c
2017-02-24 00:09:02 +00:00
Jenkins
0883d34d4a Merge "magnum domain register error at setting domain id" 2017-02-23 16:20:08 +00:00
Jenkins
ddaa3f70cf Merge "Add missing dashboard policies" 2017-02-23 13:44:10 +00:00
Jenkins
4fa5a25657 Merge "Update the "source" to "."" 2017-02-23 13:43:23 +00:00
Jenkins
8fbc0df4c9 Merge "ironic-dnsmasq should use ironic-inspector group" 2017-02-23 10:59:30 +00:00
Jenkins
d734f162b0 Merge "ironic_dnsmasq doesn't support reconfiguration" 2017-02-23 09:26:16 +00:00
t.goto
d1417cd11c magnum domain register error at setting domain id
Setting up Magnum fails at creating and setting magnum's trustee
domain.
The changes this patch introduces follow.
  - add registering trustee_domain
  - remove unnecessary set_fact as this variable is used only once

Change-Id: I1c1ed8a20871fb4e9f153c6dd1431d9b6fd286a5
Closes-Bug: #1667209
2017-02-23 13:56:59 +09:00
caoyuan
167974aa0e Update the "source" to "."
When import rc file into openstack, use "." rather than "source".

Change-Id: I8d115db48bb152acc0b5e54b218684d0d4b4384e
2017-02-22 16:05:54 +00:00
Jenkins
d9740e9c40 Merge "Remove unnecessary until in register.yml file" 2017-02-22 12:28:06 +00:00
Jenkins
0e5c6b277a Merge "Start nova-conductor earlier" 2017-02-22 12:27:02 +00:00
Jenkins
401137a04a Merge "Fix the error in document" 2017-02-22 12:26:56 +00:00
Jenkins
3d356b426b Merge "Run nova-compute and nova-compute-ironic at the same time on kolla-k8s" 2017-02-22 12:14:33 +00:00
Eduardo Gonzalez
b35901c1ff Add missing dashboard policies
New dashboard plugins are included in horizon,
new custom policies support need to be added for
those services.

Change conditional check to apply changes when
horizon plugin is enabled, not the service itself.

Closes-Bug: #1664505
Change-Id: I67fcb88fd432b4c7554ddf24e76b28c3aab7c01f
2017-02-22 11:49:46 +00:00
Mark Goddard
aa8215c5ee ironic_pxe bootstrap should run on all hosts
Most bootstrap actions use the run_once flag to run on a single host
as they typically involve service-global operations such as database
syncs. The ironic_pxe container bootstrap is different, as it copies
pxelinux files into the ironic_pxe Docker volume. This should be done
on all hosts but currently is only done on one host.

This change performs the ironic_pxe bootstrap on all hosts in the
ironic-pxe group.

Change-Id: Iffd34e6ff26a0ba5140e5d477418cc8aebcdac62
Closes-Bug: #1667153
2017-02-22 11:02:18 +00:00
Mark Goddard
c37c1a5879 ironic-dnsmasq should use ironic-inspector group
The ironic_dnsmasq container is currently tied to the ironic-conductor
Ansible group. It is required only for Ironic inspector and should
really either be tied to the ironic-inspector group or have a new
ironic-dnsmasq group defined for it. This problem means that if all
hosts are removed from the ironic-inspector group I will still have an
ironic_dnsmasq container deployed.

This change uses the ironic-inspector group to determine where to place
the ironic_dnsmasq container.

Change-Id: I6af3f402795107b8b9d7a1619722f12cbf496257
Closes-Bug: #1666982
2017-02-22 10:29:30 +00:00
Mark Goddard
156b317c5f ironic_dnsmasq doesn't support reconfiguration
Currently the ironic_dnsmasq container does not support
reconfiguration. This change adds support for reconfiguration of
ironic_dnsmasq.

Change-Id: I7f121dca7d32e0b28c7531378dd0eef03ae4f1ce
Closes-Bug: #1667090
2017-02-22 10:17:35 +00:00
zhuzeyu
8da7dc30b2 Fix the error in document
Change-Id: I72e14bd2bb306498f5e010e8f9309e23243db00e
2017-02-22 17:47:35 +08:00