9346 Commits

Author SHA1 Message Date
Zuul
4d8178f676 Merge "Allow object versioning for ceph-rgw" 2018-08-02 11:22:22 +00:00
Michal Nasiadka
6fad16ebb0 Stop reporting changed in prechecks
Change-Id: I12f7244aa91ccd7e287320e7edb09e0d04c01017
2018-08-02 12:34:50 +02:00
Xinliang Liu
815c6b7589 Enable rgw_swift_enforce_content_length
Currently test_list_containers tempest tests[1] would be failed.
It is becuase accept-ranges header does not exist. See ceph bug[2].

Rgw_swift_enforce_content_length assures Content-Length and
Accept-Ranges in dynamically generated account & container listings.

[1] tempest.api.object_storage.test_account_services.AccountTest.test_list_containers
[2] http://tracker.ceph.com/issues/21554
Related-Bug: #1783456

Change-Id: I9b5fcc361f0bc0e521302d2df1974aabf6f4a7e7
2018-08-02 16:56:30 +08:00
wu.chunyang
0011124f66 fix aodh warning
the memcache_servers has Deprecated ,and auth_uri is marked
deprecated . and these will cause aodh containers warning
refer to [0]
[0]https://docs.openstack.org/aodh/latest/configuration/aodh-config-file.html

Change-Id: I0c1eed6707fd85ace6b2bdddec600e5adee3a4de
2018-08-02 06:34:48 +00:00
Eduardo Gonzalez
6e17f942b5 Improve ODL configuration
Configure automatically ODL version based on the package version
rather than maintain a hardcoded version.

This has caused many issue while package version differs with the variable
set.

Closes-Bug: 1784784
Change-Id: I15da5d2583b5727942d598d183cc481f0e33d0e6
2018-08-01 16:07:31 +00:00
jacky06
96d2c8becf Bump ansible_version_min to 2.4
Change-Id: I6875cde5c3cc7775c39011816c513e73df3396db
2018-08-01 10:51:13 -04:00
Zuul
94d04c6a68 Merge "Allow configuring a gateway for the inspection network" 2018-08-01 13:53:29 +00:00
Zuul
3a3418129e Merge "Update Ubuntu dependencies of VagrantUp in docs" 2018-08-01 13:41:49 +00:00
Eduardo Gonzalez
8998877021 Fix ceph gates
Cinder removed some parameters from the API.
Openstack client is not updated yet and failing.

Revert this change once is fixed.

Change-Id: Ie8feb03e9a07a6486a8b375d3304c9e6f1f8b890
2018-08-01 12:20:27 +02:00
Zuul
7008eb39ba Merge "Bump ansible_version_min to 2.4" 2018-08-01 09:33:37 +00:00
Hongbin Lu
34b6a9c786 zun: set docker api version to 1.24
Kolla is using Docker API version 1.24 but the default is 1.26
in Zun. We need to configure it to 1.24 so that Zun and Kolla
can work together.

Partial-Bug: #1782055
Change-Id: I072dccc06fe35dccf25068ef0ca8f39cad9fdc60
2018-08-01 02:57:03 +00:00
Zuul
0b4a3ffd3e Merge "Fix depends on kolla changes" 2018-07-31 10:07:44 +00:00
Eduardo Gonzalez
cc5cdba7c8 Fix depends on kolla changes
Depends on needs chrony image to succeed deploy

Change-Id: Id4bcbffad2392d8b2dabd8359330139448c6f7b7
2018-07-31 10:12:48 +02:00
Eduardo Gonzalez
ffe388ba06 Fix ceilometer bootstrap
Ceilometer image filter was incorrectly used. Thr filter
should be in the volume list instead.

Change-Id: I3ad8a1d85607004b28f9a25b9a4e9f8b914ae9df
Closes-Bug: #1784496
2018-07-31 09:55:28 +02:00
Eduardo Gonzalez
5d25f77fcc Fix magnum api dimensions
Change-Id: Ibb7d6981d9d7fed2293af6533e54fb9c768cace6
Closes-Bug: #1784497
2018-07-31 08:27:40 +02:00
Zuul
c7cbb4f488 Merge "Update the help text of init-runonce" 2018-07-31 05:38:45 +00:00
Zuul
23c31eb312 Merge "Enable chrony container by default" 2018-07-31 03:21:52 +00:00
Xinliang Liu
d37d050e60 Allow object versioning for ceph-rgw
Object versioning test[1] is required for RefStack test suite.
Swift has enabled it by default[2].
It is also needed for ceph-rgw.

