-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow setting up standalone node with: * ironic as the compute driver * additional network interface (br-baremetal) To try this: ```bash cd .. # back to install_yamls make nmstate make namespace cd devsetup # back to install_yamls/devsetup make bmaas BMAAS_INSTANCE_DISK_SIZE=2 make bmaas_generate_nodes_yaml | tail -n +2 | tee /tmp/ironic_nodes.yaml cat << EOF > /tmp/addtional_nets.json [ { "type": "network", "name": "crc-bmaas", "standalone_config": { "type": "linux_bridge", "name": "baremetal", "mtu": 1500, "ip_subnet": "172.20.1.0/24", "allocation_pools": [ { "start": "172.20.1.4", "end": "172.20.1.250" } ] } } ] EOF export EDPM_COMPUTE_ADDITIONAL_NETWORKS=$(jq -c . /tmp/addtional_nets.json) export EDPM_COMPUTE_SUFFIX=standalone export IP_ADRESS_SUFFIX=100 export COMPUTE_DRIVER=ironic make standalone ``` Signed-off-by: Harald Jensås <[email protected]>
- Loading branch information
Showing
4 changed files
with
227 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,186 @@ | ||
- name: Standalone | ||
description: | | ||
A standalone role that a minimal set of services. This can be used for | ||
testing in a single node configuration with the | ||
'openstack tripleo deploy --standalone' command or via an Undercloud using | ||
'openstack overcloud deploy'. | ||
CountDefault: 1 | ||
tags: | ||
- primary | ||
- controller | ||
- standalone | ||
default_route_networks: [] | ||
networks: | ||
External: | ||
subnet: external_subnet | ||
InternalApi: | ||
subnet: internal_api_subnet | ||
Storage: | ||
subnet: storage_subnet | ||
StorageMgmt: | ||
subnet: storage_mgmt_subnet | ||
StorageNFS: | ||
subnet: storage_nfs_subnet | ||
Tenant: | ||
subnet: tenant_subnet | ||
{%- for network in additional_networks if network.standalone_config %} | ||
{%- set net = network.standalone_config %} | ||
{{ net.name }}: | ||
subnet: {{ net.name.lower() }}_subnet | ||
{%- endfor %} | ||
ServicesDefault: | ||
- OS::TripleO::Services::Aide | ||
- OS::TripleO::Services::AodhApi | ||
- OS::TripleO::Services::AodhEvaluator | ||
- OS::TripleO::Services::AodhListener | ||
- OS::TripleO::Services::AodhNotifier | ||
- OS::TripleO::Services::AuditD | ||
- OS::TripleO::Services::BarbicanApi | ||
- OS::TripleO::Services::BarbicanBackendDogtag | ||
- OS::TripleO::Services::BarbicanBackendKmip | ||
- OS::TripleO::Services::BarbicanBackendPkcs11Crypto | ||
- OS::TripleO::Services::BarbicanBackendSimpleCrypto | ||
- OS::TripleO::Services::CACerts | ||
- OS::TripleO::Services::CeilometerAgentCentral | ||
- OS::TripleO::Services::CeilometerAgentNotification | ||
- OS::TripleO::Services::CephClient | ||
- OS::TripleO::Services::CephExternal | ||
- OS::TripleO::Services::CephGrafana | ||
- OS::TripleO::Services::CephMds | ||
- OS::TripleO::Services::CephMgr | ||
- OS::TripleO::Services::CephMon | ||
- OS::TripleO::Services::CephNfs | ||
- OS::TripleO::Services::CephRbdMirror | ||
- OS::TripleO::Services::CephRgw | ||
- OS::TripleO::Services::CephOSD | ||
- OS::TripleO::Services::CinderApi | ||
- OS::TripleO::Services::CinderBackendDellEMCPowerFlex | ||
- OS::TripleO::Services::CinderBackendDellEMCPowermax | ||
- OS::TripleO::Services::CinderBackendDellEMCPowerStore | ||
- OS::TripleO::Services::CinderBackendDellEMCSc | ||
- OS::TripleO::Services::CinderBackendDellEMCUnity | ||
- OS::TripleO::Services::CinderBackendDellEMCVMAXISCSI | ||
- OS::TripleO::Services::CinderBackendDellEMCVNX | ||
- OS::TripleO::Services::CinderBackendDellEMCVxFlexOS | ||
- OS::TripleO::Services::CinderBackendDellEMCXtremio | ||
- OS::TripleO::Services::CinderBackendDellSc | ||
- OS::TripleO::Services::CinderBackendNVMeOF | ||
- OS::TripleO::Services::CinderBackendPure | ||
- OS::TripleO::Services::CinderBackendNetApp | ||
- OS::TripleO::Services::CinderBackendScaleIO | ||
- OS::TripleO::Services::CinderBackup | ||
- OS::TripleO::Services::CinderHPELeftHandISCSI | ||
- OS::TripleO::Services::CinderScheduler | ||
- OS::TripleO::Services::CinderVolume | ||
- OS::TripleO::Services::Clustercheck | ||
- OS::TripleO::Services::Collectd | ||
- OS::TripleO::Services::ComputeCeilometerAgent | ||
- OS::TripleO::Services::CeilometerAgentIpmi | ||
- OS::TripleO::Services::ContainerImagePrepare | ||
- OS::TripleO::Services::ContainersLogrotateCrond | ||
- OS::TripleO::Services::DesignateApi | ||
- OS::TripleO::Services::DesignateCentral | ||
- OS::TripleO::Services::DesignateMDNS | ||
- OS::TripleO::Services::DesignateProducer | ||
- OS::TripleO::Services::DesignateSink | ||
- OS::TripleO::Services::DesignateBind | ||
- OS::TripleO::Services::DesignateWorker | ||
- OS::TripleO::Services::DockerRegistry | ||
- OS::TripleO::Services::Etcd | ||
- OS::TripleO::Services::ExternalSwiftProxy | ||
- OS::TripleO::Services::Frr | ||
- OS::TripleO::Services::GlanceApi | ||
- OS::TripleO::Services::GlanceApiInternal | ||
- OS::TripleO::Services::GnocchiApi | ||
- OS::TripleO::Services::GnocchiMetricd | ||
- OS::TripleO::Services::GnocchiStatsd | ||
- OS::TripleO::Services::HAproxy | ||
- OS::TripleO::Services::HeatApi | ||
- OS::TripleO::Services::HeatApiCfn | ||
- OS::TripleO::Services::HeatApiCloudwatch | ||
- OS::TripleO::Services::HeatEngine | ||
- OS::TripleO::Services::Horizon | ||
- OS::TripleO::Services::IpaClient | ||
- OS::TripleO::Services::Ipsec | ||
- OS::TripleO::Services::IronicApi | ||
- OS::TripleO::Services::IronicConductor | ||
- OS::TripleO::Services::IronicInspector | ||
- OS::TripleO::Services::IronicNeutronAgent | ||
- OS::TripleO::Services::IronicPxe | ||
- OS::TripleO::Services::Iscsid | ||
- OS::TripleO::Services::Kernel | ||
- OS::TripleO::Services::Keystone | ||
- OS::TripleO::Services::LoginDefs | ||
- OS::TripleO::Services::ManilaApi | ||
- OS::TripleO::Services::ManilaBackendCephFs | ||
- OS::TripleO::Services::ManilaBackendIsilon | ||
- OS::TripleO::Services::ManilaBackendNetapp | ||
- OS::TripleO::Services::ManilaBackendPowerMax | ||
- OS::TripleO::Services::ManilaBackendUnity | ||
- OS::TripleO::Services::ManilaBackendVMAX | ||
- OS::TripleO::Services::ManilaBackendVNX | ||
- OS::TripleO::Services::ManilaScheduler | ||
- OS::TripleO::Services::ManilaShare | ||
- OS::TripleO::Services::MasqueradeNetworks | ||
- OS::TripleO::Services::Memcached | ||
- OS::TripleO::Services::MetricsQdr | ||
- OS::TripleO::Services::Multipathd | ||
- OS::TripleO::Services::MySQL | ||
- OS::TripleO::Services::MySQLClient | ||
- OS::TripleO::Services::NeutronApi | ||
- OS::TripleO::Services::NeutronBgpVpnApi | ||
- OS::TripleO::Services::NeutronBgpVpnBagpipe | ||
- OS::TripleO::Services::NeutronCorePlugin | ||
- OS::TripleO::Services::NeutronDhcpAgent | ||
- OS::TripleO::Services::NeutronL2gwAgent | ||
- OS::TripleO::Services::NeutronL2gwApi | ||
- OS::TripleO::Services::NeutronL3Agent | ||
- OS::TripleO::Services::NeutronLinuxbridgeAgent | ||
- OS::TripleO::Services::NeutronMetadataAgent | ||
- OS::TripleO::Services::NeutronOvsAgent | ||
- OS::TripleO::Services::NeutronSfcApi | ||
- OS::TripleO::Services::NeutronVppAgent | ||
- OS::TripleO::Services::NovaApi | ||
- OS::TripleO::Services::NovaConductor | ||
- OS::TripleO::Services::NovaIronic | ||
- OS::TripleO::Services::NovaMetadata | ||
- OS::TripleO::Services::NovaScheduler | ||
{%- if compute_driver | default('libvirt') == 'libvirt' %} | ||
- OS::TripleO::Services::NovaCompute | ||
- OS::TripleO::Services::NovaLibvirt | ||
- OS::TripleO::Services::NovaMigrationTarget | ||
{%- endif %} | ||
- OS::TripleO::Services::NovaVncProxy | ||
- OS::TripleO::Services::OVNController | ||
- OS::TripleO::Services::OVNDBs | ||
- OS::TripleO::Services::OVNMetadataAgent | ||
- OS::TripleO::Services::OctaviaApi | ||
- OS::TripleO::Services::OctaviaDeploymentConfig | ||
- OS::TripleO::Services::OctaviaHealthManager | ||
- OS::TripleO::Services::OctaviaHousekeeping | ||
- OS::TripleO::Services::OctaviaWorker | ||
- OS::TripleO::Services::OpenStackClients | ||
- OS::TripleO::Services::OsloMessagingNotify | ||
- OS::TripleO::Services::OsloMessagingRpc | ||
- OS::TripleO::Services::Pacemaker | ||
- OS::TripleO::Services::PlacementApi | ||
- OS::TripleO::Services::Podman | ||
- OS::TripleO::Services::Redis | ||
- OS::TripleO::Services::Rhsm | ||
- OS::TripleO::Services::Rsyslog | ||
- OS::TripleO::Services::RsyslogSidecar | ||
- OS::TripleO::Services::Securetty | ||
- OS::TripleO::Services::Snmp | ||
- OS::TripleO::Services::Sshd | ||
- OS::TripleO::Services::SwiftDispersion | ||
- OS::TripleO::Services::SwiftProxy | ||
- OS::TripleO::Services::SwiftRingBuilder | ||
- OS::TripleO::Services::SwiftStorage | ||
- OS::TripleO::Services::Timesync | ||
- OS::TripleO::Services::Timezone | ||
- OS::TripleO::Services::Tmpwatch | ||
- OS::TripleO::Services::TripleoFirewall | ||
- OS::TripleO::Services::TripleoPackages | ||
- OS::TripleO::Services::Unbound | ||
- OS::TripleO::Services::Tuned | ||
- OS::TripleO::Services::Vpp |