Bug 2088268
| Summary: | [Test-only] Octavia Availability zone feature, not yet supported | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Donghwi Cha <dcha> |
| Component: | openstack-octavia | Assignee: | Nate Johnston <njohnston> |
| Status: | NEW --- | QA Contact: | Bruna Bonguardo <bbonguar> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 17.0 (Wallaby) | CC: | bbonguar, gthiemon, lpeer, majopela, njohnston, oschwart, scohen, youngkim |
| Target Milestone: | --- | Keywords: | FutureFeature, TestOnly |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Donghwi Cha
2022-05-19 06:06:17 UTC
Hi. This Bugzilla is different from https://bugzilla.redhat.com/show_bug.cgi?id=1813565 This Bugzilla is only related with CONF.nova.availability_zone in octavia.conf but BZ 1813565 is only related with providing input of AZ. Please see the logic below try: network_ids = network_ids or [] port_ids = port_ids or [] nics = [] if network_ids: nics.extend([{"net-id": net_id} for net_id in network_ids]) if port_ids: nics.extend([{"port-id": port_id} for port_id in port_ids]) server_group = None if server_group_id is None else { "group": server_group_id} az_name = availability_zone or CONF.nova.availability_zone <-- it is either by input for each lb or by conf globally (CONF.nova.availability_zone) ... amphora = self.manager.create( name=name, image=image_id, flavor=amphora_flavor, block_device_mapping=block_device_mapping, key_name=key_name, security_groups=sec_groups, nics=nics, files=config_drive_files, userdata=user_data, config_drive=True, scheduler_hints=server_group, availability_zone=az_name ) I've updated this BZ from Train to Wallaby since CONF.nova.availability_zone is still part of the new release, Wallaby, and both of providing AZ for each LB creation and globally setting AZ to all LB still exist. |