Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Introduction

Assumptions

  1. All the hardware are Uniform
    1. Same number of NICs with same PCI ids
    2. Same number of disks with same addresses.
  2. Everything is named and their names are used for reference - In Airship, the name if the filename is not important, but the name in the 'schema' (found in schema/metadata/name) is important.

Deployment Configuration and Strategy

...

Table of Contents

Introduction


Assumptions

  1. All the hardware are Uniform
    1. Same number of NICs with same PCI ids
    2. Same number of disks with same addresses.
  2. Everything is named and their names are used for reference - In Airship, the name if the filename is not important, but the name in the 'schema' (found in schema/metadata/name) is important.

Deployment Configuration and Strategy

ParameterSub-Category-1Sub-Category-2DescriptionExample Value
physical_provisioner




deployment_strategy

Name of the strategy to use. User can use the one that is defined in airshipit/treasuremap/global/deployment

See below.

deployment-strategy

deploy_interval



deploy_timeout



destroy_interval



destroy_timeout



join_wait



prepare_node_interval



prepare_node_timeout



prepare_site_interval



prepare_site_timeout



verify_interval



verify_timeout


kubernetes




node_status_interval



node_status_timeout


kubernetes_provisioner




drain_timeout



drain_grace_period



clear_labels_timeout



remove_etcd_timeout



etcd_ready_timeout


armada+




get_releases_timeout



get_status_timeout



manifest+



post_apply_timeout



validate_design_timeout


Deployment-Strategy
groups

named sets of nodes that will be deployed together.

name
name of the groupmasters

critical
if this group is required to continue to additional phases of deploymenttrue

depends_on
Group names that must be successful before this group can be processed[]

selectors
A list of identifying information to indicate the nodes that are members of this group


node_names
node01


node_labels
ucp_control_plane: enabled


node_tags
control


rack_names
rack01

success_criteria

A list of identifying information to indicate the nodes that are members of this group.

When no criteria are specified, it means that no checks are done - processing continues as if nothing is wrong




percent_successful_nodesThe calculated success rate of nodes completing the deployment phase.75 would mean that 3 of 4 nodes must complete the phase successfully


minimum_successful_nodesAn integer indicating how many nodes must complete the phase to be considered successful3


maximum_failed_nodesAn integer indicating a number of nodes that are allowed to have failed the deployment phase and still consider that group successful.0


Typical Ordering of groups:


 __________     __________________
|
ntp-node | | monitoring-nodes | ---------- ------------------ | ____V__________ | control-nodes | --------------- |_________________________ | | ______V__________ ______V__________ | compute-nodes-1 | | compute-nodes-2 | ----------------- -----------------


Profiles

There are two important categories of profiles that the user should create to match their environment:

...

ParameterDescriptionExample-Value
vendorVendor of the server chassisIntel
generationGeneration of the chassis model'4'
hw_versionVersion of the chassis model within its generation'3'
bios_versionThe certified version of the chassis BIOS'SE5C ....
boot_modeMode of the default boot of hardware - bios, uefibios
bootstrap_protocolProtocol of boot of the hardware - pxe, usb, hdd'pxe
pxe_interfaceWhich interface to use for network booting within the OOB manager, not OS device0

Device-Aliases:

NICs:

User can categorize the NICs in the hardware as control-plane nics or dataplane nics. In each category he can have one or more NICs.  For example, he can define ctrl_nic1, ctrl_nic2, ctrl_nic3, and data_nic1, data_nic2, data_nic3, etc.  It is better to use names that are self-explanatory - for example, if you have a separate NIC for PXE, name it as pxe_nic. This categorization will be referred in the host-profiles.  For every NIC defined, the below information can be configured. 

...

ParameterDescriptionExample Value
addressThe PCI address of the NIC0000:04:00.0
dev_typeDescription of the NIC'I350 Gigabit Network Connection'
bus_typeThe bus supported'pci'

...

ParameterDescriptionExample Value
addressThe bus address of the Disk0:2.0.0
dev_type

Description of the disk.

'INTEL SSDSC2BB48'
bus_typeThe bus supported'scsi'

...

ParameterSub-category-1Sub-category-2DescriptionExample Value
cpu_set




kvm

'4-43,48-87'
huge_pages




dpdk




size
'1G'


count
32

Host Profiles

The host profiles Following things are covered:

...

Parameter CategorySub-Category-1Sub-Category-2DescriptionExample Value 1Example Value 2
hardware_profileNANAThe hardware profile used by the hostintel_2600.yaml
primary_networkNANAThe main network used for administrationdmz
Interfaces



NANADefine each and every interfaces of the host in detail.

Name


NAName of the Interfacedmzdata1
device_linkThe name of the network link.dmzdata1
slavesNIC Aliases ctrl_nic1data_nic1
networksThe networks this interface belongs to.dmz

- private

- management













...

Source 

(as mentioned in commonaddress.yaml)

Destination
.genesis.hostname.values.nodes[0].name
.masters[0].hostname.values.nodes[1].name
.masters[1].hostname.values.nodes[2].name


Source 

Destination
certificate of calico-etcd-<podname>-node1.values.nodes[0].tls.client.cert
certificate-key calico-etcd-<podname>-node1.values.nodes[0].tls.client.key
certificate of calico-etcd-<podname>-node1-peer.values.nodes[0].tls.peer.cert
certificate-key of calico-etcd-<podname>-node1-peer.values.nodes[0].tls.peer.key
certificate of calico-etcd-<podname>-node2.values.nodes[1].tls.client.cert
certificate-key calico-etcd-<podname>-node2.values.nodes[1].tls.client.key
certificate of calico-etcd-<podname>-node2-peer.values.nodes[1].tls.peer.cert
certificate-key of calico-etcd-<podname>-node2-peer.values.nodes[1].tls.peer.key
certificate of calico-etcd-<podname>-node3.values.nodes[2].tls.client.cert
certificate-key calico-etcd-<podname>-node3.values.nodes[2].tls.client.key
certificate of calico-etcd-<podname>-node3-peer.values.nodes[2].tls.peer.cert
certificate-key of calico-etcd-<podname>-node3-peer.values.nodes[2].tls.peer.key

Undercloud Platform


Ceph


Openstack helm Infra

...

Parametersub-categoryDescriptionExample-Value
osh



region_nameThe region name to use. Typically Site name is provided.intel-pod10



PKI-Catalog

Parametersub-category-1sub-category-2DescriptionExample Value
certificate_authorities




description



certificates




document_name



description



common_name



hosts



groups

keypairs




name



description


...