Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
JIAR: -
For centos deployment, it sometimes fails when
run the role: pip_install due to the network
is not so stable. So we add some retyies here
to avoid the failure.
Change-Id: I9774e5be4d42a66f8cf377ec83161b200266d3d0
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
|
|
JIRA: -
Sometimes nova cell_v2 fails to discovery the compute
hosts. So we add some retries to makr sure cell_v2
discovery success.
Change-Id: I74af78667f2718b10b8cbb1e9c7c8d8d3b4b297e
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
|
|
JIRA: -
In order to configure network for OSA deployment,
it's needed to install some packages, such as
bridge-utils, iputils, etc. So we configure
external network before using yum to install
packages.
Change-Id: I87864d6bdae79184aa82223f77b6ced1d0e9cf26
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
|
|
JIRA: COMPASS-565
After this patch merged, compass can deploy OpenStack Pike on
CentOS 7.4. Due to some upstream bugs, we add some fixes in
this patch, e.g. add libvirt to os-cinder, remove a useless
repo after installing
Change-Id: Ibc1e6f1ed103daf2d70a8ae1d7c04f77d1545c41
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
|
|
when python-ldap is newest version, there are some issues in dependence
Change-Id: I29f30900733cdd87d922b17da0f7c551b7cbdc90
Signed-off-by: wutianwei <wutianwei1@huawei.com>
|
|
JIRA: COMPASS-565
For OPNFV F release, it's going to use OpenStack Pike as the NFVI
component. This task is created to monitor the upgrade work of
OpenStack Pike. Subtasks as follow:
- Add Pike related configurations to compass_conf
- Upgrade ubuntu os to ubuntu 16.04.3
- Upgrade centos os to centos 7.4
- Upgrade openstack-ansible from ocata to pike
- Upgrade openstack repos from ocata to pike
Change-Id: I2202e8e3ae23dae8e575c89170c9e5e057757870
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
|
|
JIRA: -
Currently we only install networking-sfc for odl-sfc scenario,
however someone may use native neutron sfc functionality.So we
propose this patch to add installation of networking-sfc for non
odl scenarios.
Change-Id: I4527387626f0c14fb6af135c511d0fd783b8f624
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
|
|
|
|
When storage nodes reboot or shutdown,
the partitions of loop device will lose.
We add the command partprobe -s {{loopdevice}} to rc.local,
it will reload the partitions, when boot up the storage nodes.
Change-Id: I31dfca953aa254fa516421a494318b01cd39675c
Signed-off-by: wutianwei <wutianwei1@huawei.com>
|
|
JIRA: -
For offline deployment, some packages' versions need to be
upgraded and add the version limitation of tacker and tacker
client.
Change-Id: I8b55fe270998c716df8791f1909ea4f4ab654a6c
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
|
|
|
|
|
|
When not define ceph role in DHA, there are somes issue on config-osa.
This patch add the judgement to check the parameter define or not.
Change-Id: If221fd3d02c87fc60f545b44f94043f38e34d283
Signed-off-by: wutianwei <wutianwei1@huawei.com>
|
|
switch dpdk interface driver and bring
up corresponding ovs bridges.
Change-Id: I07bd9b332978482507711cfbd8ad29802a8b1a8c
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
|
|
OSA don't maintain the ceilometer component.
We change the OSA code to make ceilometer work.
1. create ceilometer database
2. change the ceilometer policy
3. change the ceilometer config
4. change the OS_AUTH_TYPE in openrc
Change-Id: I2d8630a0c50f5c6bd1e86171cae1fa8f9934334b
Signed-off-by: wutianwei <wutianwei1@huawei.com>
|
|
JIRA: -
Add tacker support in compass euphrates. Upsteam OSA currently doesn't
support tacker in Ocata. But OPNFV needs to use tacker in SFC scenario.
So we refactor os_tacker of Pike to satisfy OpenStack Ocata.
Change-Id: I40bb90949d8cd3b9db166527b0d85ff42ad5cdb9
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
|
|
the 0.21.0rc1 version of pandas will block the gnocchi install,
so we use 0.20.3. we replace the pandas package in repo
Change-Id: Ic8d9fa3a691b64a0783034ffbf0d958427e30d16
Signed-off-by: wutianwei <wutianwei1@huawei.com>
|
|
1. set the log level debug to true
2. add oslo_middleware enable_proxy_headers_parsing: True
in cinder.conf
Change-Id: I555345ab2e1ea2ff0b56f0b9279ed7141bde2282
Signed-off-by: wutianwei <wutianwei1@huawei.com>
|
|
Change-Id: I2d1cbc6948d2cea1ccb852ed23033d5ddc6393e4
Signed-off-by: wutianwei <wutianwei1@huawei.com>
|
|
JIRA: COMPASS-559
1. support multiple mapping in provider_net_mappings
of network.yml and create corresponding ovs bridges
2. support seperate config in sys_intf_mappings
of network.yml
3. remove linux bridges in compute nodes for ovs
port binding convenience
4. support openstack vlan tenant network
5. modify odl and odl_sfc roles to use configurable
provider mapping
6. remove some hard coding
Change-Id: Ib57484ce60d029f89c647fd5baf2c7af37c85d0b
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
|
|
JIRA: -
Add a repo docker which includes ubuntu PPA and python packages
used for offline deployment.
Change-Id: Iad9b0df7f33f5a7ab974c5deffb408fc93b3f3ad
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
|
|
1. add parameter to install keepalived when only one controller
2. change the osa code to start keepalived and haproxy
3. add the noha DHA files
4. fix the setup ovs bug
5. fix the pod1 public vip
Change-Id: I19f4e78b9ca834ae3d454e1c8058728ece055f69
Signed-off-by: wutianwei <wutianwei1@huawei.com>
|
|
1. ceph.yml define which host install ceph-mon and ceph-osd
2. user_ceph.yml define variables of ceph and cinder backend
3. user_variables_ceph.yml.j2 define variables of ceph for user
Change-Id: Iafea998f4603eb4b5c15a26f2387e6cb04c35d4c
Signed-off-by: wutianwei <wutianwei1@huawei.com>
|
|
JIRA:COMPASS-557
1. modify sys_intf_mappings and ip_settings in
network.yml to synchronize with OSA network.
networks compass build will be mgmt, external,
tenant, storage.
2. modify compass_conf to support new netwok.yml
3. fix some hard coding when transfer ip parameters
4. support heterogeneous network
Change-Id: Ib4a8af1f96a40e6456242e3dc2b456e0c8c17c2e
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
|
|
1. functest change the judgement condition, the DOMAIN_NAME need use Default instead of default
2. making the eth0 down and up to change the route in baremetal deploy
Change-Id: I7dacf59cdd0c4db396b2db8b0a5fdd7003829391
Signed-off-by: wutianwei <wutianwei1@huawei.com>
|
|
Add SFC support for Ocata and Carbon.
1. Add ovs-nsh package for sfc scenario
2. Add sfc configuration and tasks
3. Add sfc DHA files
Change-Id: Icf8f20220a2c5ac38a5b92d3ca0e24cbb0e89a52
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
|
|
when OS_USER_DOMAIN_NAME and OS_PROJECT_DOMAIN_NAME
is Default in openrc, it will cause some issue in
functest.
Change-Id: I39a7a3712ac2311076c45caed70c0c4c2036b561
Signed-off-by: wutianwei <wutianwei1@huawei.com>
|
|
JIRA: COMPASS-556
1. using dynamic ansible inventory
2. modify Class AnsibleInstaller in compass-tasks
3. modify compass conf to support this behavior
4. specify docker image in /deploy/conf/compass.conf
5. remove clusterhost status update in playbook_done.py
Change-Id: I04079547c8b251571ae4e5b165d3bf425b8913b7
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
|
|
JIRA:-
Since there may be multiple roles in one plugin, so add
a level of roles to the directory.
Move the copy operation of ODL from configure_osa to
a new setup-opendaylgiht role.
Add excute_order in the plugin description of ODL.
Change-Id: I905fb84b11df201dc1436ec888f511e251bba89c
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
Signed-off-by: chigang <chigang@huawei.com>
|
|
JIRA: COMPASS-549
1. Add rt_kvm plugin and os-nosdn-kvm-ha scenario in vm_enviroment
2. Add rt_kvm in compass4nfv playbook
3. Disable kernel update in KVM scenarios
Signed-off-by: davidjchou <david.j.chou@intel.com>
Change-Id: Ie164fe7ea28ebcb1e41299e92dc51b8ec16310eb
Signed-off-by: chigang <chigang@huawei.com>
|
|
|
|
|
|
Fetch the os_cacerts for funtest
replace the internalURL with publicURL
Change-Id: Iff4fe2c998f3b5e723e826cf27e8901208988785
Signed-off-by: wutianwei <wutianwei1@huawei.com>
|
|
|
|
We need to flush the handle to restart network,
before checking network.
improve the message when failed
Change-Id: If38198c62b4bf81d38b294264db30514998fe086
Signed-off-by: wutianwei <wutianwei1@huawei.com>
|
|
1. Remove the --share when create network
to fix the error in tempest network visibility
2. create the cinder-volums to fix issue in test volumes
Change-Id: I8bf7197ac33271eb6856e542da114249b79a391d
Signed-off-by: wutianwei <wutianwei1@huawei.com>
|
|
JIRA: -
Change-Id: I031444d1094af646ae39a9c0c3fbfc30548e6ee4
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
|
|
We use openstack-ansible to deploy the openstack,
the position of openrc is different from the before.
change the apt source when use local apt repository
Change-Id: I1c5492b294a8645f452868c9cf2fec2e0802f823
Signed-off-by: wutianwei <wutianwei1@huawei.com>
|
|
JIRA:-
Replace OSA default address with ntp_server address.
OSA will use it to check internet connection.
Rename some roles that make users confused.
Change-Id: I4dd7e242e427e5bc3a611450a3bc436e44a8fefe
Signed-off-by: chigang <chigang@huawei.com>
|
|
JIRA:-
use OpenStack-ansible deploy openstack, so remove obsoleted code.
Some of the enhanced features will be added in later versions
Change-Id: Ie92b92b5de234a7d7d03b578b0bc15fd0218b3b3
Signed-off-by: chigang <chigang@huawei.com>
|
|
JIRA:-
It doesn't need to config DNS in ansible roles, just need to
set NAMESERVERS variable
Change-Id: I37a70b32c766c1fad7afa5289ffbbc27b956b2d5
Signed-off-by: chigang <chigang@huawei.com>
|
|
1. change the apt sorce from http://hk.archive.ubuntu.com
to http://archive.ubuntu.com
2. if setup host failed, destroy the failed lxc. then retry to setup.
3. fix the dns-nameserver bug
Change-Id: Ic609c75b50496e2174ab09425bce45a0ec2c09c0
Signed-off-by: wutianwei <wutianwei1@huawei.com>
Signed-off-by: chigang <chigang@huawei.com>
|
|
1. replace the linuxbridge with openvswitch
2. create the network and flavors
3. fix the haproxy when public endpoint using http
Change-Id: I6fe93d0c4d5305e5dcab8d2e6c628eb5fa23ab56
Signed-off-by: wutianwei <wutianwei1@huawei.com>
|
|
1. install the yum packages
2. add the ifcfg scripts to adapt Centos7
3. change MaxSession to 100
4. if setup-host failed, retry to run the failed container
Change-Id: I57589d38f6af1677cb889875c85d6b8bac5c80d0
Signed-off-by: wutianwei <wutianwei1@huawei.com>
|
|
The network restart handler comes at the end
of all tasks which cause pkg install task be
executed when network is not ready. Flush this
handler right after configure network tasks.
Change-Id: I98b9f6f0f2ec0b79632188a481673529a1b522bb
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
|
|
1. delete package part when external network is not ready
2. modify some vm_environment ip to adapt with containerized
compass4nfv code
Change-Id: I9d777675e7ca9d6f9b12a885df8677b2446e6917
Signed-off-by: huangxiangyu <huangxiangyu5@huawei.com>
|
|
JIRA: COMPASS-534
1. rm compass vm and add ansible to bring up 5 compass
containers
2. use tar package instead of compass.iso which contains
compass docker images, OS ISO, PPA, pip packages.
3. modify client.py to communicate with containerized
compass-core
4. modify cobbler files and ansible callback files
to adapt with containerized compass-core
5. upgrade openstack version to ocata
6. use the openstack-ansible to deploy openstack
7. virtual deploy external use nat
Change-Id: Ifa2a3f5b8c7c32224ac4276fd3d4cc2b0d270a26
Signed-off-by: huangxiangyu <huangxiangyu5@huawei.com>
|
|
|
|
JIRA: COMPASS-545
1. LVMISCSIDriver has been removed but LVMVolumeDriver is what actually exists.
Updating the LVM driver name in cinder.conf will solve this.
2. Add tgt to cinder-volume's service list
3. Add section of ceph in cinder.conf for cinder backend
4. Add enable_backends in cinder.conf
Change-Id: I477d2b17ce9e10871a7b96c1a98a49506b36a6ef
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
|