Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1) [root@gprfc045 infrared]# cat /infrared/oc_extra_templates.yml
- ---
- tripleo_heat_templates:
- - /home/stack/networks-disable.yaml
- - /usr/share/openstack-tripleo-heat-templates/environments/disable-telemetry.yaml
- [root@gprfc045 infrared]#
- 2) copy instackenv.json from undercloud to /infrared in ansible/infrared node
- 3) in undercloud /home/stack/network_data.yaml
- - name: Storage
- vip: true
- vlan: 30
- name_lower: storage
- ip_subnet: '172.17.3.0/24'
- allocation_pools: [{'start': '172.17.3.100', 'end': '172.17.3.149'}]
- - name: InternalApi
- name_lower: internal_api_osp
- vip: true
- vlan: 20
- ip_subnet: '172.17.1.0/24'
- allocation_pools: [{'start': '172.17.1.100', 'end': '172.17.1.149'}]
- - name: External
- vip: true
- name_lower: external
- ip_subnet: '10.0.0.0/24'
- allocation_pools: [{'start': '10.0.0.101', 'end': '10.0.0.149'}]
- gateway_ip: '10.0.0.1'
- - name: Tenant
- vip: false # Tenant network does not use VIPs
- name_lower: tenant
- vlan: 50
- ip_subnet: '172.17.2.0/24'
- allocation_pools: [{'start': '172.17.2.100', 'end': '172.17.2.149'}]
- - name: StorageMgmt
- name_lower: storage_mgmt
- vip: true
- vlan: 40
- ip_subnet: '172.17.4.0/24'
- allocation_pools: [{'start': '172.17.4.100', 'end': '172.17.4.149'}]
- 4) in undercloud /home/stack/networks-disable.yaml
- # Disable the creation of Neutron networks
- # This can be useful if you want to create two stacks along side of each
- # other. The first stack (doesn't use this environment) and creates
- # all of the Neutron networks. The second stack suppresses the
- # creation of Networks and shares the same network spaces.
- resource_registry:
- OS::TripleO::Network::Storage: OS::Heat::None
- OS::TripleO::Network::External: OS::Heat::None
- OS::TripleO::Network::Management: OS::Heat::None
- 5) infrared plugin add plugins/tripleo-overcloud
- 6) run overcloud command
- #infrared tripleo-overcloud --deployment-files virt --controller-nodes 1 --compute-nodes 1 --version 14 --deploy yes --overcloud-templates /infrared/oc_extra_templates.yml --instackenv-f
- ile /infrared/instackenv.json --extra-deploy-params="-n /home/stack/network_data.yaml" 2>&1 | tee ir_oc14_log1.txt
- changing host
- 1) nova.conf
- both my_ip and host should be set to 10.130.0.2
- [DEFAULT]
- my_ip = 10.130.0.2
- host = 10.130.0.2
- 2) neutron.conf
- [DEFAULT]
- host = 10.130.0.2
- 3) /etc/neutron/plugins/ml2/openvswitch_agent.ini
- [ovs]
- bridge_mappings = datacentre:br-ex
- local_ip = 10.130.0.2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement