7225 Commits

Author SHA1 Message Date
Paul Bourke
5cb375645c Add a Kolla 'devstack' mode
Add a new variable 'kolla_devmode', which when enabled, clones and
bindmounts service source code into the containers.

This commit adds the relevant changes for Heat, more services can be
added and built upon.

Usage:
* Set 'kolla_devmode: yes'

* Code is cloned to /opt/stack/{{ project_name }} on target
  node(s)

* Users can develop in these repos, and simply restart the container to
  pick up / test changes.

Debugging can be done from the host via 'remote_pdb'[0].

[0] https://pypi.python.org/pypi/remote-pdb

Implements: blueprint mount-sources
Change-Id: Ic0431b10d723bf84eeefc72039376fe0058dd902
2017-06-08 09:55:54 +01:00
Jenkins
f8c40a4588 Merge "Fix unrecognized --limit option" 2017-06-07 13:30:57 +00:00
Jenkins
4db9160a99 Merge "Add tacker contrib demo" 2017-06-07 13:20:15 +00:00
Jenkins
4b4b10b6cf Merge "vagrant env not working due to libpng-dev and zlib-dev package deprecation" 2017-06-07 10:31:17 +00:00
Jenkins
a6cd7832be Merge "Grafana post_config checks only need to run locally" 2017-06-07 09:04:07 +00:00
Jenkins
63ec84d763 Merge "Set tempest image user var" 2017-06-07 07:57:36 +00:00
Surya Prakash Singh
6879998811 vagrant env not working due to libpng-dev and zlib-dev package deprecation
Updated the package with correct one and got the command working
for ubuntu 16.04

Closes-Bug: #1696044

Change-Id: I643d36459ed563965fe95e57a47117be926a8d49
2017-06-07 13:09:44 +05:30
zhubingbing
9eb9622749 Set tempest image user var
If we don't use cirros image, ``image_ssh_user = cirros`` is wrong,
so we should make it be variable.

Change-Id: I0a1d6999d1dbc8ce319f4bd504455dfd1fb5fceb
Closes-Bug: #1696088
2017-06-07 10:28:38 +08:00
Jenkins
0f3907d85f Merge "Fixed CentOS Vagrant and NFS setup instructions" 2017-06-06 18:26:21 +00:00
Jenkins
0a18a6966e Merge "Enable multinode gate" 2017-06-06 15:11:40 +00:00
Chandan Kumar
dfb45813f2 Fixed CentOS Vagrant and NFS setup instructions
* Removed Fedora 22 instructions, it is not used too much.
* Fixed tox -e docs issues

Change-Id: I8d30ae962180bf71eec10c4ab69f8479905ee21c
2017-06-06 17:30:50 +05:30
Jenkins
50cbfc8b5b Merge "Mixing binary and source images for M* projects" 2017-06-06 10:12:44 +00:00
Jenkins
f977ee2970 Merge "Mixing binary and source images for I* and K* projects" 2017-06-06 10:12:38 +00:00
Jenkins
5671d7093f Merge "Mixing binary and source images for T*, W*, Z* projects" 2017-06-06 10:12:30 +00:00
Jenkins
55aab60652 Merge "Add makestep in chrony.conf" 2017-06-06 10:03:21 +00:00
Jenkins
2830541dd9 Merge "Mixing binary and source images for S* projects" 2017-06-06 08:47:59 +00:00
zhubingbing
79b49e2f58 Add makestep in chrony.conf
Normally chronyd will cause the system to gradually correct any time offset, by slowing down or speeding up the clock as required.
In certain situations, the system clock might be so far adrift
that this slewing process would take a very long time to correct the system clock

