2818 Commits

Author SHA1 Message Date
Jeffrey Zhang
e9929dae60 Revert "nova-libvirt: fix kvm permission issue"
This reverts commit 43650d5837372449294a7a22e9c9167a92744e96.

This fix do not work with CentOS x86_64. Since I haven't arm64 env, and
we have fix this soon before pike is release. Just revert this and fix
in the future.

Change-Id: Id9eb531de7d05051f38e3ed13b64ae7abf552767
Partial-Bug: #1715356
2017-09-06 18:05:31 +08:00
Jenkins
04aa1add96 Merge "Add WSGI support for cloudkitty-api" 2017-09-01 09:27:47 +00:00
Jenkins
0218697d00 Merge "Vitrage: add missing machine-learning Docker image" 2017-08-31 14:41:32 +00:00
Jenkins
937796805b Merge "Fix the order of the RHEL 7 server optional repository" 2017-08-31 14:31:36 +00:00
Jenkins
66014b5075 Merge "openstack-base: link everything with OpenSSL 1.0.x instead of 1.1" 2017-08-31 13:56:29 +00:00
Jenkins
13bccdc612 Merge "cinder-volume: handle rtslib(-fb) situation in Debian" 2017-08-31 13:34:35 +00:00
Bertrand Lallau
4cc75eb690 Vitrage: add missing machine-learning Docker image
A new service was added to Vitrage, the machine learning service.
https://github.com/openstack/vitrage/blob/master/releasenotes/notes/machine_learning_service-da9700e6c6fa61b6.yaml#L2

Change-Id: I78dcb2b57d61483b8996a13b8964b79d7b799cae
Closes-Bug: #1714234
2017-08-31 12:24:24 +00:00
Jenkins
a04bd8d29e Merge "Ensure interface exists before adding OVS port" 2017-08-31 12:11:12 +00:00
Marcin Juszkiewicz
f436e7bb45 openstack-base: link everything with OpenSSL 1.0.x instead of 1.1
OpenSSL 1.1 is not fully source compatible with 1.0.x so
python-qpid-proton fails to build for Debian (which uses OpenSSL 1.1 as
default).

Installing development package for 1.0.2 gets it back to buildable
state.

Python-qpid-proton is fixed upstream but no release was made yet.

Closes-Bug: #1714218

Change-Id: I731fe92410f340105e1a53372d33fdbb4798eaa3
2017-08-31 12:35:14 +02:00
Marcin Juszkiewicz
095a57beda cinder-volume: handle rtslib(-fb) situation in Debian
Closes-Bug: #1714217

Change-Id: I17b387a64132dc2cf17ead292b2472427f04e263
2017-08-31 11:31:08 +01:00
ZhongShengping
14df9701b5 Add WSGI support for cloudkitty-api
They dropped the cloudkitty-api command line[0], so we should add wsgi
support for cloudkitty-api.

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

Change-Id: Ie6a08831f8c0bcf3051f01fccc9e3662f36b03ca
Closes-Bug: #1713879
2017-08-31 08:50:39 +08:00
heetae82.ahn
15c2b0fa67 Fix the order of the RHEL 7 server optional repository
In order to install yum-plugin-priorities, it needs the repository
rhel-7-server-optional-rpms. So this patch fixes the order.

