# This job has clone_stateless_services set to false, so it won't handle OpenStack services by pacemaker
- job-template:
    name: 'cloud-mkcloud{version}-job-upgrade-nondisruptive-ha-mariadb-no-clones-{arch}'
    node: cloud-trigger
    disabled: '{obj:disabled}'

    triggers:
      - timed: '32 22 * * *'

    logrotate:
      numToKeep: -1
      daysToKeep: 7

    builders:
      - trigger-builds:
        - project: openstack-mkcloud
          condition: SUCCESS
          block: true
          current-parameters: true
          predefined-parameters: |
            TESTHEAD=1
            cloudsource=develcloud{previous_version}
            upgrade_cloudsource=develcloud{version}
            ### 3 nodes for HA cluster, 2 compute nodes, 1 lonelynode for nfs server
            nodenumber=6
            clusterconfig=data+services+network={nodenumber_controller}
            hacloud=1
            want_nodesupgrade=1
            want_database_sql_engine={database_engine}
            want_ping_running_instances=1
            want_node_aliases=data=3,compute=2
            mkcloudtarget=instonly setuplonelynodes lonelynode_nfs_server batch testpreupgrade addupdaterepo runupdate cloudupgrade testpostupgrade testsetup
            scenario=cloud{version}-upgrade-non-disruptive-no-clones.yml.yml
            label={label}
            job_name=cloud-mkcloud{version}-job-upgrade-nondisruptive-ha-mariadb-no-clones-{arch}

# This job has clone_stateless_services set to false, so it won't handle OpenStack services by pacemaker
- job-template:
    name: 'cloud-mkcloud{version}-job-upgrade-nondisruptive-ha-mariadb-no-clones-{arch}'
    node: cloud-trigger
    disabled: '{obj:disabled}'

    triggers:
      - timed: '32 22 * * *'

    logrotate:
      numToKeep: -1
      daysToKeep: 7

    builders:
      - trigger-builds:
        - project: openstack-mkcloud
          condition: SUCCESS
          block: true
          current-parameters: true
          predefined-parameters: |
            TESTHEAD=1
            cloudsource=develcloud{previous_version}
            upgrade_cloudsource=develcloud{version}
            ### 3 nodes for HA cluster, 2 compute nodes, 1 lonelynode for nfs server
            nodenumber=5
            nodenumberlonelynode=1
            want_node_aliases=data=3,compute=2
            clusterconfig=data+services+network={nodenumber_controller}
            hacloud=1
            want_nodesupgrade=1
            want_database_sql_engine={database_engine}
            want_ping_running_instances=1
            mkcloudtarget=instonly setuplonelynodes lonelynode_nfs_server batch testpreupgrade addupdaterepo runupdate cloudupgrade testpostupgrade testsetup
            scenario=cloud{version}-upgrade-non-disruptive-no-clones.yml.yml
            label={label}
            job_name=cloud-mkcloud{version}-job-upgrade-nondisruptive-ha-mariadb-no-clones-{arch}

Correct number of nodes for this job
Correct number of nodes for this job
