Re-enable Zaza
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Manila NetApp Charm |
New
|
Undecided
|
Unassigned |
Bug Description
Zaza has been disabled in the past because we need to set up things first in our testing environment. In a nutshell we'll need:
- a long-living NetApp appliance
- some env vars in ubuntu-openstack-ci (example [0])
- some env vars in zosci-config (example [1])
- an osci.yaml file for zOSCI to run (example [2])
- some Zaza setup/configure steps to set dynamic things for the test
Based on details given by ionutbalutoiu (modified by lourot):
----------
This requires a functional external NetApp ONTAP cluster configured. And the Zaza overcloud VMs must be able to reach the NetApp ONTAP cluster via the overcloud external network.
Example environment:
export TEST_NET_
export TEST_GATEWAY=
export TEST_NAME_
export TEST_CIDR_
export TEST_FIP_
export TEST_MANILA_
export TEST_MANILA_
export TEST_MANILA_
export TEST_MANILA_
export TEST_MANILA_
We also use zaza.openstack.
For example the juju_network can be the external network from the undercloud, and it’s routed to reach the management address of the NetApp ONTAP cluster (10.113.1.191).
The environment variables:
TEST_MANILA_
TEST_MANILA_
TEST_MANILA_
correspond to the external NetApp ONTAP cluster connection information.
The env variable TEST_MANILA_
And, the env variable TEST_MANILA_
Example on how to find out the name of the default storage aggregate name in the NetApp ONTAP cluster [3]
This needs to be executed after SSH-ing into one of the NetApp ONTAP cluster nodes. Perhaps this value can be extracted from the web UI as well.
Keep in mind that the DHSS test also needs a share network defined. The Zaza test will create the share network, and it’s associated to the network given to the zaza.openstack.
So, it’s important to know that the Manila driver will set static IPs to the NetApp ONTAP storage VMs from the range given as TEST_FIP_RANGE. As long as the Zaza overcloud VMs have connectivity to storage VMs with static IPs from that range, we're good for the DHSS test case.
----------
A review for re-enabling Zaza exists already [4]
[0] https:/
[1] https:/
[2] https:/
[3] http://
[4] https:/