Change-Id: Ie3330ac964740fae35bf86ffc86ef0ee20b559e1
Signed-off-by: Taeha Kim <kthguru@gmail.com>
Signed-off-by: heetae82.ahn <heetae82.ahn@samsung.com>
2017-08-30 18:51:21 +09:00
Jenkins
bbeda30a9d Merge "Change networking-hyperv version for Pike" 2017-08-29 19:21:06 +00:00
Jenkins
44f5923199 Merge "base: add Debian 'stretch' repo for opendaylight" 2017-08-29 10:04:41 +00:00
Jenkins
7573ebb192 Merge "Fluentd: add fluent-plugin-concat:1.0.0 gem" 2017-08-29 08:57:29 +00:00
Jenkins
f8e6f44cb4 Merge "Changed as per the standard convention set to use "."" 2017-08-29 08:56:38 +00:00
Jenkins
cf9a6c95bc Merge "kolla-toolbox: fix version dependency of pbr & os-client-config" 2017-08-29 05:15:06 +00:00
Jenkins
06deb74d58 Merge "nova-compute: add package qemu-efi to support uefi image" 2017-08-29 05:00:17 +00:00
Jenkins
fbd1be7950 Merge "nova-libvirt: fix kvm permission issue" 2017-08-29 05:00:11 +00:00
Jenkins
0ec51ee4ab Merge "nova-libvirt: add package qemu-efi to support uefi image" 2017-08-29 04:59:48 +00:00
Jenkins
06d5ce221f Merge "nova-libvirt: fix no /usr/sbin/libvirtd issue" 2017-08-29 04:56:46 +00:00
Dan Ardelean
6dc8e97846 Change networking-hyperv version for Pike
Change-Id: I56b9ef9ceb449d3fe6f2aa4cf856d6d1d7af7ee9
2017-08-28 12:56:25 +03:00
Surya Prakash Singh
6566ace236 Changed as per the standard convention set to use "."
When we have to source a script file use . instead of source
For Reference follow below link:
https://docs.openstack.org/contributor-guide/writing-style/code-conventions

Change-Id: Icc6a692d37e8a5bc1146d803c873505cbf6cd03f
2017-08-28 09:27:45 +00:00
jiangpch
aeb6e74bc3 fix image build error of fluentd
the newest public_suffix gem required ruby>2.1.0, but the ruby on
centos' release is 2.0.0, we should install public_suffix==2.0.5
manual to avoid the ruby version not matched error.

Closes-Bug: #1713416

Change-Id: I725294da206a73b759027d3123d140bddafcfdfb
2017-08-28 03:13:45 -04:00
Jenkins
3bb081c793 Merge "Prevent check haproxy script from generating meaningless logs" 2017-08-24 16:02:56 +00:00
Marcin Juszkiewicz
9cb564c8ea base: add Debian 'stretch' repo for opendaylight
OpenDayLight project does not provide package for Debian 'stretch'
currently so I took care of it by rebuilding package from Ubuntu PPA.

Change-Id: I60daf60ef159bc0f230a2de96fca45a6cb4c37a6
Depends-on: I6b205a2bb61207d1549222ba5501536b2743df77
2017-08-23 14:52:42 +01:00
Marcin Juszkiewicz
793949e12a base: add support for fetching APT keys from files
For RPM distros we use GPG keys as URLs because rpm can handle it.

For Debian based distros we fetch GPG keys from ubuntu keyserver. But it
does not work with OBS repositories where key is provided as file in
repo.

This change adds support for fetching GPG keys for APT use.

Change-Id: I6b205a2bb61207d1549222ba5501536b2743df77
2017-08-23 14:19:34 +01:00
Jenkins
e081a94b90 Merge "Add missing pyngus and python-qpid-proton for AMQP" 2017-08-22 15:30:16 +00:00
Jenkins
759ed45d79 Merge "Add redis and tacker to mistral-base" 2017-08-22 08:56:25 +00:00
Jenkins
187b1f08f5 Merge "Implement tacker-conductor image, rework all tacker" 2017-08-22 03:56:20 +00:00
Marcin Juszkiewicz
f673da3926 base: enable 'opstools' repo on AArch64/CentOS
To build 'fluentd' image we need to have 'opstools' repo enabled.

On x86-64 it is enabled by installing proper centos-release-opstools
package but this option is not available (yet) for aarch64.

