Bug 1671766
Summary: | Network isolation doesn't work for the 2nd stack when deploying multiple overcloud stacks from the same undercloud | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Marius Cornea <mcornea> | ||||||
Component: | documentation | Assignee: | Alex McLeod <amcleod> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | RHOS Documentation Team <rhos-docs> | ||||||
Severity: | urgent | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 15.0 (Stein) | CC: | amcleod, aschultz, atragler, dbecker, dcadzow, jrouleau, mburns, mcornea, morazi, pgrist | ||||||
Target Milestone: | beta | ||||||||
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: | 2019-07-11 13:51:24 UTC | 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: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 1241596 | ||||||||
Attachments: |
|
Description
Marius Cornea
2019-02-01 15:05:50 UTC
Created attachment 1525860 [details]
stack.tar.gz
Attaching the templates used for the 1st stack(overcloud_deploy.sh) and the 2nd stack(overcloud_deplo2.sh)
You'll probably also need a new network_data.yaml for the second stack with unique names for the InternalApi, Management, etc nets. Running through this with your deploy script in my lab now. (In reply to Jill Rouleau from comment #2) > You'll probably also need a new network_data.yaml for the second stack with > unique names for the InternalApi, Management, etc nets. Running through this > with your deploy script in my lab now. I tried that in a previous attempt but the 2nd stack deployment also failed because because we hardcode the network names e.g: ExternalNetName, InternalApiNetName in: https://github.com/openstack/tripleo-heat-templates/blob/master/puppet/all-nodes-config.j2.yaml#L197-L241 You should be able to provide a network_data file that specifies a new name_lower value for each of those networks. With just doing internal_api, looks like: http://paste.openstack.org/show/744652/ network_data_cloud1.yaml: - name: InternalApi name_lower: internal_api_cloud_1 service_net_map_replace: internal_api vip: true vlan: 20 ip_subnet: '172.17.0.0/24' allocation_pools: [{'start': '172.17.0.4', 'end': '172.17.0.250'}] ipv6_subnet: 'fd00:fd00:fd00:2000::/64' ipv6_allocation_pools: [{'start': 'fd00:fd00:fd00:2000::10', 'end': 'fd00:fd00:fd00:2000:ffff:ffff:ffff:fffe'}] network_data_cloud2.yaml: - name: InternalApi name_lower: internal_api_cloud_2 service_net_map_replace: internal_api vip: true vlan: 20 ip_subnet: '172.21.0.0/24' allocation_pools: [{'start': '172.21.0.4', 'end': '172.21.0.250'}] ipv6_subnet: 'fd00:fd00:fd00:2000::/64' ipv6_allocation_pools: [{'start': 'fd00:fd00:fd00:2000::10', 'end': 'fd00:fd00:fd00:2000:ffff:ffff:ffff:fffe'}] (In reply to Jill Rouleau from comment #5) > @mcornea, does the info in Comment 4 help? Thanks Jill and sorry for the delayed response. Your suggestion worked, I guess we need to cover this change in the documentation for this feature. Created attachment 1534282 [details]
working_templates.tar.gz
Uploading the templates that worked during for my test.
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |