"Fossies" - the Fresh Open Source Software Archive

Member "ironic-16.0.3/zuul.d/ironic-jobs.yaml" (18 Jan 2021, 32498 Bytes) of package /linux/misc/openstack/ironic-16.0.3.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ansible YAML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "ironic-jobs.yaml": 16.0.2_vs_16.0.3.

    1 - job:
    2     name: ironic-base
    3     abstract: true
    4     description: Base job for devstack/tempest based ironic jobs.
    5     parent: devstack-tempest
    6     nodeset: openstack-single-node-focal
    7     post-run: playbooks/ci-workarounds/get_tftpd.yaml
    8     timeout: 10800
    9     required-projects:
   10       - openstack/ironic
   11       - openstack/ironic-python-agent
   12       - openstack/ironic-python-agent-builder
   13       - openstack/ironic-tempest-plugin
   14       - openstack/virtualbmc
   15     irrelevant-files:
   16       - ^.*\.rst$
   17       - ^api-ref/.*$
   18       - ^doc/.*$
   19       - ^driver-requirements.txt$
   20       - ^install-guide/.*$
   21       - ^ironic/locale/.*$
   22       - ^ironic/tests/.*$
   23       - ^releasenotes/.*$
   24       - ^setup.cfg$
   25       - ^test-requirements.txt$
   26       - ^tools/.*$
   27       - ^tox.ini$
   28     vars:
   29       tox_envlist: all
   30       tempest_test_timeout: 2400
   31       tempest_test_regex: ironic_tempest_plugin.tests.scenario
   32       tempest_concurrency: 1
   33       devstack_localrc:
   34         DEFAULT_INSTANCE_TYPE: baremetal
   35         FORCE_CONFIG_DRIVE: True
   36         INSTALL_TEMPEST: False # Don't install a tempest package globaly
   37         VIRT_DRIVER: ironic
   38         BUILD_TIMEOUT: 1800
   39         IRONIC_BAREMETAL_BASIC_OPS: True
   40         IRONIC_BUILD_DEPLOY_RAMDISK: False
   41         IRONIC_CALLBACK_TIMEOUT: 1800
   42         IRONIC_DEPLOY_DRIVER: ipmi
   43         IRONIC_INSPECTOR_BUILD_RAMDISK: False
   44         IRONIC_INSPECTOR_TEMPEST_INTROSPECTION_TIMEOUT: 1200
   45         IRONIC_TEMPEST_BUILD_TIMEOUT: 1800
   46         IRONIC_TEMPEST_WHOLE_DISK_IMAGE: False
   47         IRONIC_VM_COUNT: 2
   48         IRONIC_VM_EPHEMERAL_DISK: 1
   49         IRONIC_VM_SPECS_RAM: 3072
   50         IRONIC_VM_LOG_DIR: '{{ devstack_base_dir }}/ironic-bm-logs'
   51         # NOTE(dtantsur): in some jobs we end up with 12 disks total, so reduce
   52         # each of them. For don't need all 10 GiB for CirrOS anyway.
   53         IRONIC_VM_SPECS_DISK: 4
   54         IRONIC_VM_SPECS_CPU: 2
   55         Q_AGENT: openvswitch
   56         Q_ML2_TENANT_NETWORK_TYPE: vxlan
   57         Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
   58         SERVICE_TIMEOUT: 90
   59       devstack_plugins:
   60         ironic: https://opendev.org/openstack/ironic
   61       tempest_plugins:
   62         - ironic-tempest-plugin
   63       zuul_copy_output:
   64         '{{ devstack_base_dir }}/ironic-bm-logs': 'logs'
   65         '{{ devstack_base_dir }}/data/networking-generic-switch/netmiko_session.log': 'logs'
   66       devstack_services:
   67         # TODO: re-enable dstat once https://storyboard.openstack.org/#!/story/2008185
   68         # is resolved
   69         dstat: false
   70         q-agt: true
   71         q-dhcp: true
   72         q-l3: true
   73         q-meta: true
   74         q-metering: true
   75         q-svc: true
   76         ovn-controller: false
   77         ovn-northd: false
   78         q-ovn-metadata-agent: false
   79         c-api: False
   80         c-bak: False
   81         c-sch: False
   82         c-vol: False
   83         cinder: False
   84         s-account: False
   85         s-container: False
   86         s-object: False
   87         s-proxy: False
   88 
   89 - job:
   90     name: ironic-standalone
   91     description:
   92       Test ironic standalone configured with ipmi hardware type, iscsi and
   93       direct deploy interfaces, rescue enabled.
   94     parent: ironic-base
   95     irrelevant-files:
   96       - ^.*\.rst$
   97       - ^api-ref/.*$
   98       - ^doc/.*$
   99       - ^install-guide/.*$
  100       - ^ironic/locale/.*$
  101       - ^ironic/tests/.*$
  102       - ^releasenotes/.*$
  103       - ^setup.cfg$
  104       - ^test-requirements.txt$
  105       - ^tools/.*$
  106       - ^tox.ini$
  107     vars:
  108       tempest_test_regex: ironic_standalone
  109       tempest_concurrency: 2
  110       devstack_localrc:
  111         FORCE_CONFIG_DRIVE: False
  112         IRONIC_AGENT_IMAGE_DOWNLOAD_SOURCE: http
  113         IRONIC_AUTOMATED_CLEAN_ENABLED: False
  114         IRONIC_DEFAULT_RESCUE_INTERFACE: agent
  115         IRONIC_ENABLED_HARDWARE_TYPES: ipmi
  116         IRONIC_ENABLED_DEPLOY_INTERFACES: "iscsi,direct,ramdisk"
  117         IRONIC_ENABLED_RESCUE_INTERFACES: "agent,no-rescue"
  118         IRONIC_JSON_RPC_AUTH_STRATEGY: 'http_basic'
  119         IRONIC_RAMDISK_TYPE: tinyipa
  120         IRONIC_RPC_TRANSPORT: json-rpc
  121         IRONIC_VM_SPECS_RAM: 512
  122         IRONIC_VM_SPECS_CPU: 1
  123         IRONIC_VM_COUNT: 4
  124         IRONIC_VM_VOLUME_COUNT: 2
  125         # We're using a lot of disk space in this job. Some testing nodes have
  126         # a small root partition, so use /opt which is mounted from a bigger
  127         # ephemeral partition on such nodes
  128         LIBVIRT_STORAGE_POOL_PATH: /opt/libvirt/images
  129       devstack_services:
  130         n-api: False
  131         n-api-meta: False
  132         n-cauth: False
  133         n-cond: False
  134         n-cpu: False
  135         n-novnc: False
  136         n-obj: False
  137         n-sch: False
  138         nova: False
  139         placement-api: False
  140         s-account: False
  141         s-container: False
  142         s-object: False
  143         s-proxy: False
  144 
  145 - job:
  146     name: ironic-standalone-redfish
  147     parent: ironic-base
  148     description:
  149       Test ironic standalone configured with redfish hardware type, iscsi and
  150       direct and ansible deploy interfaces, rescue it's not enabled.
  151     required-projects:
  152       - openstack/sushy-tools
  153     irrelevant-files:
  154       - ^.*\.rst$
  155       - ^api-ref/.*$
  156       - ^doc/.*$
  157       - ^install-guide/.*$
  158       - ^ironic/locale/.*$
  159       - ^ironic/tests/.*$
  160       - ^releasenotes/.*$
  161       - ^setup.cfg$
  162       - ^test-requirements.txt$
  163       - ^tools/.*$
  164       - ^tox.ini$
  165     vars:
  166       tempest_test_regex: ironic_standalone
  167       tempest_concurrency: 2
  168       devstack_localrc:
  169         FORCE_CONFIG_DRIVE: False
  170         IRONIC_AGENT_IMAGE_DOWNLOAD_SOURCE: http
  171         IRONIC_AUTOMATED_CLEAN_ENABLED: False
  172         IRONIC_DEPLOY_DRIVER: redfish
  173         IRONIC_ENABLED_BOOT_INTERFACES: "ipxe,redfish-virtual-media"
  174         IRONIC_ENABLED_HARDWARE_TYPES: redfish
  175         IRONIC_ENABLED_POWER_INTERFACES: redfish
  176         IRONIC_ENABLED_MANAGEMENT_INTERFACES: redfish
  177         IRONIC_ENABLED_DEPLOY_INTERFACES: "iscsi,direct,ansible,ramdisk"
  178         IRONIC_RPC_TRANSPORT: json-rpc
  179         IRONIC_RAMDISK_TYPE: tinyipa
  180         IRONIC_VM_COUNT: 4
  181         IRONIC_VM_VOLUME_COUNT: 2
  182         IRONIC_VM_SPECS_RAM: 512
  183         IRONIC_VM_SPECS_CPU: 1
  184         # We're using a lot of disk space in this job. Some testing nodes have
  185         # a small root partition, so use /opt which is mounted from a bigger
  186         # ephemeral partition on such nodes
  187         LIBVIRT_STORAGE_POOL_PATH: /opt/libvirt/images
  188       devstack_services:
  189         n-api: False
  190         n-api-meta: False
  191         n-cauth: False
  192         n-cond: False
  193         n-cpu: False
  194         n-novnc: False
  195         n-obj: False
  196         n-sch: False
  197         nova: False
  198         placement-api: False
  199         s-account: False
  200         s-container: False
  201         s-object: False
  202         s-proxy: False
  203 
  204 - job:
  205     name: ironic-tempest-partition-bios-redfish-pxe
  206     description: "Deploy ironic node over PXE using BIOS boot mode"
  207     parent: ironic-base
  208     required-projects:
  209       - openstack/sushy-tools
  210     vars:
  211       devstack_localrc:
  212         IRONIC_DEPLOY_DRIVER: redfish
  213         IRONIC_ENABLED_HARDWARE_TYPES: redfish
  214         IRONIC_ENABLED_POWER_INTERFACES: redfish
  215         IRONIC_ENABLED_MANAGEMENT_INTERFACES: redfish
  216         IRONIC_AUTOMATED_CLEAN_ENABLED: False
  217         IRONIC_DEFAULT_BOOT_OPTION: netboot
  218 
  219 - job:
  220     name: ironic-tempest-partition-uefi-redfish-vmedia
  221     description: "Deploy ironic node over Redfish virtual media using UEFI boot mode"
  222     parent: ironic-tempest-partition-bios-redfish-pxe
  223     vars:
  224       devstack_localrc:
  225         IRONIC_BOOT_MODE: uefi
  226         IRONIC_ENABLED_BOOT_INTERFACES: redfish-virtual-media
  227         SWIFT_ENABLE_TEMPURLS: True
  228         SWIFT_TEMPURL_KEY: secretkey
  229         IRONIC_AUTOMATED_CLEAN_ENABLED: False
  230         # Ironic has to master a new image, and this CAN take longer as a
  231         # result and makes this job VERY sensitive to heavy disk IO of the
  232         # underlying hypervisor/cloud.
  233         IRONIC_CALLBACK_TIMEOUT: 800
  234       devstack_services:
  235         s-account: True
  236         s-container: True
  237         s-object: True
  238         s-proxy: True
  239 
  240 - job:
  241     name: ironic-inspector-tempest-partition-bios-redfish-vmedia
  242     description: "Inspect and deploy ironic node over Redfish virtual media using legacy BIOS boot mode"
  243     parent: ironic-tempest-partition-uefi-redfish-vmedia
  244     required-projects:
  245       - openstack/ironic-inspector
  246     vars:
  247       # NOTE(dtantsur): the inspector job includes booting an instance too.
  248       # Excluding the abort tests since it hits "node locked" too often.
  249       tempest_test_regex: test_baremetal_introspection
  250       devstack_localrc:
  251         IRONIC_BOOT_MODE: bios
  252         IRONIC_INSPECTOR_MANAGED_BOOT: True
  253         IRONIC_INSPECTOR_NODE_NOT_FOUND_HOOK: ''
  254         IRONIC_AUTOMATED_CLEAN_ENABLED: False
  255         IRONIC_VM_COUNT: 1
  256       devstack_plugins:
  257         ironic-inspector: https://opendev.org/openstack/ironic-inspector
  258       devstack_services:
  259         ironic-inspector: True
  260         ironic-inspector-dhcp: True
  261 
  262 - job:
  263     name: ironic-tempest-pxe_ipmitool-postgres
  264     description: ironic-tempest-pxe_ipmitool-postgres
  265     parent: ironic-base
  266     vars:
  267       devstack_localrc:
  268         IRONIC_ENABLED_BOOT_INTERFACES: "fake,pxe"
  269         IRONIC_IPXE_ENABLED: False
  270         IRONIC_AUTOMATED_CLEAN_ENABLED: False
  271         IRONIC_DEFAULT_BOOT_OPTION: netboot
  272       devstack_services:
  273         mysql: False
  274         postgresql: True
  275 
  276 # NOTE(rpittau): converted job but not running for now as there
  277 # could be an issue with the lookup in ironic-python-agent
  278 - job:
  279     name: ironic-tempest-ipa-wholedisk-bios-agent_ipmitool
  280     description: ironic-tempest-ipa-wholedisk-bios-agent_ipmitool
  281     parent: ironic-base
  282     vars:
  283       devstack_localrc:
  284         IRONIC_DEFAULT_RESCUE_INTERFACE: agent
  285         IRONIC_ENABLED_RESCUE_INTERFACES: "fake,agent,no-rescue"
  286         IRONIC_TEMPEST_WHOLE_DISK_IMAGE: True
  287         IRONIC_VM_EPHEMERAL_DISK: 0
  288         IRONIC_VM_SPECS_RAM: 3096
  289         SWIFT_ENABLE_TEMPURLS: True
  290         SWIFT_TEMPURL_KEY: secretkey
  291       devstack_services:
  292         s-account: True
  293         s-container: True
  294         s-object: True
  295         s-proxy: True
  296 
  297 - job:
  298     name: ironic-tempest-wholedisk-bios-snmp-pxe
  299     description: SNMP power, no-op management, netboot and whole disk images.
  300     parent: ironic-base
  301     vars:
  302       devstack_localrc:
  303         IRONIC_ENABLED_HARDWARE_TYPES: snmp
  304         IRONIC_DEPLOY_DRIVER: snmp
  305         IRONIC_TEMPEST_WHOLE_DISK_IMAGE: True
  306         IRONIC_VM_EPHEMERAL_DISK: 0
  307         IRONIC_AUTOMATED_CLEAN_ENABLED: False
  308 
  309 - job:
  310     name: ironic-tempest-ipa-partition-uefi-pxe_ipmitool
  311     description: ironic-tempest-ipa-partition-uefi-pxe_ipmitool
  312     parent: ironic-base
  313     vars:
  314       devstack_localrc:
  315         IRONIC_BOOT_MODE: uefi
  316         IRONIC_VM_SPECS_RAM: 4096
  317         IRONIC_AUTOMATED_CLEAN_ENABLED: False
  318         IRONIC_DEFAULT_BOOT_OPTION: netboot
  319 
  320 - job:
  321     name: ironic-tempest-ipa-partition-pxe_ipmitool
  322     description: ironic-tempest-ipa-partition-pxe_ipmitool that also tests cleaning.
  323     parent: ironic-base
  324     vars:
  325       devstack_localrc:
  326         IRONIC_DEFAULT_BOOT_OPTION: netboot
  327         IRONIC_AUTOMATED_CLEAN_ENABLED: True
  328 
  329 
  330 - job:
  331     name: ironic-tempest-bfv
  332     description: ironic-tempest-bfv
  333     parent: ironic-base
  334     vars:
  335       tempest_test_regex: baremetal_boot_from_volume
  336       devstack_localrc:
  337         IRONIC_ENABLED_STORAGE_INTERFACES: cinder,noop
  338         IRONIC_STORAGE_INTERFACE: cinder
  339         IRONIC_ENABLED_BOOT_INTERFACES: ipxe,pxe,fake
  340         IRONIC_DEFAULT_BOOT_INTERFACE: ipxe
  341         IRONIC_TEMPEST_WHOLE_DISK_IMAGE: True
  342         IRONIC_VM_EPHEMERAL_DISK: 0
  343         IRONIC_VM_COUNT: 3
  344         IRONIC_AUTOMATED_CLEAN_ENABLED: False
  345         SWIFT_ENABLE_TEMPURLS: True
  346         SWIFT_TEMPURL_KEY: secretkey
  347       devstack_services:
  348         c-api: True
  349         c-bak: True
  350         c-sch: True
  351         c-vol: True
  352         cinder: True
  353 
  354 - job:
  355     name: ironic-inspector-tempest
  356     description: ironic-inspector-tempest
  357     parent: ironic-base
  358     required-projects:
  359       - openstack/ironic-inspector
  360     vars:
  361       tempest_test_regex: InspectorBasicTest
  362       devstack_localrc:
  363         IRONIC_INSPECTOR_MANAGE_FIREWALL: True
  364         IRONIC_TEMPEST_WHOLE_DISK_IMAGE: True
  365         IRONIC_VM_EPHEMERAL_DISK: 0
  366         IRONIC_VM_COUNT: 1
  367         IRONIC_AUTOMATED_CLEAN_ENABLED: False
  368         SWIFT_ENABLE_TEMPURLS: True
  369         SWIFT_TEMPURL_KEY: secretkey
  370         IRONIC_DEFAULT_BOOT_OPTION: netboot
  371       devstack_plugins:
  372         ironic-inspector: https://opendev.org/openstack/ironic-inspector
  373       devstack_services:
  374         s-account: True
  375         s-container: True
  376         s-object: True
  377         s-proxy: True
  378 
  379 - job:
  380     name: ironic-tempest-functional-python3
  381     description: ironic-tempest-functional-python3
  382     parent: ironic-base
  383     pre-run: playbooks/ci-workarounds/etc-neutron.yaml
  384     vars:
  385       tempest_test_regex: ironic_tempest_plugin.tests.api
  386       devstack_localrc:
  387         IRONIC_BAREMETAL_BASIC_OPS: False
  388         IRONIC_DEFAULT_DEPLOY_INTERFACE: ""
  389         IRONIC_DEFAULT_NETWORK_INTERFACE: noop
  390         IRONIC_TEMPEST_WHOLE_DISK_IMAGE: True
  391         IRONIC_VM_EPHEMERAL_DISK: 0
  392         IRONIC_RPC_TRANSPORT: json-rpc
  393       devstack_services:
  394         rabbit: False
  395         g-api: False
  396         g-reg: False
  397         n-api: False
  398         n-api-meta: False
  399         n-cauth: False
  400         n-cond: False
  401         n-cpu: False
  402         n-novnc: False
  403         n-obj: False
  404         n-sch: False
  405         nova: False
  406         placement-api: False
  407         q-agt: False
  408         q-dhcp: False
  409         q-l3: False
  410         q-meta: False
  411         q-metering: False
  412         q-svc: False
  413 
  414 - job:
  415     name: ironic-tempest-ipa-wholedisk-direct-tinyipa-multinode
  416     description: ironic-tempest-ipa-wholedisk-direct-tinyipa-multinode
  417     parent: tempest-multinode-full-base
  418     nodeset: openstack-two-node-focal
  419     pre-run: playbooks/ci-workarounds/pre.yaml
  420     required-projects:
  421       - openstack/ironic
  422       - openstack/ironic-python-agent
  423       - openstack/ironic-python-agent-builder
  424       - openstack/ironic-tempest-plugin
  425       - openstack/virtualbmc
  426       - openstack/networking-generic-switch
  427     irrelevant-files:
  428       - ^.*\.rst$
  429       - ^api-ref/.*$
  430       - ^doc/.*$
  431       - ^driver-requirements.txt$
  432       - ^install-guide/.*$
  433       - ^ironic/locale/.*$
  434       - ^ironic/tests/.*$
  435       - ^releasenotes/.*$
  436       - ^setup.cfg$
  437       - ^tools/.*$
  438       - ^tox.ini$
  439     roles:
  440       - zuul: opendev.org/zuul/zuul-jobs
  441     vars:
  442       tox_envlist: all
  443       tempest_concurrency: 3
  444       tempest_test_regex: "ironic_tempest_plugin.tests.scenario"
  445       tempest_test_timeout: 2400
  446       devstack_localrc:
  447         BUILD_TIMEOUT: 2400
  448         DEFAULT_INSTANCE_TYPE: baremetal
  449         ENABLE_TENANT_TUNNELS: False
  450         ENABLE_TENANT_VLANS: True
  451         FORCE_CONFIG_DRIVE: True
  452         GENERIC_SWITCH_KEY_FILE: /opt/stack/.ssh/id_rsa
  453         HOST_TOPOLOGY: multinode
  454         HOST_TOPOLOGY_ROLE: primary
  455         INSTALL_TEMPEST: False # Don't install a tempest package globaly
  456         IRONIC_AUTOMATED_CLEAN_ENABLED: False
  457         HOST_TOPOLOGY_SUBNODES: "{{ hostvars['compute1']['nodepool']['public_ipv4'] }}"
  458         IRONIC_BAREMETAL_BASIC_OPS: True
  459         IRONIC_BUILD_DEPLOY_RAMDISK: False
  460         IRONIC_CALLBACK_TIMEOUT: 600
  461         IRONIC_DEFAULT_BOOT_OPTION: local
  462         IRONIC_DEPLOY_DRIVER: ipmi
  463         IRONIC_ENABLED_NETWORK_INTERFACES: flat,neutron
  464         IRONIC_INSPECTOR_BUILD_RAMDISK: False
  465         IRONIC_NETWORK_INTERFACE: neutron
  466         IRONIC_PROVISION_NETWORK_NAME: ironic-provision
  467         IRONIC_PROVISION_SUBNET_GATEWAY: 10.0.5.1
  468         IRONIC_PROVISION_SUBNET_PREFIX: 10.0.5.0/24
  469         IRONIC_RAMDISK_TYPE: tinyipa
  470         IRONIC_TEMPEST_BUILD_TIMEOUT: 600
  471         IRONIC_TEMPEST_WHOLE_DISK_IMAGE: True
  472         IRONIC_USE_LINK_LOCAL: True
  473         IRONIC_VM_COUNT: 3
  474         IRONIC_VM_EPHEMERAL_DISK: 0
  475         IRONIC_VM_LOG_DIR: '{{ devstack_base_dir }}/ironic-bm-logs'
  476         IRONIC_VM_SPECS_RAM: 512
  477         IRONIC_VM_SPECS_DISK: 4
  478         IRONIC_VM_SPECS_CPU: 1
  479         OVS_BRIDGE_MAPPINGS: 'mynetwork:brbm,public:br-infra'
  480         OVS_PHYSICAL_BRIDGE: brbm
  481         PHYSICAL_NETWORK: mynetwork
  482         PUBLIC_BRIDGE: br-infra
  483         Q_AGENT: openvswitch
  484         Q_ML2_TENANT_NETWORK_TYPE: vlan
  485         Q_PLUGIN: ml2
  486         Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
  487         SWIFT_ENABLE_TEMPURLS: True
  488         SWIFT_TEMPURL_KEY: secretkey
  489         TENANT_VLAN_RANGE: 100:150
  490         VIRT_DRIVER: ironic
  491         # We're using a lot of disk space in this job. Some testing nodes have
  492         # a small root partition, so use /opt which is mounted from a bigger
  493         # ephemeral partition on such nodes
  494         LIBVIRT_STORAGE_POOL_PATH: /opt/libvirt/images
  495 
  496       devstack_plugins:
  497         ironic: https://opendev.org/openstack/ironic
  498         networking-generic-switch: https://opendev.org/openstack/networking-generic-switch
  499       tempest_plugins:
  500         - ironic-tempest-plugin
  501       zuul_copy_output:
  502         '{{ devstack_base_dir }}/ironic-bm-logs': 'logs'
  503         '{{ devstack_base_dir }}/data/networking-generic-switch/netmiko_session.log': 'logs'
  504       devstack_services:
  505         c-api: False
  506         c-bak: False
  507         c-sch: False
  508         c-vol: False
  509         cinder: False
  510 
  511         s-account: True
  512         s-container: True
  513         s-object: True
  514         s-proxy: True
  515 
  516         dstat: True
  517         g-api: True
  518         g-reg: True
  519         key: True
  520         mysql: True
  521         n-api: True
  522         n-api-meta: True
  523         n-cauth: True
  524         n-cond: True
  525         n-cpu: True
  526         n-novnc: True
  527         n-obj: True
  528         n-sch: True
  529         placement-api: True
  530         q-agt: True
  531         q-dhcp: True
  532         q-l3: True
  533         q-meta: True
  534         q-metering: True
  535         q-svc: True
  536         ovn-controller: False
  537         ovn-northd: False
  538         q-ovn-metadata-agent: False
  539         rabbit: True
  540     group-vars:
  541       subnode:
  542         devstack_localrc:
  543           ENABLE_TENANT_TUNNELS: False
  544           ENABLE_TENANT_VLANS: True
  545           HOST_TOPOLOGY: multinode
  546           HOST_TOPOLOGY_ROLE: subnode
  547           IRONIC_AUTOMATED_CLEAN_ENABLED: False
  548           IRONIC_BAREMETAL_BASIC_OPS: True
  549           IRONIC_DEPLOY_DRIVER: ipmi
  550           IRONIC_DEFAULT_BOOT_OPTION: local
  551           IRONIC_ENABLED_NETWORK_INTERFACES: flat,neutron
  552           IRONIC_NETWORK_INTERFACE: neutron
  553           IRONIC_PROVISION_NETWORK_NAME: ironic-provision
  554           IRONIC_RAMDISK_TYPE: tinyipa
  555           IRONIC_USE_LINK_LOCAL: True
  556           IRONIC_VM_COUNT: 3
  557           IRONIC_VM_EPHEMERAL_DISK: 0
  558           IRONIC_VM_LOG_DIR: '{{ devstack_base_dir }}/ironic-bm-logs'
  559           IRONIC_VM_NETWORK_BRIDGE: sub1brbm
  560           IRONIC_VM_SPECS_RAM: 512
  561           IRONIC_VM_SPECS_DISK: 4
  562           IRONIC_VM_SPECS_CPU: 1
  563           OVS_BRIDGE_MAPPINGS: 'mynetwork:sub1brbm,public:br-infra'
  564           OVS_PHYSICAL_BRIDGE: sub1brbm
  565           PHYSICAL_NETWORK: mynetwork
  566           Q_AGENT: openvswitch
  567           Q_ML2_TENANT_NETWORK_TYPE: vlan
  568           VIRT_DRIVER: ironic
  569           PUBLIC_BRIDGE: br-infra
  570           LIBVIRT_STORAGE_POOL_PATH: /opt/libvirt/images
  571         devstack_services:
  572           c-api: False
  573           c-bak: False
  574           c-sch: False
  575           c-vol: False
  576           cinder: False
  577 
  578           q-agt: True
  579           ovn-controller: False
  580           ovn-northd: False
  581           q-ovn-metadata-agent: False
  582           n-cpu: True
  583 
  584 - job:
  585     name: ironic-tox-unit-with-driver-libs
  586     parent: tox
  587     description: |
  588       Run python 3 unit tests with driver dependencies installed.
  589     vars:
  590       tox_envlist: unit-with-driver-libs
  591 
  592 - job:
  593     name: ironic-inspector-tempest-discovery-fast-track
  594     description: ironic-inspector-tempest-discovery-fast-track
  595     parent: ironic-inspector-tempest-discovery
  596     vars:
  597       tempest_test_regex: BareMetalFastTrackTest
  598       devstack_localrc:
  599         IRONIC_INSPECTOR_POWER_OFF: False
  600         IRONIC_DEPLOY_FAST_TRACK: True
  601         IRONIC_DEPLOY_FAST_TRACK_CLEANING: True
  602 
  603 - job:
  604     name: ironic-tempest-ipa-partition-uefi-pxe-grub2
  605     description: Ironic tempest scenario test utilizing PXE, UEFI, and Grub2
  606     parent: ironic-base
  607     vars:
  608       devstack_localrc:
  609         IRONIC_ENABLED_HARDWARE_TYPES: ipmi
  610         IRONIC_ENABLED_BOOT_INTERFACES: pxe
  611         IRONIC_IPXE_ENABLED: False
  612         IRONIC_BOOT_MODE: uefi
  613         IRONIC_RAMDISK_TYPE: tinyipa
  614         IRONIC_AUTOMATED_CLEAN_ENABLED: False
  615         IRONIC_DEFAULT_BOOT_OPTION: netboot
  616         IRONIC_VM_SPECS_RAM: 4096
  617 
  618 - job:
  619     # Security testing for known issues
  620     name: ironic-tox-bandit
  621     parent: openstack-tox
  622     timeout: 2400
  623     vars:
  624       tox_envlist: bandit
  625     required-projects:
  626       - openstack/ironic
  627     irrelevant-files:
  628       - ^.*\.rst$
  629       - ^api-ref/.*$
  630       - ^doc/.*$
  631       - ^driver-requirements.txt$
  632       - ^install-guide/.*$
  633       - ^ironic/locale/.*$
  634       - ^ironic/tests/.*$
  635       - ^releasenotes/.*$
  636       - ^setup.cfg$
  637       - ^tools/(?!bandit\.yml).*$
  638       - ^tox.ini$
  639 
  640 - job:
  641     name: ironic-tempest-ipa-wholedisk-bios-ipmi-direct-dib
  642     parent: ironic-base
  643     vars:
  644       devstack_services:
  645         s-account: True
  646         s-container: True
  647         s-object: True
  648         s-proxy: True
  649       devstack_localrc:
  650         IRONIC_DIB_RAMDISK_OS: centos8
  651         IRONIC_TEMPEST_WHOLE_DISK_IMAGE: True
  652         IRONIC_VM_EPHEMERAL_DISK: 0
  653         IRONIC_VM_INTERFACE_COUNT: 1
  654         IRONIC_AUTOMATED_CLEAN_ENABLED: False
  655         SWIFT_ENABLE_TEMPURLS: True
  656         SWIFT_TEMPURL_KEY: secretkey
  657 
  658 - job:
  659     name: ironic-tempest-ipxe-ipv6
  660     description: ironic-tempest-ipxe-ipv6
  661     parent: ironic-base
  662     required-projects:
  663       - openstack/networking-generic-switch
  664     vars:
  665       tempest_test_timeout: 2400
  666       devstack_services:
  667         # NOTE(TheJulia): It seems our devstack plugin does not play well
  668         # with multitenancy and the newer neutron service names.
  669         q-agt: True
  670         q-dhcp: True
  671         q-l3: True
  672         q-meta: False
  673         q-metering: False
  674         q-svc: True
  675         swift: True
  676       devstack_plugins:
  677         ironic: https://opendev.org/openstack/ironic
  678         networking-generic-switch: https://opendev.org/openstack/networking-generic-switch
  679       # NOTE(TheJulia): Nova default behavior is to rely upon stack defaults, v6 needs to
  680       # be explicit. This is the best place to wire it in.
  681       tempest_test_regex: BaremetalSingleTenant
  682       devstack_localrc:
  683         IRONIC_AGENT_IMAGE_DOWNLOAD_SOURCE: http
  684         IPV6_ENABLED: True
  685         IP_VERSION: 6
  686         SERVICE_IP_VERSION: 6
  687         IRONIC_AUTOMATED_CLEAN_ENABLED: False
  688         IRONIC_ENABLED_BOOT_INTERFACES: ipxe,pxe
  689         IRONIC_DEFAULT_BOOT_INTERFACE: ipxe
  690         IRONIC_IPXE_ENABLED: True
  691         IRONIC_PROVISION_NETWORK_NAME: ironic-provision
  692         OVS_PHYSICAL_BRIDGE: brbm
  693         PHYSICAL_NETWORK: mynetwork
  694         TENANT_VLAN_RANGE: 100:150
  695         IRONIC_ENABLED_NETWORK_INTERFACES: flat,neutron
  696         IRONIC_NETWORK_INTERFACE: neutron
  697         IRONIC_DEFAILT_RESCUE_INTERFACE: no-rescue
  698         IRONIC_USE_LINK_LOCAL: True
  699         IRONIC_TEMPEST_WHOLE_DISK_IMAGE: True
  700         IRONIC_VM_EPHEMERAL_DISK: 0
  701         # This will swap and needs to get to tinycore soon.
  702         IRONIC_VM_SPECS_CPU: 2
  703         Q_PLUGIN: ml2
  704         ENABLE_TENANT_VLANS: True
  705         Q_ML2_TENANT_NETWORK_TYPE: vlan
  706         OVS_BRIDGE_MAPPINGS: "public:br-ex,mynetwork:brbm"
  707         USE_PROVIDER_NETWORKING: True
  708         PUBLIC_PHYSICAL_NETWORK: public
  709         PUBLIC_PROVIDERNET_TYPE: flat
  710         Q_USE_PROVIDERNET_FOR_PUBLIC: True
  711         BUILD_TIMEOUT: 2000
  712         IRONIC_TEMPEST_BUILD_TIMEOUT: 2000
  713         IRONIC_PING_TIMEOUT: 1440
  714 
  715 # NOTE(rpittau): OLD TINYIPA JOBS
  716 # Those jobs are used by other projects, we leave them here until
  717 # we can convert them to dib.
  718 
  719 # Used by devstack/ironic/nova/neutron
  720 - job:
  721     name: ironic-tempest-bios-ipmi-direct-tinyipa
  722     description: ironic-tempest-wholedisk-bios-ipmi-direct-tinyipa that also tests cleaning.
  723     parent: ironic-base
  724     vars:
  725       devstack_localrc:
  726         IRONIC_DEFAULT_RESCUE_INTERFACE: agent
  727         IRONIC_ENABLED_RESCUE_INTERFACES: "fake,agent,no-rescue"
  728         IRONIC_RAMDISK_TYPE: tinyipa
  729         IRONIC_VM_SPECS_RAM: 512
  730         IRONIC_TEMPEST_WHOLE_DISK_IMAGE: True
  731         IRONIC_VM_EPHEMERAL_DISK: 0
  732         SWIFT_ENABLE_TEMPURLS: True
  733         SWIFT_TEMPURL_KEY: secretkey
  734       devstack_services:
  735         s-account: True
  736         s-container: True
  737         s-object: True
  738         s-proxy: True
  739 
  740 - job:
  741     name: ironic-tempest-ipa-wholedisk-bios-agent_ipmitool-tinyipa
  742     description: Alias for ironic-tempest-wholedisk-bios-ipmi-direct-tinyipa
  743     parent: ironic-tempest-bios-ipmi-direct-tinyipa
  744 
  745 - job:
  746     name: ironic-grenade
  747     parent: grenade
  748     timeout: 10800
  749     irrelevant-files:
  750       - ^driver-requirements.txt$
  751       - ^.*\.rst$
  752       - ^api-ref/.*$
  753       - ^doc/.*$
  754       - ^install-guide/.*$
  755       - ^ironic/locale/.*$
  756       - ^ironic/tests/.*$
  757       - ^releasenotes/.*$
  758       - ^setup.cfg$
  759       - ^tools/.*$
  760       - ^tox.ini$
  761     required-projects:
  762       - openstack/grenade
  763       - openstack/ironic
  764       - openstack/ironic-python-agent
  765       - openstack/ironic-python-agent-builder
  766       - openstack/ironic-tempest-plugin
  767       - openstack/virtualbmc
  768     vars:
  769       grenade_devstack_localrc:
  770         shared:
  771           DEFAULT_INSTANCE_TYPE: baremetal
  772           FORCE_CONFIG_DRIVE: True
  773           INSTALL_TEMPEST: False
  774           VIRT_DRIVER: ironic
  775           BUILD_TIMEOUT: 1200
  776           IRONIC_TEMPEST_BUILD_TIMEOUT: 1200
  777           IRONIC_BAREMETAL_BASIC_OPS: True
  778           IRONIC_BUILD_DEPLOY_RAMDISK: False
  779           IRONIC_CALLBACK_TIMEOUT: 600
  780           IRONIC_DEPLOY_DRIVER: ipmi
  781           IRONIC_INSPECTOR_BUILD_RAMDISK: False
  782           IRONIC_RAMDISK_TYPE: tinyipa
  783           IRONIC_TEMPEST_WHOLE_DISK_IMAGE: False
  784           IRONIC_VM_COUNT: 4
  785           IRONIC_VM_EPHEMERAL_DISK: 1
  786           IRONIC_VM_SPECS_RAM: 512
  787           IRONIC_DEFAULT_BOOT_OPTION: netboot
  788           IRONIC_AUTOMATED_CLEAN_ENABLED: False
  789           Q_AGENT: openvswitch
  790           Q_ML2_TENANT_NETWORK_TYPE: vxlan
  791           EBTABLES_RACE_FIX: True
  792           LIBVIRT_STORAGE_POOL_PATH: /opt/libvirt/images
  793         old:
  794           IRONIC_VM_LOG_DIR: '{{ devstack_bases.old }}/ironic-bm-logs'
  795       grenade_localrc:
  796         BASE_RUN_SMOKE: False
  797       grenade_tempest_concurrency: 1
  798       grenade_test_timeout: 2600
  799       devstack_plugins:
  800         ironic: https://opendev.org/openstack/ironic
  801       devstack_services:
  802         c-api: False
  803         c-bak: False
  804         c-sch: False
  805         c-vol: False
  806         cinder: False
  807         ir-api: True
  808         ir-cond: True
  809       tempest_plugins:
  810         - ironic-tempest-plugin
  811       tempest_test_regex: ironic_tempest_plugin.tests.scenario
  812       tox_envlist: all
  813       tempest_concurrency: 1
  814       zuul_copy_output:
  815         '{{ devstack_bases.old }}/ironic-bm-logs': logs
  816 
  817 - job:
  818     name: ironic-grenade-multinode-multitenant
  819     parent: grenade-multinode
  820     timeout: 10800
  821     irrelevant-files:
  822       - ^driver-requirements.txt$
  823       - ^.*\.rst$
  824       - ^api-ref/.*$
  825       - ^doc/.*$
  826       - ^install-guide/.*$
  827       - ^ironic/locale/.*$
  828       - ^ironic/tests/.*$
  829       - ^releasenotes/.*$
  830       - ^setup.cfg$
  831       - ^tools/.*$
  832       - ^tox.ini$
  833     required-projects:
  834       - openstack/grenade
  835       - openstack/ironic
  836       - openstack/ironic-lib
  837       - openstack/ironic-python-agent
  838       - openstack/ironic-python-agent-builder
  839       - openstack/ironic-tempest-plugin
  840       - openstack/networking-generic-switch
  841       - openstack/python-ironicclient
  842       - openstack/virtualbmc
  843     vars:
  844       grenade_devstack_localrc:
  845         shared:
  846           DEFAULT_INSTANCE_TYPE: baremetal
  847           ENABLE_TENANT_TUNNELS: False
  848           ENABLE_TENANT_VLANS: True
  849           FORCE_CONFIG_DRIVE: True
  850           HOST_TOPOLOGY: multinode
  851           HOST_TOPOLOGY_ROLE: primary
  852           BUILD_TIMEOUT: 1200
  853           INSTALL_TEMPEST: False # Don't install a tempest package globaly
  854           HOST_TOPOLOGY_SUBNODES: "{{ hostvars['compute1']['nodepool']['public_ipv4'] }}"
  855           IRONIC_BAREMETAL_BASIC_OPS: True
  856           IRONIC_AUTOMATED_CLEAN_ENABLED: False
  857           IRONIC_BUILD_DEPLOY_RAMDISK: False
  858           IRONIC_CALLBACK_TIMEOUT: 700
  859           IRONIC_DEFAULT_DEPLOY_INTERFACE: direct
  860           IRONIC_DEFAULT_BOOT_OPTION: netboot
  861           IRONIC_DEPLOY_DRIVER: ipmi
  862           IRONIC_VM_COUNT: 4
  863           IRONIC_VM_EPHEMERAL_DISK: 1
  864           IRONIC_VM_SPECS_RAM: 384
  865           IRONIC_RAMDISK_TYPE: tinyipa
  866           IRONIC_TEMPEST_BUILD_TIMEOUT: 1200
  867           IRONIC_TEMPEST_WHOLE_DISK_IMAGE: True
  868 
  869           IRONIC_ENABLED_NETWORK_INTERFACES: flat,neutron
  870           IRONIC_NETWORK_INTERFACE: neutron
  871           IRONIC_PROVISION_NETWORK_NAME: ironic-provision
  872           IRONIC_PROVISION_SUBNET_GATEWAY: 10.0.5.1
  873           IRONIC_PROVISION_SUBNET_PREFIX: 10.0.5.0/24
  874           IRONIC_USE_LINK_LOCAL: True
  875           OVS_BRIDGE_MAPPINGS: 'mynetwork:brbm,public:br-infra'
  876           OVS_PHYSICAL_BRIDGE: brbm
  877           PHYSICAL_NETWORK: mynetwork
  878           PUBLIC_BRIDGE: br-infra
  879           Q_AGENT: openvswitch
  880           Q_ML2_TENANT_NETWORK_TYPE: vlan
  881           Q_PLUGIN: ml2
  882           SWIFT_ENABLE_TEMPURLS: True
  883           SWIFT_TEMPURL_KEY: secretkey
  884           TENANT_VLAN_RANGE: 100:150
  885           VIRT_DRIVER: ironic
  886           EBTABLES_RACE_FIX: True
  887           LIBVIRT_STORAGE_POOL_PATH: /opt/libvirt/images
  888           IRONIC_VM_LOG_DIR: '/opt/stack/ironic-bm-logs'
  889       grenade_localrc:
  890         BASE_RUN_SMOKE: False
  891       devstack_plugins:
  892         ironic: https://opendev.org/openstack/ironic
  893         networking-generic-switch: https://opendev.org/openstack/networking-generic-switch
  894       devstack_services:
  895         c-api: False
  896         c-bak: False
  897         c-sch: False
  898         c-vol: False
  899         cinder: False
  900         ir-api: True
  901         ir-cond: True
  902       tempest_plugins:
  903         - ironic-tempest-plugin
  904       tempest_test_regex: BaremetalMultitenancy
  905       tox_envlist: all
  906       tempest_concurrency: 1
  907       grenade_tempest_concurrency: 1
  908       grenade_test_timeout: 2600
  909       zuul_copy_output:
  910         '/opt/stack/ironic-bm-logs': logs
  911         '{{ devstack_base_dir }}/data/networking-generic-switch/netmiko_session.log': 'logs'
  912     group-vars:
  913       subnode:
  914         devstack_plugins:
  915           ironic: https://opendev.org/openstack/ironic
  916           networking-generic-switch: https://opendev.org/openstack/networking-generic-switch
  917         devstack_services:
  918           c-api: False
  919           c-bak: False
  920           c-sch: False
  921           c-vol: False
  922           cinder: False
  923           g-api: True
  924           ir-api: True
  925           ir-cond: True
  926           n-cpu: True
  927           q-agt: True
  928           virtualbmc: True
  929         grenade_devstack_localrc:
  930           shared:
  931             DEFAULT_INSTANCE_TYPE: baremetal
  932             ENABLE_TENANT_TUNNELS: False
  933             ENABLE_TENANT_VLANS: True
  934             FORCE_CONFIG_DRIVE: True
  935             HOST_TOPOLOGY: multinode
  936             HOST_TOPOLOGY_ROLE: subnode
  937             IRONIC_AUTOMATED_CLEAN_ENABLED: False
  938             IRONIC_BAREMETAL_BASIC_OPS: True
  939             IRONIC_BUILD_DEPLOY_RAMDISK: False
  940             BUILD_TIMEOUT: 1200
  941             IRONIC_CALLBACK_TIMEOUT: 700
  942             IRONIC_TEMPEST_BUILD_TIMEOUT: 1200
  943             IRONIC_DEFAULT_DEPLOY_INTERFACE: direct
  944             IRONIC_DEFAULT_BOOT_OPTION: netboot
  945             IRONIC_DEPLOY_DRIVER: ipmi
  946             IRONIC_ENABLED_NETWORK_INTERFACES: flat,neutron
  947             IRONIC_NETWORK_INTERFACE: neutron
  948             IRONIC_PROVISION_NETWORK_NAME: ironic-provision
  949             IRONIC_PROVISION_SUBNET_GATEWAY: 10.0.5.1
  950             IRONIC_PROVISION_SUBNET_PREFIX: 10.0.5.0/24
  951             IRONIC_RAMDISK_TYPE: tinyipa
  952             IRONIC_USE_LINK_LOCAL: True
  953             IRONIC_VM_COUNT: 4
  954             IRONIC_VM_EPHEMERAL_DISK: 0
  955             IRONIC_VM_SPECS_RAM: 384
  956             IRONIC_VM_NETWORK_BRIDGE: sub1brbm
  957             OVS_BRIDGE_MAPPINGS: 'mynetwork:sub1brbm,public:br-infra'
  958             OVS_PHYSICAL_BRIDGE: sub1brbm
  959             PHYSICAL_NETWORK: mynetwork
  960             PUBLIC_BRIDGE: br-infra
  961             Q_AGENT: openvswitch
  962             Q_ML2_TENANT_NETWORK_TYPE: vlan
  963             Q_PLUGIN: ml2
  964             SWIFT_ENABLE_TEMPURLS: True
  965             SWIFT_TEMPURL_KEY: secretkey
  966             VIRT_DRIVER: ironic
  967             EBTABLES_RACE_FIX: True
  968             LIBVIRT_STORAGE_POOL_PATH: /opt/libvirt/images
  969             IRONIC_VM_LOG_DIR: '/opt/stack/ironic-bm-logs'