Skip to content

sriov_interface not binding not able to start instances #222

@rojohn2

Description

@rojohn2

#vi:syntax=yaml

parameter_defaults:
CloudName: standalone.shiftstack
ContainerCli: podman
Debug: true
DeploymentUser: stack
DnsServers:
- 10.122.3.10

needed for vip & pacemaker

KernelIpNonLocalBind: 1

For OSP16

ExtraSysctlSettings:
net.ipv6.conf.all.forwarding:
value: 1

For OSP17 and beyond

KernelIpv6ConfAllForwarding: 1
DockerInsecureRegistryAddress:
- 192.168.24.2:8787

domain name used by the host

CloudDomain: shiftstack
NeutronDnsDomain: shiftstack
NeutronBridgeMappings: external:br-ex,hostonly:br-hostonly
NeutronFlatNetworks: external,hostonly,hostonly-sriov
NeutronGlobalPhysnetMtu: 1400
OVNCMSOptions: "enable-chassis-as-gw"
NeutronPhysicalDevMappings: "hostonly:ens3f0"
NovaPCIPassthrough:
- vendor_id: "8086"
product_id: "158b"
address: "0000:11:0*.*"
physical_network: "hostonly"
KernelArgs: "intel_iommu=on"
StandaloneEnableRoutedNetworks: false
StandaloneHomeDir: "/home/stack"
InterfaceLocalMtu: 1500
SELinuxMode: permissive

For OSP17+:

StandaloneNetworkConfigTemplate: "/home/stack/dev-install_net_config.yaml"

For OSP16:

StandaloneNetConfigOverride:
network_config:
- {'type': 'ovs_bridge', 'name': 'br-ex', 'use_dhcp': True, 'mtu': 1600, 'ovs_extra': ['br-set-external-id br-ex bridge-id br-ex'], 'members': [{'type': 'interface', 'name': 'ens3f0', 'primary': True, 'mtu': 1600}]}
- {'type': 'ovs_bridge', 'name': 'br-ctlplane', 'use_dhcp': False, 'ovs_extra': ['br-set-external-id br-ctlplane bridge-id br-ctlplane'], 'addresses': [{'ip_netmask': '192.168.24.1/24'}], 'members': [{'type': 'interface', 'name': 'dummy0', 'nm_controlled': True, 'mtu': 1600}]}
- {'type': 'ovs_bridge', 'name': 'br-hostonly', 'use_dhcp': False, 'ovs_extra': ['br-set-external-id br-hostonly bridge-id br-hostonly'], 'addresses': [{'ip_netmask': '192.168.25.1/32'}, {'ip_netmask': '2001:db8::1/64'}], 'routes': [{'destination': '192.168.25.0/24', 'nexthop': '192.168.25.1'}], 'members': [{'type': 'interface', 'name': 'dummy1', 'nm_controlled': True, 'mtu': 1600}]}
- {'type': 'sriov_pf', 'name': 'ens3f0', 'numvfs': 63, 'mtu': 9000, 'use_dhcp': False, 'defroute': False, 'nm_controlled': True, 'hotplug': True, 'promisc': False, 'addresses': [{'ip_netmask': '192.168.26.1/24'}]}
OctaviaGenerateCerts: true
OctaviaCaKeyPassphrase: "secrete"
OctaviaAmphoraSshKeyFile: "/home/stack/octavia.pub"
OctaviaAmphoraImageFilename: "/home/stack/amphora.qcow2"
BarbicanSimpleCryptoGlobalDefault: true
CinderApiPolicies:
cinder-vol-state-set:
key: "volume_extension:volume_admin_actions:reset_status"
value: "rule:admin_or_owner"
cinder-vol-force-detach:
key: "volume_extension:volume_admin_actions:force_detach"
value: "rule:admin_or_owner"

We never want the node to reboot during tripleo deploy, but defer to later

KernelArgsDeferReboot: true
StandaloneExtraGroupVars:
tripleo_kernel_defer_reboot: true

Configure Nova to use preallocated raw disks for consistent storage

performance.

NovaComputeUseCowImages: false
NovaComputeLibvirtPreAllocateImages: space

NtpServer: 10.122.3.10
ContainerImageRegistryCredentials:
registry.redhat.io:
xxx@xxxx.com: 'xxxxx'
ContainerImageRegistryLogin: true

sriov interface is not mapping in nova.conf in nova compute
also how we can add mutiple sriov interfaces

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions