Age | Commit message (Collapse) | Author | Files | Lines |
|
JIRA: COMPASS-562
Because of the inventory file modification, the sfc switch cannot be
enabled. Add a sperate sfc role to fix this bug.
Change-Id: If583d10ebbe78d0abe9078add24beb5f506dbda8
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
|
|
JIRA: COMPASS-550
add OVS-DPDK plugin, there are two roles in this plugin.
1. ins_dpdk is for dpdk installation and hugepages setting.
2. ins_ovs is for openvswitch installation.
add dpdk scenario networking configuration example called "network_cfg_dpdk.yaml"
Change-Id: Ifd8c1aadc218753f99bc26bb530e7cf9962ad8e3
Signed-off-by: chigang <chigang@huawei.com>
|
|
JIRA: -
Add a new k8s scenario for compass
Change-Id: Ic5f58a6152315333684e4f2752aaa0d5d870d9ee
Signed-off-by: hu xinhui <xinhui_hu@foxmail.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:-
To deploy moon master, export MOON_CFG env like below compass deploy:
export MOON_CFG="master:flag=Disable,slave:flag=Enable,slave:name=slave1,slave:master_ip=master_ip"
To deploy moon slave, export MOON_CFG env like below compass deploy:
export MOON_CFG="master:flag=Enable,slave:flag=Disable,slave:name=slave1,slave:master_ip=master_ip"
Change-Id: I21c0186a029c508d390c69112b43510d9c5b9c5c
Signed-off-by: chigang <chigang@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>
|
|
Before network is setup, host can't access to internet.
Install bridge-utils, ifenslave and vlan when cobbler
managing OS installation so when network restart all pkgs
needed is ready.
Change-Id: Idaa880ed0abfb50f417d67fe55e964992a185c80
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>
|
|
JIRA: COMPASS-533
Bug:
When a vlan network is created and bind to a physical network,
the instances launched on this network will fail to get ip
address from openstack dhcp server.
Solution:
Set enable_isolated_metadata to True in dhcp_agent.in
Change-Id: I97cf8684d1ec9beeaa30e0ffa290150046ebcab1
Signed-off-by: huangxiangyu <huangxiangyu5@huawei.com>
|
|
JIRA: -
Edit keystone_endpoint module to support different region. Before this patch,
endpoint will be update when you use regiontwo or some other region.
Change-Id: Ib37b87892cfa485b468f7500fdabe05ad3b6be4b
Signed-off-by: liyuenan <liyuenan@huawei.com>
|
|
JIRA: -
Sometimes memcached does not start after installation finished,
which will cause issues like openstack dashboard open instance
console failure.
This patch add memcached restart notify during package installation
and add memcached to cron service-status-check task's config file:
/opt/service
Change-Id: I625899348fb447875fcca7beedb619b5490ce567
Signed-off-by: QiLiang <liangqi1@huawei.com>
|
|
|
|
|
|
|
|
JIRA: -
Openvswitch service in Ubuntu named openvswitch-switch, but it named
openvswitch in CentOS.
Change-Id: I2a4d3d0ae0a646971696bae798b623da059a3781
Signed-off-by: liyuenan <liyuenan@huawei.com>
|
|
|
|
JIRA: -
e.g.:
root@host1:~# ip link show eth4
6: eth4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether ec:38:8f:79:fa:5c brd ff:ff:ff:ff:ff:ff
root@host1:~# echo $(echo $@ | cut -d' ' -f17)
ec:38:8f:79:fa:5c
root@host4:~# ip link show eth4
6: eth4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop portid 0100000000000000000000000000003000 state DOWN mode DEFAULT group default qlen 1000
link/ether e0:36:76:d2:34:73 brd ff:ff:ff:ff:ff:ff
root@host4:~# echo $(echo $@ | cut -d' ' -f17)
1000
root@host4:~# echo $(echo $@ | cut -d' ' -f19)
e0:36:76:d2:34:73
Change-Id: I916c19807da724e9ba471376f81f3c763b9340d5
Signed-off-by: QiLiang <liangqi1@huawei.com>
|
|
Change-Id: I6242b9fc09749ca83f446ef5456eaad72f248012
Signed-off-by: rssaravana <saravanakumar.somaskandan@huawei.com>
|
|
JIRA: -
You can add bond according to deploy/conf/network_cfg.yaml.
Change-Id: I70f2f03581cf763dbaf7a8a47bdbd46b66620fcb
Signed-off-by: liyuenan <liyuenan@huawei.com>
|
|
JIRA: -
Add libvirtd configure to support vm live migration.
Test cmd:
nova live-migration <vm-id> <dest-host-name>
Change-Id: Ic7f47f1e13a7cd84a2d1c67089fedf76662bf412
Signed-off-by: QiLiang <liangqi1@huawei.com>
|