composable roles and network isolation
Bug #1633090 reported by
Lukas Bezdicka
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Medium
|
Dan Sneddon |
Bug Description
With composable roles one can setup for example standalone Neutron node which won't have working network isolation as environments/
Changed in tripleo: | |
importance: | Undecided → Medium |
tags: | added: newton-backport-potential |
Changed in tripleo: | |
milestone: | ocata-1 → ocata-2 |
Changed in tripleo: | |
assignee: | Steven Hardy (shardy) → Dan Sneddon (dsneddon) |
status: | Triaged → In Progress |
Changed in tripleo: | |
milestone: | ocata-2 → ocata-3 |
Changed in tripleo: | |
assignee: | Steven Hardy (shardy) → Dan Sneddon (dsneddon) |
Changed in tripleo: | |
milestone: | ocata-3 → ocata-rc1 |
Changed in tripleo: | |
milestone: | ocata-rc1 → pike-1 |
tags: |
added: ocata-backport-potential removed: newton-backport-potential |
Changed in tripleo: | |
assignee: | Steven Hardy (shardy) → Dan Sneddon (dsneddon) |
Changed in tripleo: | |
assignee: | Dan Sneddon (dsneddon) → Emilien Macchi (emilienm) |
Changed in tripleo: | |
assignee: | Emilien Macchi (emilienm) → Steven Hardy (shardy) |
Changed in tripleo: | |
milestone: | pike-1 → pike-2 |
Changed in tripleo: | |
assignee: | Steven Hardy (shardy) → Dan Sneddon (dsneddon) |
Changed in tripleo: | |
milestone: | pike-2 → pike-3 |
Changed in tripleo: | |
assignee: | Dan Sneddon (dsneddon) → Steven Hardy (shardy) |
Changed in tripleo: | |
assignee: | Steven Hardy (shardy) → Dan Sneddon (dsneddon) |
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: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
So I think this is possibly a duplicate of https:/ /bugs.launchpad .net/tripleo/ +bug/1625558 ?
Basically in environments/ net-single- nic-with- vlans.yaml you have this:
resource_registry: :BlockStorage: :Net::SoftwareC onfig: ../network/ config/ single- nic-vlans/ cinder- storage. yaml :Compute: :Net::SoftwareC onfig: ../network/ config/ single- nic-vlans/ compute. yaml :Controller: :Net::SoftwareC onfig: ../network/ config/ single- nic-vlans/ controller. yaml :ObjectStorage: :Net::SoftwareC onfig: ../network/ config/ single- nic-vlans/ swift-storage. yaml :CephStorage: :Net::SoftwareC onfig: ../network/ config/ single- nic-vlans/ ceph-storage. yaml
OS::TripleO:
OS::TripleO:
OS::TripleO:
OS::TripleO:
OS::TripleO:
So when defining a custom role you'll need to pass an environment which references the configuration you want for that role:
resource_registry: :TheCustomRole: :Net::SoftwareC onfig: path/to/ the/config. yaml
OS::TripleO:
The config can be copied from whatever is in use for the other roles (all the templates are basically the same for each role in the tht examples).
If you don't pass any extra environment file, the role will simply get the default noop config:
https:/ /github. com/openstack/ tripleo- heat-templates/ blob/master/ overcloud- resource- registry- puppet. j2.yaml# L35
I think what you're asking for though is for just including -e environments/ net-single- nic-with- vlans.yaml to apply that config to all roles automatically?
That is probably possible, but for now copying the file and passing the resource_registry as described above should work fine.