Change-Id: I4b49270a2e0781431e22dc411774e4c6440045d9
2017-08-21 12:54:20 +01:00
Jenkins
ac059f8563 Merge "Use community fluentd packages for CentOS/RHEL/Oraclelinux" 2017-08-20 21:16:43 +00:00
Jenkins
4ad7896e5c Merge "Add systool binary for cinder-volume container" 2017-08-20 15:24:33 +00:00
Eduardo Gonzalez
7b2dea5506 Implement tacker-conductor image, rework all tacker
Tacker is broken in pike without conductor images.
Conductor is needed to communicate with mistral for
VIM monitoring
This change rework tacker image to allow tacker-conductor
service image.
Split tacker global image into tacker-server and tacker-conductor.

Closes-Bug: #1710874
Change-Id: I52778e86e4f2c297ead8d4b09983e5e38ca88c70
2017-08-20 09:58:27 +00:00
Jenkins
2d983f1ac7 Merge "Fix wrong sudoers file syntax in ironic-conductor" 2017-08-20 06:48:39 +00:00
msimonin
136321e4df Add missing pyngus and python-qpid-proton for AMQP
These dependencies are required[1] for AMQP transport to work.
AMQP transport is currently available in Kolla using qdrouterd instead
of rabbitmq.

This commits make them available for source images.

[1] https://docs.openstack.org/oslo.messaging/ocata/AMQP1.0.html#platforms-and-packages

Change-Id: I124725521e0ee946bea1696ed35a7b919e4127b4
Closes-Bug: #1711331
2017-08-18 10:47:03 +02:00
guochao
5c227fd056 Fix wrong sudoers file syntax in ironic-conductor
This error make the container keep restarting.

Change-Id: I4cdd77eededb6e32282f7a2b33be7ea1181d68b6
Closes-Bug: #1711495
2017-08-18 04:01:02 +00:00
Jeffrey Zhang
5075cdb342 Add systool binary for cinder-volume container
systool is used when using FC driver backend[0].

[0]
https://github.com/openstack/os-brick/blob/master/os_brick/initiator/linuxfc.py#L94

Closes-Bug: #1711490
Change-Id: I4f2a6ff30ec31b835eacf89ea07493e60fa29b2c
2017-08-18 11:45:40 +08:00
Bertrand Lallau
83baad304d Fluentd: add fluent-plugin-concat:1.0.0 gem
Actual Fluentd config doesn't manage multiline log pattern like:

2017-08-16 21:41:03.097 7 WARNING oslo_config.cfg [req-34ea3f23-f780-4059-b911-2788ea4af7b2 - - - - -] Option "firewall_driver" from group "DEFAULT" is deprecated for removal (
nova-network is deprecated, as are any related configuration options.
). Its value may be silently ignored in the future.

This log will generate 1 Fluentd records for each line (3 records),
this is really a wrong behaviour, and made Kibana interface unusable.

This patch add fluent-plugin-concat in order to concatenate multiline
log separated in multiple events.

Change-Id: I83e583605b49b7c421109d662de1291f38bd5c07
Closes-Bug: #1711399
2017-08-17 18:21:16 +02:00
Jenkins
8110b55d60 Merge "Remove networking-sfc in n-server-opendaylight" 2017-08-16 10:38:26 +00:00
Jenkins
88300a9934 Merge "libvirt should be installed from OS rather than pip" 2017-08-16 07:43:46 +00:00
Eduardo Gonzalez
18f1f068f5 Add redis and tacker to mistral-base
Install redis for mistral coordination backend.
Install tacker for mistral tacker actions.

Change-Id: I1613939b07eb060d3ec4d8a6cd575ce43616c680
Closes-Bug: #1700591
2017-08-15 22:30:39 +02:00
Jeffrey Zhang
17c5123fda libvirt should be installed from OS rather than pip
python-libvirt need be compiled with libvirt header. compiling
it with different libvirt header may be failed.

So better install python-libvirt from OS distro.

