From c700639e5a29b1907976519918969b752d5be1e7 Mon Sep 17 00:00:00 2001 From: James Gu Date: Wed, 30 Sep 2020 16:06:14 -0700 Subject: Upgrade intel pod 15 to Airship 1.8 Depends: https://gerrit.opnfv.org/gerrit/c/airship/+/70158 Change-Id: Ic9b8a56de430d02f2f21e053a40c9c29ab40433f Signed-off-by: James Gu --- .../intel-pod15/profiles/hardware/intel-pod15.yaml | 94 ----------------- .../profiles/hardware/intel-s2600wt.yaml | 76 ++++++++++++++ site/intel-pod15/profiles/host/cp-intel-pod15.yaml | 105 ------------------- site/intel-pod15/profiles/host/dp-intel-pod15.yaml | 112 --------------------- site/intel-pod15/profiles/region.yaml | 16 +-- 5 files changed, 80 insertions(+), 323 deletions(-) delete mode 100644 site/intel-pod15/profiles/hardware/intel-pod15.yaml create mode 100644 site/intel-pod15/profiles/hardware/intel-s2600wt.yaml delete mode 100644 site/intel-pod15/profiles/host/cp-intel-pod15.yaml delete mode 100644 site/intel-pod15/profiles/host/dp-intel-pod15.yaml (limited to 'site/intel-pod15/profiles') diff --git a/site/intel-pod15/profiles/hardware/intel-pod15.yaml b/site/intel-pod15/profiles/hardware/intel-pod15.yaml deleted file mode 100644 index 207ee94..0000000 --- a/site/intel-pod15/profiles/hardware/intel-pod15.yaml +++ /dev/null @@ -1,94 +0,0 @@ ---- -schema: 'drydock/HardwareProfile/v1' -metadata: - schema: 'metadata/Document/v1' - name: intel-pod15 - layeringDefinition: - abstract: false - layer: site - storagePolicy: cleartext -data: - # Vendor of the server chassis - vendor: Intel - # Generation of the chassis model - generation: '4' - # Version of the chassis model within its generation - not version of the hardware definition - hw_version: '3' - # The certified version of the chassis BIOS - bios_version: 'SE5C610.86B.01.01.0019.101220160604' - # Mode of the default boot of hardware - bios, uefi - boot_mode: bios - # Protocol of boot of the hardware - pxe, usb, hdd - bootstrap_protocol: pxe - # Which interface to use for network booting within the OOB manager, not OS device - pxe_interface: 0 - - # Map hardware addresses to aliases/roles to allow a mix of hardware configs - # in a site to result in a consistent configuration - - device_aliases: - ## network - # $ sudo lspci |grep -i ethernet - # 02:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01) - # 02:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01) - # 04:00.0 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01) - # 04:00.3 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01) - # control networks - # eno1 - ctrl_nic1: - address: '0000:03:00.0' - dev_type: 'I350 Gigabit Network Connection' - bus_type: 'pci' - # eno2 - ctrl_nic2: - address: '0000:03:00.3' - dev_type: 'I350 Gigabit Network Connection' - bus_type: 'pci' - - # data networks - # ens785f1 - data_nic1: - address: '0000:05:00.1' - dev_type: '82599ES 10-Gigabit SFI/SFP+ Network Connection' - bus_type: 'pci' - # ens785f0 - data_nic2: - address: '0000:05:00.0' - dev_type: '82599ES 10-Gigabit SFI/SFP+ Network Connection' - bus_type: 'pci' - - ## storage - # $ sudo lshw -c disk - # *-disk - # description: ATA Disk - # product: INTEL SSDSC2BB58 - # physical id: 0.0.0 - # bus info: scsi@0:0.0.0 - # logical name: /dev/sda - # version: 0101 - # size: 447GiB (480GB) - # *-disk - # description: ATA Disk - # product: TOSHIBA MG03ACA1 - # physical id: 0.0.0 - # bus info: scsi@1:0.0.0 - # logical name: /dev/sdb - # version: FL2H - # size: 931GiB (1TB) - # /dev/sda - bootdisk: - address: '0:0.0.0' - dev_type: 'SSDSC2BB48' - bus_type: 'scsi' - # /dev/sdb - datadisk: - address: '1:0.0.0' - dev_type: 'MG03ACA1' - bus_type: 'scsi' - cpu_sets: - kvm: '4-43,48-87' - hugepages: - dpdk: - size: '1G' - count: 32 -... diff --git a/site/intel-pod15/profiles/hardware/intel-s2600wt.yaml b/site/intel-pod15/profiles/hardware/intel-s2600wt.yaml new file mode 100644 index 0000000..2dcc43b --- /dev/null +++ b/site/intel-pod15/profiles/hardware/intel-s2600wt.yaml @@ -0,0 +1,76 @@ +--- +schema: 'drydock/HardwareProfile/v1' +metadata: + schema: 'metadata/Document/v1' + replacement: true + name: intel-s2600wt + layeringDefinition: + abstract: false + layer: site + parentSelector: + name: intel-s2600wt + actions: + - method: replace + path: .device_aliases + storagePolicy: cleartext +data: + device_aliases: + ## network + # $ sudo lspci |grep -i ethernet + # 02:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01) + # 02:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01) + # 04:00.0 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01) + # 04:00.3 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01) + # control networks + # eno1 + ctrl_nic1: + address: '0000:03:00.0' + dev_type: 'I350 Gigabit Network Connection' + bus_type: 'pci' + # eno2 + ctrl_nic2: + address: '0000:03:00.3' + dev_type: 'I350 Gigabit Network Connection' + bus_type: 'pci' + + # data networks + # ens785f0 + data_nic1: + address: '0000:05:00.0' + dev_type: '82599ES 10-Gigabit SFI/SFP+ Network Connection' + bus_type: 'pci' + # ens785f1 + data_nic2: + address: '0000:05:00.1' + dev_type: '82599ES 10-Gigabit SFI/SFP+ Network Connection' + bus_type: 'pci' + + ## storage + # $ sudo lshw -c disk + # *-disk + # description: ATA Disk + # product: INTEL SSDSC2BB58 + # physical id: 0.0.0 + # bus info: scsi@0:0.0.0 + # logical name: /dev/sda + # version: 0101 + # size: 447GiB (480GB) + # *-disk + # description: ATA Disk + # product: TOSHIBA MG03ACA1 + # physical id: 0.0.0 + # bus info: scsi@1:0.0.0 + # logical name: /dev/sdb + # version: FL2H + # size: 931GiB (1TB) + # /dev/sda + bootdisk: + address: '0:0.0.0' + dev_type: 'INTEL SSDSC2BB48' + bus_type: 'scsi' + # /dev/sdb + datadisk: + address: '1:0.0.0' + dev_type: 'TOSHIBA MG03ACA1' + bus_type: 'scsi' +... diff --git a/site/intel-pod15/profiles/host/cp-intel-pod15.yaml b/site/intel-pod15/profiles/host/cp-intel-pod15.yaml deleted file mode 100644 index 5708f12..0000000 --- a/site/intel-pod15/profiles/host/cp-intel-pod15.yaml +++ /dev/null @@ -1,105 +0,0 @@ ---- -# The primary control plane host profile for Airship for DELL R720s, and -# should not need to be altered if you are using matching HW. The active -# participants in the Ceph cluster run on this profile. Other control plane -# services are not affected by primary vs secondary designation. -schema: drydock/HostProfile/v1 -metadata: - schema: metadata/Document/v1 - name: cp-intel-pod15 - storagePolicy: cleartext - layeringDefinition: - abstract: false - layer: site - parentSelector: - hosttype: cp-global - actions: - - method: replace - path: .interfaces - - method: replace - path: .storage - - method: merge - path: . -data: - hardware_profile: intel-pod15 - - primary_network: dmz - interfaces: - dmz: - device_link: dmz - slaves: - - ctrl_nic1 - networks: - - dmz - admin: - device_link: admin - slaves: - - ctrl_nic2 - networks: - - admin - data1: - device_link: data1 - slaves: - - data_nic1 - networks: - - private - - management - data2: - device_link: data2 - slaves: - - data_nic2 - networks: - - storage - - public - - storage: - physical_devices: - bootdisk: - labels: - bootdrive: 'true' - partitions: - - name: 'root' - size: '30g' - bootable: true - filesystem: - mountpoint: '/' - fstype: 'ext4' - mount_options: 'defaults' - - name: 'boot' - size: '1g' - filesystem: - mountpoint: '/boot' - fstype: 'ext4' - mount_options: 'defaults' - - name: 'var_log' - size: '100g' - filesystem: - mountpoint: '/var/log' - fstype: 'ext4' - mount_options: 'defaults' - - name: 'var' - size: '>100g' - filesystem: - mountpoint: '/var' - fstype: 'ext4' - mount_options: 'defaults' - - datadisk: - partitions: - - name: 'ceph' - size: '99%' - filesystem: - mountpoint: '/var/lib/ceph' - fstype: 'ext4' - mount_options: 'defaults' - - platform: - image: 'xenial' - kernel: 'hwe-16.04' - kernel_params: - kernel_package: 'linux-image-4.15.0-46-generic' - - metadata: - owner_data: - openstack-l3-agent: enabled -... diff --git a/site/intel-pod15/profiles/host/dp-intel-pod15.yaml b/site/intel-pod15/profiles/host/dp-intel-pod15.yaml deleted file mode 100644 index 25e8b52..0000000 --- a/site/intel-pod15/profiles/host/dp-intel-pod15.yaml +++ /dev/null @@ -1,112 +0,0 @@ ---- -# The data plane host profile for Airship for DELL R720s, and should -# not need to be altered if you are using matching HW. The host profile is setup -# for cpu isolation (for nova pinning), hugepages, and sr-iov. -schema: drydock/HostProfile/v1 -metadata: - schema: metadata/Document/v1 - name: dp-intel-pod15 - storagePolicy: cleartext - layeringDefinition: - abstract: false - layer: type - parentSelector: - hosttype: dp-global - actions: - - method: replace - path: .interfaces - - method: replace - path: .storage - - method: merge - path: . -data: - hardware_profile: intel-pod15 - - primary_network: dmz - interfaces: - dmz: - device_link: dmz - slaves: - - ctrl_nic1 - networks: - - dmz - admin: - device_link: admin - slaves: - - ctrl_nic2 - networks: - - admin - data1: - device_link: data1 - slaves: - - data_nic1 - networks: - - private - - management - data2: - device_link: data2 - slaves: - - data_nic2 - networks: - - storage - - public - - storage: - physical_devices: - bootdisk: - labels: - bootdrive: 'true' - partitions: - - name: 'root' - size: '30g' - bootable: true - filesystem: - mountpoint: '/' - fstype: 'ext4' - mount_options: 'defaults' - - name: 'boot' - size: '1g' - filesystem: - mountpoint: '/boot' - fstype: 'ext4' - mount_options: 'defaults' - - name: 'log' - size: '100g' - filesystem: - mountpoint: '/var/log' - fstype: 'ext4' - mount_options: 'defaults' - - name: 'var' - size: '>100g' - filesystem: - mountpoint: '/var' - fstype: 'ext4' - mount_options: 'defaults' - - datadisk: - partitions: - - name: 'ceph' - size: '99%' - filesystem: - mountpoint: '/var/lib/ceph' - fstype: 'ext4' - mount_options: 'defaults' - - platform: - image: 'xenial' - kernel: 'hwe-16.04' - kernel_params: - kernel_package: 'linux-image-4.15.0-46-generic' - intel_iommu: 'on' - iommu: 'pt' - amd_iommu: 'on' - cgroup_disable: 'hugetlb' - transparent_hugepage: 'never' - hugepagesz: 'hardwareprofile:hugepages.dpdk.size' - hugepages: 'hardwareprofile:hugepages.dpdk.count' - default_hugepagesz: 'hardwareprofile:hugepages.dpdk.size' - isolcpus: 'hardwareprofile:cpuset.kvm' - metadata: - owner_data: - sriov: enabled -... diff --git a/site/intel-pod15/profiles/region.yaml b/site/intel-pod15/profiles/region.yaml index fd8d987..8db707a 100644 --- a/site/intel-pod15/profiles/region.yaml +++ b/site/intel-pod15/profiles/region.yaml @@ -1,5 +1,5 @@ --- -# The purpose of this file is to define the drydock Region, which in turn drives +# The purpose of this file is to define the Drydock Region, which in turn drives # the MaaS region. schema: 'drydock/Region/v1' metadata: @@ -17,7 +17,7 @@ metadata: schema: pegleg/SoftwareVersions/v1 name: software-versions path: .packages.repositories.main_archive - # NEWSITE-CHANGEME: Substitutions from deckhand SSH public keys into the + # NEWSITE-CHANGEME: Substitutions from Deckhand SSH public keys into the # list of authorized keys which MaaS will register for the build-in "ubuntu" # account during the PXE process. Create a substitution rule for each SSH # key that should have access to the "ubuntu" account (useful for trouble- @@ -30,7 +30,7 @@ metadata: schema: deckhand/PublicKey/v1 # This should match the "name" metadata of the SSH key which will be # substituted, located in site/intel-pod15/secrets folder. - name: sridhar_ssh_public_key + name: jenkins_ssh_public_key path: . - dest: # Increment the list index @@ -38,15 +38,7 @@ metadata: src: schema: deckhand/PublicKey/v1 # your ssh key - name: mfix_ssh_public_key - path: . - - dest: - # Increment the list index - path: .authorized_keys[2] - src: - schema: deckhand/PublicKey/v1 - # your ssh key - name: cedric_ssh_public_key + name: jamesg_ssh_public_key path: . data: tag_definitions: [] -- cgit 1.2.3-korg