[1]
tempest.api.object_storage.test_object_version.ContainerTest.test_versioned_container
[2] https://review.openstack.org/#/c/517281/

Related-Bug: #1729583
Change-Id: If89636f77d87bab75e8e7bcf16cc784e83184bc6
2018-07-30 16:45:40 +08:00
Zuul
b5d0f110ca Merge "Add enable_monasca in global vars" 2018-07-30 08:07:19 +00:00
Zuul
72dd045ff4 Merge "Use fernet for barbican crypto key" 2018-07-30 04:16:04 +00:00
pengdake
29142524f7 Add enable_monasca in global vars
Change-Id: Ie900bd8422e949824d7c5facf7d2330f0cbac0fa
Signed-off-by: pengdake <19921207pq@gmail.com>
2018-07-30 09:52:43 +08:00
Ha Manh Dong
5bc3e19288 Remove when condition in roles/swift/tasks/deploy.yml
Because all task in deploy.yml need run in all swift host,
so we don't need the when condition.

Change-Id: Ibd61ce2615985cbad70c13a37c863fc6e5e858e4
2018-07-30 08:51:18 +07:00
caoyuan
0dd487fdb1 Bump ansible_version_min to 2.4
the include_tasks is the new feature in version 2.4[0], and
kolla use it[1], the ansible_version_min should be updated
to version 2.4

[0]: https://docs.ansible.com/ansible/2.4/include_tasks_module.html
[1]: https://review.openstack.org/#/c/584728/

Change-Id: I273ac9e8295bfe3fb97af620c1e48e9fbbf06c6e
2018-07-30 08:38:39 +08:00
wu.chunyang
da9ff22461 Use include_tasks instead of include
last patch have replaced include by include_tasks, but here have a
 omission

Change-Id: Ibfe2918eb5504bb5355489ab093200feb1d221d7
2018-07-27 22:58:21 +08:00
Mark Goddard
b9208cd178 Fix etcd when Kuryr is disabled
This is because the environment variable ETCD_INITIAL_CLUSTER contains
compute nodes, which are not running etcd.

Compute nodes are in the etcd group to allow for kuryr, which needs etcd
to be running on compute nodes (why???). When kuryr is disabled, etcd is
not deployed on these hosts (using host_in_groups). However, the
ETCD_INITIAL_CLUSTER environment variable always includes all hosts in
the etcd group.

This change sets ETCD_INITIAL_CLUSTER correctly in both cases.

Change-Id: I11f812d3fdacf0eeb8236f9a39d673aaa480dd26
Closes-Bug: #1783963
2018-07-27 09:28:42 +01:00
Zuul
3e45b2cbec Merge "Use include_tasks instead of include" 2018-07-27 08:16:08 +00:00
Zuul
2744a79844 Merge "Bifrost: set TFTP cache master path properly" 2018-07-27 07:32:57 +00:00
Zuul
ffb8e2835d Merge "Fix monasca auth variable" 2018-07-27 07:03:32 +00:00
Zuul
bb1ddd4b2c Merge "Minor corrections in cinder-guide documentation." 2018-07-27 07:01:13 +00:00
chenxing
380647ffb5 Update the help text of init-runonce
openrc should be admin-openrc.sh

Change-Id: I9b3d874fe39488206ce880247b51d0a26826eeb6
2018-07-27 09:39:17 +08:00
Eduardo Gonzalez
b80a63f33f Use fernet for barbican crypto key
Sha password is not always valid for barbican cripto key.
Use a fernet key so it always gets valid.

Not need release note for upgrade, users with a working
barbican not regenerate passwords, only new passwords will
get new type.

Change-Id: Ic8c4ca63219295d697062cff9cbf30fadbe49bf3
2018-07-26 22:01:30 +02:00
Trinh Nguyen
ce2a50843d Update Ubuntu dependencies of VagrantUp in docs
In Ubuntu 16.04, Vagrant up process requires qemu-utils and qemu-kvm

Change-Id: Idb89f3ace6ada1df2db32579b3f1da289547efa8
2018-07-26 23:27:20 +09:00
Zuul
cd03876e7d Merge "Apply Resource-Constraints to all services." 7.0.0.0b3 2018-07-26 14:18:39 +00:00
Zuul
82437285a1 Merge "Apply Resource Constraints to Services." 2018-07-26 14:18:35 +00:00
Zuul
d1e427b7c1 Merge "Apply Resource Constraints to Openstack Services" 2018-07-26 14:18:34 +00:00
Zuul
b398cb2f66 Merge "Fix ceph role with ansible < 2.4" 2018-07-26 14:15:00 +00:00
Mohammed Salih Puthenpurayil
de94eff534 Minor corrections in cinder-guide documentation.
Some trivial corrections to the cinder-guide documentation.