Closes-Bug: #1707841
Change-Id: I0d7bf1576aaf24fc7c60f49923e37a6a1afe9a8e
2017-08-15 17:17:32 +08:00
Eduardo Gonzalez
25cda1f804 Remove networking-sfc in n-server-opendaylight
networking-sfc is already installed in neutron-base
images for both source and binary builds.
8cfdd01ec2/docker/neutron/neutron-base/Dockerfile.j2 (L24)

Change-Id: Ia0bde04977fa3a1ab9df9c714dd2c110c9610f9b
2017-08-15 11:04:26 +02:00
Zhangfei Gao
0f3ebcac8b kolla-toolbox: fix version dependency of pbr & os-client-config
When deploying on arm64, got error:
ContextualVersionConflict: (pbr 1.10.0 (/usr/local/lib/python2.7/dist-packages), Requirement.parse('pbr!=2.1.0,>=2.0.0'),
ContextualVersionConflict: (os-client-config 1.26.0 (/usr/local/lib/python2.7/dist-packages), Requirement.parse('os-client-config>=1.27.0'), set(['openstacksdk', 'osc-lib']))
VersionConflict: (os-client-config 1.27.0 (/usr/local/lib/python2.7/dist-packages), Requirement.parse('os-client-config>=1.28.0'))

Fix the issue via updating pbr & os-client-config version

Change-Id: If567489daecc53054535452069bce6d56c96efd1
Signed-off-by: Kevin Zhao <kevin.zhao@linaro.org>
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
2017-08-15 09:43:56 +08:00
Zhangfei Gao
1c81a87221 nova-compute: add package qemu-efi to support uefi image
On arm64, uefi image is usually used via --property hw_firmware_type=uefi
In order to support this, qemu-efi has to be installed
Ohterwise error reports:
Terminating instance: UEFINotSupported: UEFI is not supported

Signed-off-by: Kevin Zhao <kevin.zhao@linaro.org>
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>

Change-Id: I1a5099e45ad4e8dc5e21ebdf25639ef938b16822
2017-08-15 09:43:53 +08:00
Zhangfei Gao
43650d5837 nova-libvirt: fix kvm permission issue
When deploying on arm64, permission denied reported:
Terminating instance: libvirtError: internal error: process exited while connecting to monitor: Could not access KVM kernel module: Permission denied

Fix the issue via "chown root:kvm /dev/kvm"

Change-Id: Ib963741918b47d924ca0716643ac14a3fc3cfab2
Signed-off-by: Kevin Zhao <kevin.zhao@linaro.org>
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
2017-08-15 09:43:48 +08:00
Zhangfei Gao
8c1e4e9052 nova-libvirt: add package qemu-efi to support uefi image
On arm64, uefi image is usually used via --property hw_firmware_type=uefi
In order to support this, qemu-efi has to be installed
Ohterwise error reports:
Terminating instance: libvirtError: Failed to open file '/usr/share/AAVMF/AAVMF_VARS.fd': No such file or directory

Change-Id: Ibc1b39e821e84fb9739833be04bdb41db59d2ff5
Signed-off-by: Kevin Zhao <kevin.zhao@linaro.org>
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
2017-08-15 09:43:45 +08:00
Zhangfei Gao
cdf318193b nova-libvirt: fix no /usr/sbin/libvirtd issue
When testing on arm64, libvirt continue restarts and reports error:
Running command: '/usr/sbin/libvirtd --listen'
/usr/local/bin/kolla_start: line 17: /usr/sbin/libvirtd: No such file or directory

If install package libvirt-daemon, libvirt still report error:
libvirtError: unable to connect to server at '192.168.1.98:16509': Connection refused

Solve the issue via installing packate: libvirt-daemon-system

Change-Id: I7d822c3f18fd7301b79d397c632fe412f4b6f9fd
Signed-off-by: Kevin Zhao <kevin.zhao@linaro.org>
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
2017-08-15 09:43:29 +08:00
Jenkins
a0b22b4d45 Merge "Fix code indentation formate on octavia dockerfile" 2017-08-11 10:33:22 +00:00