Bug 1416355
Summary: | OSP11: environment file used for external loadbalancer deployment uses new FixedIPs parameters | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Marius Cornea <mcornea> | ||||
Component: | documentation | Assignee: | Dan Macpherson <dmacpher> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | RHOS Documentation Team <rhos-docs> | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 11.0 (Ocata) | CC: | agurenko, dbecker, dmacpher, emacchi, mburns, mcornea, michele, morazi, rhel-osp-director-maint, srevivo | ||||
Target Milestone: | ga | Keywords: | Reopened, Triaged | ||||
Target Release: | 11.0 (Ocata) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: |
Overclouds with external load balancing now use new *FixedIPs parameters. This deprecates VIP environment files. When deploying an overcloud with external load balancing deployment, ensure the external load balancing environment files do not include:
OS::TripleO::Network::Ports::NetVipMap: ../network/ports/net_vip_map_external_v6.yaml
OS::TripleO::Network::Ports::ExternalVipPort: ../network/ports/noop.yaml
OS::TripleO::Network::Ports::InternalApiVipPort: ../network/ports/noop.yaml
OS::TripleO::Network::Ports::StorageVipPort: ../network/ports/noop.yaml
OS::TripleO::Network::Ports::StorageMgmtVipPort: ../network/ports/noop.yaml
OS::TripleO::Network::Ports::RedisVipPort: ../network/ports/from_service_v6.yaml
The new parameters (and their default values) are:
- ControlFixedIPs: [{'ip_address':'192.0.2.251'}]
- PublicVirtualFixedIPs: [{'ip_address':'10.0.0.251'}]
- InternalApiVirtualFixedIPs: [{'ip_address':'172.16.2.251'}]
- StorageVirtualFixedIPs: [{'ip_address':'172.16.1.251'}]
- StorageMgmtVirtualFixedIPs: [{'ip_address':'172.16.3.251'}]
- RedisVirtualFixedIPs: [{'ip_address':'172.16.2.252'}]
As a result, the director now defines the VIPs with *FixedIPs parameters and configures the database and API endpoints accordingly.
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2017-05-18 08:04:49 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: | |||||||
Attachments: |
|
Description
Marius Cornea
2017-01-25 10:49:28 UTC
This bug should not be here anymore, we removed the nova_cell thing in puppet-nova (code was bad). It's a build problem I think, where puppet-tripleo needs an update. (In reply to Emilien Macchi from comment #1) > This bug should not be here anymore, we removed the nova_cell thing in > puppet-nova (code was bad). It's a build problem I think, where > puppet-tripleo needs an update. Can you link to the patch in puppet-nova and move to POST? or puppet-tripleo Marius, can you check this one is good? Thanks! (In reply to Emilien Macchi from comment #4) > Marius, can you check this one is good? > > Thanks! No, the error is till there. Please note that the Nova control plane services run on a different role than controller so this could be related. This is the roles_data.yaml: http://paste.openstack.org/show/601095/ Attaching the os-collect-config log on controller which shows the error. Created attachment 1259069 [details]
os-collect-config log
Looking at the environment that Marius provided, MySQLClient service is missing, so Puppet fails to create the mysql users on ServiceApi role: Error: Could not find dependency Mysql_user[nova@cell0] for Mysql_grant[nova@cell0/nova_cell0.*] Marking this bug as invalid for now but feel free to re-open it if there is something else. The problem is related to your environment, you need to comment: OS::TripleO::Network::Ports::NetVipMap: /usr/share/openstack-tripleo-heat-templates/network/ports/net_vip_map_external.yaml OS::TripleO::Network::Ports::ExternalVipPort: /usr/share/openstack-tripleo-heat-templates/network/ports/noop.yaml OS::TripleO::Network::Ports::InternalApiVipPort: /usr/share/openstack-tripleo-heat-templates/network/ports/noop.yaml OS::TripleO::Network::Ports::StorageVipPort: /usr/share/openstack-tripleo-heat-templates/network/ports/noop.yaml OS::TripleO::Network::Ports::StorageMgmtVipPort: /usr/share/openstack-tripleo-heat-templates/network/ports/noop.yaml OS::TripleO::Network::Ports::RedisVipPort: /usr/share/openstack-tripleo-heat-templates/network/ports/from_service.yaml We don't want these noop files otherwise we'll use the Control Plane VIP which is... empty. Please try again without these lines and tell me if it helped. Also, I'm wondering if we need a release note about that (with good documentation for our users. (In reply to Emilien Macchi from comment #8) > The problem is related to your environment, you need to comment: > > OS::TripleO::Network::Ports::NetVipMap: > /usr/share/openstack-tripleo-heat-templates/network/ports/ > net_vip_map_external.yaml > OS::TripleO::Network::Ports::ExternalVipPort: > /usr/share/openstack-tripleo-heat-templates/network/ports/noop.yaml > OS::TripleO::Network::Ports::InternalApiVipPort: > /usr/share/openstack-tripleo-heat-templates/network/ports/noop.yaml > OS::TripleO::Network::Ports::StorageVipPort: > /usr/share/openstack-tripleo-heat-templates/network/ports/noop.yaml > OS::TripleO::Network::Ports::StorageMgmtVipPort: > /usr/share/openstack-tripleo-heat-templates/network/ports/noop.yaml > OS::TripleO::Network::Ports::RedisVipPort: > /usr/share/openstack-tripleo-heat-templates/network/ports/from_service.yaml > > We don't want these noop files otherwise we'll use the Control Plane VIP > which is... empty. > > Please try again without these lines and tell me if it helped. > > Also, I'm wondering if we need a release note about that (with good > documentation for our users. Thanks, it looks like this is a change introduced in Ocata by https://github.com/openstack/tripleo-heat-templates/commit/a3f03eb307797ac5eef1251b9252e642db326e07 I'll test it tomorrow in the morning and get back with my results. We probably need to add this to the docs. Deployment completed successfully with the following environment file. I am switching this BZ to docs so we make sure we cover the changes in the product documentation. resource_registry: OS::TripleO::Controller::Ports::ExternalPort: /usr/share/openstack-tripleo-heat-templates/network/ports/external_from_pool.yaml OS::TripleO::Controller::Ports::InternalApiPort: /usr/share/openstack-tripleo-heat-templates/network/ports/internal_api_from_pool.yaml OS::TripleO::Controller::Ports::StoragePort: /usr/share/openstack-tripleo-heat-templates/network/ports/storage_from_pool.yaml OS::TripleO::Controller::Ports::StorageMgmtPort: /usr/share/openstack-tripleo-heat-templates/network/ports/noop.yaml OS::TripleO::Controller::Ports::TenantPort: /usr/share/openstack-tripleo-heat-templates/network/ports/noop.yaml OS::TripleO::Controller::Ports::ManagementPort: /usr/share/openstack-tripleo-heat-templates/network/ports/management_from_pool.yaml OS::TripleO::ServiceApi::Ports::ExternalPort: /usr/share/openstack-tripleo-heat-templates/network/ports/noop.yaml OS::TripleO::ServiceApi::Ports::InternalApiPort: /usr/share/openstack-tripleo-heat-templates/network/ports/internal_api_from_pool.yaml OS::TripleO::ServiceApi::Ports::StoragePort: /usr/share/openstack-tripleo-heat-templates/network/ports/storage_from_pool.yaml OS::TripleO::ServiceApi::Ports::StorageMgmtPort: /usr/share/openstack-tripleo-heat-templates/network/ports/storage_mgmt_from_pool.yaml OS::TripleO::ServiceApi::Ports::TenantPort: /usr/share/openstack-tripleo-heat-templates/network/ports/tenant_from_pool.yaml OS::TripleO::ServiceApi::Ports::ManagementPort: /usr/share/openstack-tripleo-heat-templates/network/ports/management_from_pool.yaml parameter_defaults: ServiceNetMap: KeystoneAdminApiNetwork: internal_api # allows undercloud to config endpoints RedisPassword: 'examplepassword' ControlFixedIPs: [{'ip_address':'192.168.0.120'}] PublicVirtualFixedIPs: [{'ip_address':'172.16.18.120'}] InternalApiVirtualFixedIPs: [{'ip_address':'10.0.0.120'}] StorageVirtualFixedIPs: [{'ip_address':'10.0.0.220'}] StorageMgmtVirtualFixedIPs: [{'ip_address':'10.0.1.120'}] RedisVirtualFixedIPs: [{'ip_address':'10.0.0.119'}] ControllerIPs: external: - 172.16.18.121 - 172.16.18.122 - 172.16.18.123 internal_api: - 10.0.0.121 - 10.0.0.122 - 10.0.0.123 storage: - 10.0.0.221 - 10.0.0.222 - 10.0.0.223 storage_mgmt: - 10.0.1.101 - 10.0.1.102 - 10.0.1.103 tenant: - 10.0.1.201 - 10.0.1.202 - 10.0.1.203 management: - 172.16.17.201 - 172.16.17.202 - 172.16.17.203 ServiceApiIPs: internal_api: - 10.0.0.124 - 10.0.0.125 - 10.0.0.126 storage: - 10.0.0.224 - 10.0.0.225 - 10.0.0.226 storage_mgmt: - 10.0.1.104 - 10.0.1.105 - 10.0.1.106 tenant: - 10.0.1.204 - 10.0.1.205 - 10.0.1.206 management: - 172.16.17.204 - 172.16.17.205 - 172.16.17.206 Hey Dan, Can you maybe help on this one? I've added some DocText to help, let me know if you need more context. Thanks! Clear as a bell. Thanks, Emilien! I've revised the doc text plus I've made the following additions: In the Upgrade Guide, under "Overcloud Parameters", I've added a note about the new fixed VIP params. Draft content here: https://doc-stage.usersys.redhat.com/documentation/en-us/red_hat_openstack_platform/11/html/upgrading_red_hat_openstack_platform/chap-director-major-upgrade#sect-Updating_Overcloud_Templates In the Ext LB Guide, I've revised the environment file with the ex lb to include the new fixed VIP params: https://doc-stage.usersys.redhat.com/documentation/en-us/red_hat_openstack_platform/11/html/external_load_balancing_for_the_overcloud/configuring_the_overcloud#configuring-load-balancing-options @Marius and @Emilien, how do these additions looks? Is there anything further we need to add? Dan: I've reviewed your documentation change and it looks good to me, thanks! Thanks, Emilien! |