VIP on the storage management network gets created even though the controllers are not connected to this network
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Expired
|
Undecided
|
Unassigned |
Bug Description
VIP on the storage management network gets created even though the controllers are not connected to this network so the pcs resource fails to start.
I'm doing a deployment with composable roles where the controllers are not connected to the storage managemnt network and the ports on this network are nooped:
## Disable unused network from the preexisting Controller role ##
OS::TripleO:
StorageMgmtNe
StorageMgmtAl
StorageMgmtNe
Nevertheless on the controller nodes I can see a pcs resource corresponding to this network which obviously couldn't start:
ip-10.0.1.14 (ocf::heartbeat
Failed Actions:
* ip-10.0.
last-
* ip-10.0.
last-
* ip-10.0.
last-
Steps to Reproduce:
1. Deploy overcloud with controllers not connected to the storage management network
2. Check PCS status
Actual results:
There is a VIP created on that network which is stopped.
Expected results:
There should be no VIP resource created as the controllers ports on the storage manegemnt network were specifically nooped.
Additional info:
Below are the controller role and the network environment file that I used:
- name: Controller
CountDefault: 1
ServicesDefault:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
- OS::TripleO:
resource_registry:
## Preexisting roles nic configs ##
OS::TripleO:
OS::TripleO:
## Disable unused network from the preexisting Controller role ##
OS::TripleO:
OS::TripleO:
## ServiceAPI role nic configs and enabled networks ##
OS::TripleO:
OS::TripleO:
OS::TripleO:
OS::TripleO:
## Networker role nic configs and enabled networks ##
OS::TripleO:
OS::TripleO:
OS::TripleO:
OS::TripleO:
## Telemetry role nic configs and enabled networks ##
OS::TripleO:
OS::TripleO:
OS::TripleO:
## ComputeNFV role nic configs and enabled networks ##
OS::TripleO:
OS::TripleO:
OS::TripleO:
OS::TripleO:
OS::TripleO:
## CephMON role nic configs and enabled networks ##
OS::TripleO:
OS::TripleO:
OS::TripleO:
## CephOSD role nic configs and enabled networks ##
OS::TripleO:
OS::TripleO:
OS::TripleO:
OS::TripleO:
parameter_defaults:
InternalApiNe
InternalApiAl
InternalApiNe
StorageNetCidr: 10.0.0.128/25
StorageAlloca
StorageNetwor
StorageMgmtNe
StorageMgmtAl
StorageMgmtNe
ExternalNetCidr: 172.16.18.0/25
ExternalAlloc
ExternalInter
ExternalNetwo
TenantNetCidr: 10.0.1.128/25
TenantAllocat
ManagementNet
ManagementAll
ManagementInt
ControlPlaneS
ControlPlaneD
EC2MetadataIp: 192.168.0.1
DnsServers: ["172.16.
NtpServer: ["clock.
nic config:
[stack@undercloud-0 ~]$ cat openstack_
heat_template_
parameters:
ControlPlaneIp:
default: ''
description: IP address/subnet on the ctlplane network
type: string
ExternalIpSubnet:
default: ''
description: IP address/subnet on the external network
type: string
InternalApiIp
default: ''
description: IP address/subnet on the internal API network
type: string
StorageIpSubnet:
default: ''
description: IP address/subnet on the storage network
type: string
StorageMgmtIp
default: ''
description: IP address/subnet on the storage mgmt network
type: string
TenantIpSubnet:
default: ''
description: IP address/subnet on the tenant network
type: string
ManagementIpS
default: ''
description: IP address/subnet on the management network
type: string
ExternalNetwo
default: 10
description: Vlan ID for the external network traffic.
type: number
InternalApiNe
default: 20
description: Vlan ID for the internal_api network traffic.
type: number
StorageNetwor
default: 30
description: Vlan ID for the storage network traffic.
type: number
StorageMgmtNe
default: 40
description: Vlan ID for the storage mgmt network traffic.
type: number
TenantNetwork
default: 50
description: Vlan ID for the tenant network traffic.
type: number
ManagementNet
default: 60
description: Vlan ID for the management network traffic.
type: number
ManagementInt
default: '10.0.1.1'
description: default route for the external network
type: string
ExternalInter
default: '10.0.0.1'
description: default route for the external network
type: string
ControlPlaneS
default: '24'
description: The subnet CIDR of the control plane network.
type: string
ControlPlaneD
description: The default route of the control plane network.
type: string
DnsServers: # Override this via parameter_defaults
default: []
description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf.
type: comma_delimited
EC2MetadataIp: # Override this via parameter_defaults
description: The IP address of the EC2 metadata server.
type: string
resources:
OsNetConfigImpl:
properties:
config:
-
type: interface
name: nic1
-
-
-
type: ovs_bridge
name: {get_input: bridge_name}
-
-
-
-
type: ovs_bridge
name: br-infra
-
-
-
type: ovs_bridge
name: br-storage
-
-
# Uncomment when including environments/
-
type: interface
name: nic5
-
group: os-apply-config
type: OS::Heat:
outputs:
OS::stack_id:
description: The OsNetConfigImpl resource.
value: {get_resource: OsNetConfigImpl}
tags: | added: composable-roles |
tags: | added: tripleo-heat-templates |
Changed in tripleo: | |
status: | New → Triaged |
importance: | Undecided → Medium |
milestone: | none → ocata-3 |
Changed in tripleo: | |
milestone: | ocata-3 → pike-1 |
Changed in tripleo: | |
milestone: | pike-1 → pike-2 |
Changed in tripleo: | |
milestone: | pike-2 → pike-3 |
Changed in tripleo: | |
milestone: | pike-3 → pike-rc1 |
Changed in tripleo: | |
milestone: | pike-rc1 → queens-1 |
Changed in tripleo: | |
milestone: | queens-1 → queens-2 |
Changed in tripleo: | |
milestone: | queens-2 → queens-3 |
Changed in tripleo: | |
milestone: | queens-3 → queens-rc1 |
Changed in tripleo: | |
milestone: | queens-rc1 → rocky-1 |
Changed in tripleo: | |
milestone: | rocky-1 → rocky-2 |
Changed in tripleo: | |
milestone: | rocky-2 → rocky-3 |
Changed in tripleo: | |
milestone: | rocky-3 → rocky-rc1 |
Changed in tripleo: | |
milestone: | rocky-rc1 → stein-1 |
Changed in tripleo: | |
milestone: | stein-1 → stein-2 |
This is an automated cleanup. This bug report has been closed because it
is older than 18 months and there is no open code change to fix this.
After this time it is unlikely that the circumstances which lead to
the observed issue can be reproduced.
If you can reproduce the bug, please:
* reopen the bug report (set to status "New")
* AND add the detailed steps to reproduce the issue (if applicable)
* AND leave a comment "CONFIRMED FOR: <RELEASE_NAME>"
Only still supported release names are valid (FUTURE, PIKE, QUEENS, ROCKY, STEIN).
Valid example: CONFIRMED FOR: FUTURE