TrivialFix

Change-Id: Ia8da35005f70d68366f2cb37297a278f4b0f93a4
2018-07-26 14:55:31 +02:00
Lakshmi Prasanna Goutham Pratapa
14bf524756 Apply Resource Constraints to Services.
This commit is to apply resource-constraints to a few more OpenStack services.
Commit to  apply constraints to the last set of services will be made in
the upcoming commit.

Depends-on: Icafa54baca24d2de64238222a5677b9d8b90e2aa
Change-Id: I39004f54281f97d53dfa4b1dbcf248650ad6f186
2018-07-26 11:35:28 +00:00
Doug Szumski
0415943a37 Fix monasca auth variable
Perform the refactoring of the auth field from change #552863

TrivialFix
Partially-Implements: blueprint monasca-roles

Change-Id: I0a87cc3cb40df5e1c927bcd8ff4bd33e44fe4172
2018-07-26 09:20:26 +00:00
Zuul
c724865674 Merge "Fix action -> kolla_action for ironic-neutron-agent" 2018-07-26 09:15:10 +00:00
Mark Goddard
d95c87cf01 Fix action -> kolla_action for ironic-neutron-agent
Ironic Neutron Agent was added by
I92b9505843f12692aef96764a314e5db49001a9b.

Change-Id: Ib178bafc9907537fdd46dd374684b037db7f19df
TrivialFix
2018-07-26 07:44:10 +01:00
Mark Goddard
07b64dedc1 Fix ceph role with ansible < 2.4
The include_tasks action was added in ansible 2.4.

Change-Id: Ieac4a39a95c6aa55754c9dde5e94fb293c103caa
Related-Bug: #1783456
2018-07-25 20:57:23 +01:00
Zuul
6c75aedac3 Merge "Fix sudoers in bootstrap-servers when user != group" 2018-07-25 19:46:56 +00:00
Mark Goddard
69c1bf2d82 Allow configuring a gateway for the inspection network
This is configured via the ironic_dnsmasq_default_gateway variable, and
is not set by default.

Change-Id: I4deea65876d0852ba2b48a8cf9bad94f4df2a18d
2018-07-25 18:15:08 +00:00
Zuul
294237dfae Merge "Make sudoers config optional in bootstrap-servers" 2018-07-25 17:25:25 +00:00
Lakshmi Prasanna Goutham Pratapa
76210a2d85 Apply Resource Constraints to Openstack Services
This commit is to apply resource-constraints only to few OpenStack services.
Commit to apply constraints to other services will be made in coming commits.

Partially-Implements: blueprint resource-constraints

Change-Id: Icafa54baca24d2de64238222a5677b9d8b90e2aa
2018-07-25 17:05:04 +01:00
Jeffrey Zhang
b51eeed89e Use include_tasks instead of include
include is marked as deprecated since ansible 2.4[0]

[0] https://docs.ansible.com/ansible/2.4/include_module.html#deprecated

Co-Authored-By: confi-surya <singh.surya64mnnit@gmail.com>
Change-Id: Ic9d71e1865d1c728890625aeddf424a5734c0a8a
2018-07-25 23:57:22 +08:00
Zuul
3e5d3f94e9 Merge "Improve ceph-rgw compatibility with Swift API in Kolla-ansible" 2018-07-25 15:46:02 +00:00
Vladislav Belogrudov
acaebf83ce Save targetcli configuration to a volume for container upgrades
When using lioadm / targetcli to serve LVM volumes to instances
the former saves target configuration under /etc/target.
If cinder_volume container is upgraded / replaced then all targets
are gone and instances cannot connect to their volumes any longer.

This fix introduces target_config volume where corresponding
information is persisted.

Change-Id: I919bbe00853266037dd5c015810cc13c25e2e033
Closes-Bug: #1783569
2018-07-25 17:50:38 +03:00
wu.chunyang
d6f8f697fe Add check to ansible argument_spec
module_name is required for kolla_toolbox,but this module does
not check this argument.

Change-Id: Iae256c0690b408a040b4e0b079525d3dab917e90
2018-07-25 14:10:21 +00:00