Change-Id: I939b6aae1dbeb133203085ec68bdb9f7936ee9ef
Closes-Bug: #1696056
2017-06-06 16:28:28 +08:00
Jenkins
1d5a7fcb83 Merge "Add release note to deprecate some config files" 2017-06-06 08:17:46 +00:00
Jenkins
09e394e0d8 Merge "Updated from global requirements" 2017-06-06 08:14:38 +00:00
Jenkins
71116914b0 Merge "Remove archive_policy configuration in ceilometer.conf" 2017-06-06 07:46:13 +00:00
Jenkins
225e09c7f1 Merge "Mixing binary and source images for N* and O* projects" 2017-06-06 07:08:59 +00:00
Jeffrey Zhang
6ccd1337e6 Remove archive_policy configuration in ceilometer.conf
gnocchi have archive policy rule feature, which can control metric's
archive_policy. gnocchi also have a default archive policy rule which
is using low archive policy.

On the other hand, archive_policy is marked as deprecated and will be
removed in the feature in ceilometer[0].

So should better remove archive_policy ceilometer.conf.

[0] https://review.openstack.org/#/c/448586/

Change-Id: I0aa726f6420d628bda3fb4c4eba86b55fe1e2699
Closes-Bug: #1696038
2017-06-06 11:44:23 +08:00
OpenStack Proposal Bot
ff1087fac1 Updated from global requirements
Change-Id: Ife8a3f6acee02c4af965a044cba2074f36223cc3
2017-06-06 01:49:08 +00:00
Jenkins
28e4ae81cf Merge "Mixing binary and source images for Glance" 2017-06-06 01:16:49 +00:00
Michal (inc0) Jastrzebski
f5354f55b1 Enable multinode gate
This patches changes deploy_gate quite a bit so in reality all
deployments will now assume multinode (even if it's single node). After
that we will refactor it even further to enable easy addition of new
scenerios.

Change-Id: I1faada46e6a7aa026128b2f01d77eabb04759439
2017-06-05 11:35:20 -07:00
Bertrand Lallau
a3aa0e8540 Add release note to deprecate some config files
Actually Openstack services configuration can be overriden using many
files:
- /etc/kolla/config/<< service name >>/<< config file >>
- /etc/kolla/config/<< service name >>/<<host>>/<< config file >>
- /etc/kolla/config/global.conf
- /etc/kolla/config/database.conf
- /etc/kolla/config/messaging.conf

Only per-service configuration is actually documented here:
https://github.com/openstack/kolla-ansible/blob/master/doc/advanced-configuration.rst#L164

Allowing to globally modify service configuration can be perform too,
but it can be done in 3 different manners:
- /etc/kolla/config/global.conf
- /etc/kolla/config/database.conf
- /etc/kolla/config/messaging.conf

database.conf and messaging.conf seems redundant with global.conf.
In order to simplify codebase it seems logical to deprecate them.

Change-Id: Ia632c207e4b0237ea813fcf53b44504b97a204e7
2017-06-05 11:26:24 +00:00
Jenkins
cec609f225 Merge "Fix cinder-api ubuntu binary deploy" 2017-06-05 11:18:17 +00:00
Jenkins
dd11b3f5a4 Merge "Support OSprofile usage" 2017-06-05 08:54:43 +00:00
Jenkins
5da97b7c65 Merge "Update the port format for zun" 2017-06-05 06:25:24 +00:00
Jenkins
1832260d32 Merge "Mixing binary and source images for C* projects" 2017-06-05 02:10:03 +00:00
Jenkins
59da58f283 Merge "Mixing binary and source images for D*, G* and H* projects" 2017-06-05 02:09:18 +00:00
Jenkins
f4b45bef5d Merge "Mixing binary and source images for A* and B* projects" 2017-06-05 02:02:48 +00:00
Jenkins
a9a4f7dc3d Merge "Rewrite haproxy precheck conditions to not use string interpolation" 2017-06-05 00:59:52 +00:00
Dai Dang Van
e8b58956f7 Mixing binary and source images for N* and O* projects
In case Kolla's users want to deploy with both of
binary and source image, we should have a variable
install type that define install type for each project.

We also add specific image tag for each Openstack project.

This commit is implemented for Neutron, Nova,
Octavia project and Openvswitch as well.

Change-Id: I04d3a17231b607795bbddb85cd940fa725ff7a61
Implements: blueprint mixing-binary-and-source-image
2017-06-04 22:47:09 +07:00
Jenkins
b32e6843ee Merge "Stop using old gnocchi reference" 2017-06-04 15:12:02 +00:00
Jenkins
3a68aee3ad Merge "Use auth vars for admin user" 2017-06-04 15:05:29 +00:00
Jenkins
db4226aab8 Merge "Add external_vip_interface precheck" 2017-06-04 15:05:23 +00:00
Jenkins
2065e4d059 Merge "Fix heat ec2 keystone auth" 2017-06-04 15:03:12 +00:00
Jenkins
77041db66e Merge "[Trivial] Fix two typos in kolla-ansible." 2017-06-04 14:55:34 +00:00
Jenkins
24abe0d7b8 Merge "Optimize the reconfiguration for 'common' container" 2017-06-04 13:51:07 +00:00
Jenkins
809fec2fe4 Merge "Enable port_security in gate to fix the neutron broken" 2017-06-04 02:59:28 +00:00
Jenkins
5e4896b9e4 Merge "Cloudkitty: remove oslo_messaging_notifications config" 2017-06-04 01:55:59 +00:00
Jeffrey Zhang
94a882babe Enable port_security in gate to fix the neutron broken
Revert this when neutron bug[0] is fixed.

[0] https://bugs.launchpad.net/neutron/+bug/1694420

Change-Id: Id9f84608826351b9675cd6a6f2a183e91ce33bf6
Partial-Bug: #1694420
2017-06-04 09:01:49 +08:00
Jenkins
31cc7926e7 Merge "Update docker_py_version_min version" 2017-06-04 00:45:47 +00:00
Dai Dang Van
c039b3c385 Mixing binary and source images for T*, W*, Z* projects
In case Kolla's users want to deploy with both of
binary and source image, we should have a variable
install type that define install type for each project.

We also add specific image tag for each Openstack project.

This commit is implemented for Trove, Watcher, Zun projects.

Change-Id: I3fbf1e13064616a72cae195653f1c5fe4ea1d1b7
Implements: blueprint mixing-binary-and-source-image
2017-06-03 16:25:47 +07:00
Dai Dang Van
74242ee904 Mixing binary and source images for S* projects
In case Kolla's users want to deploy with both of
binary and source image, we should have a variable
install type that define install type for each project.

We also add specific image tag for each Openstack project.

This commit is implemented for Sahara, Searchlight,
Senlin, Solum and Swift projects.

Change-Id: I964796b2f9e3eae69d7eccf68e9428ce9390010c
Implements: blueprint mixing-binary-and-source-image
2017-06-03 16:17:18 +07:00
Dai Dang Van
cda878d2fb Mixing binary and source images for M* projects
In case Kolla's users want to deploy with both of
binary and source image, we should have a variable
install type that define install type for each project.

We also add specific image tag for each Openstack project.

This commit is implemented for Magnum, Manila,
Mistral and Murano projects.

Change-Id: I6aaeb74f791c79229430a52b066327de7219a9b1
Implements: blueprint mixing-binary-and-source-image
2017-06-03 15:12:49 +07:00
Dai Dang Van
bf0bf04392 Mixing binary and source images for I* and K* projects
In case Kolla's users want to deploy with both of
binary and source image, we should have a variable
install type that define install type for each project.

We also add specific image tag for each Openstack project.

This commit is implemented for Ironic, Kabor,
Keystone project and iscsi as well.

Change-Id: I134d840b1c0e24171a32dec0c7daa6dc2e9ecd87
Implements: blueprint mixing-binary-and-source-image
2017-06-03 15:03:30 +07:00
Bertrand Lallau
82604148c9 Cloudkitty: remove oslo_messaging_notifications config
Cloudkitty doesn't use notification, cause there is no references to
notification system in Cloudkitty code base.

Change-Id: I17d276452d3861360feb6030f8622542cc455128
2017-06-02 21:54:58 +00:00
Bertrand Lallau
bb1b0857b3 Grafana post_config checks only need to run locally
Recently added post_config for Grafana does some uri queries,
these can be problematic if run across every node.

Change-Id: I580212474879da18780fc5f66a21952a9e6f8daa
2017-06-02 21:30:51 +00:00