oss single cluster model for v-lab
related us: https://mirantis.jira.com/browse/PROD-15544
Change-Id: I79ccbc1153091aa708fbdcf2a0e41f6aedc9b4bb
diff --git a/classes/cluster/drivetrain-ha-oss/cicd/control/init.yml b/classes/cluster/drivetrain-ha-oss/cicd/control/init.yml
new file mode 100644
index 0000000..f369d5e
--- /dev/null
+++ b/classes/cluster/drivetrain-ha-oss/cicd/control/init.yml
@@ -0,0 +1,100 @@
+classes:
+ - system.linux.system.repo.docker
+ - system.linux.system.repo.glusterfs
+ # GlusterFS
+ - system.glusterfs.server.cluster
+ - system.glusterfs.server.volume.aptly
+ - system.glusterfs.server.volume.gerrit
+ - system.glusterfs.server.volume.jenkins
+ - system.glusterfs.server.volume.mysql
+ - system.glusterfs.server.volume.openldap
+ - system.glusterfs.server.volume.registry
+
+ - system.glusterfs.client.cluster
+ - system.glusterfs.client.volume.aptly
+ - system.glusterfs.client.volume.gerrit
+ - system.glusterfs.client.volume.jenkins
+ - system.glusterfs.client.volume.mysql
+ - system.glusterfs.client.volume.openldap
+ - system.glusterfs.client.volume.registry
+ # Aptly
+ # We need aptly-publisher.yml on each node for our Jenkins slaves in docker
+ - system.aptly.client.publisher
+
+ # Keepalived
+ - system.keepalived.cluster.instance.cicd_control_vip
+
+ # HAProxy
+ - system.salt.minion.cert.proxy
+ - system.haproxy.proxy.single
+ - system.haproxy.proxy.listen.cicd.aptly
+ - system.haproxy.proxy.listen.cicd.gerrit
+ - system.haproxy.proxy.listen.cicd.jenkins
+ - system.haproxy.proxy.listen.docker.registry
+ - system.haproxy.proxy.listen.docker.visualizer
+ - system.haproxy.proxy.listen.mysql
+ - system.haproxy.proxy.listen.openldap
+ - system.haproxy.proxy.listen.phpldapadmin
+ - system.haproxy.proxy.listen.stats
+
+ - cluster.drivetrain-ha-oss.cicd
+parameters:
+ _param:
+ cluster_name: drivetrain-ha-oss
+ cluster_node01_name: cid01
+ cluster_node01_address: ${_param:control_node01_address}
+ cluster_node02_name: cid02
+ cluster_node02_address: ${_param:control_node02_address}
+ cluster_node03_name: cid03
+ cluster_node03_address: ${_param:control_node03_address}
+
+ keepalived_vip_virtual_router_id: 180
+ keepalived_vip_priority: 103
+ keepalived_vip_password: password
+ keepalived_vip_interface: ens4
+
+ cluster_vip_address: ${_param:control_vip_address}
+ cluster_public_host: ${_param:control_public_host}
+ glusterfs_service_host: ${_param:control_vip_address}
+
+ admin_email: root@localhost
+
+ # Haproxy SSL configuration
+ cluster_ssl_certificate:
+ enabled: true
+ pem_file: /etc/haproxy/ssl/${_param:cluster_public_host}-all.pem
+ haproxy_bind_address: ${_param:cluster_vip_address}
+ haproxy_mysql_source_port: 13306
+
+ docker_registry_http_secret: aikemee4AhK0Eechai2eh6aa3eeWiet9
+
+ # CI/CD service databases
+ mysql_admin_password: password
+ mysql_gerrit_password: password
+
+ salt:
+ minion:
+ cert:
+ proxy:
+ alternative_names: "DNS:${_param:cluster_public_host}, DNS:*.${_param:cluster_public_host}, IP:${_param:control_vip_address}, IP:${_param:single_address}"
+ key_file: /etc/haproxy/ssl/${_param:cluster_public_host}.key
+ cert_file: /etc/haproxy/ssl/${_param:cluster_public_host}.crt
+ all_file: /etc/haproxy/ssl/${_param:cluster_public_host}-all.pem
+ ca_file: /etc/haproxy/ssl/${_param:salt_minion_ca_authority}-ca.crt
+ user: root
+ group: haproxy
+ mode: 640
+ haproxy:
+ proxy:
+ enabled: true
+ linux:
+ network:
+ resolv:
+ dns:
+ - 172.18.176.4
+ - 172.18.176.5
+ - 8.8.8.8
+ system:
+ package:
+ ca-certificates-java:
+ version: latest
diff --git a/classes/cluster/drivetrain-ha-oss/cicd/control/leader.yml b/classes/cluster/drivetrain-ha-oss/cicd/control/leader.yml
new file mode 100644
index 0000000..9771de0
--- /dev/null
+++ b/classes/cluster/drivetrain-ha-oss/cicd/control/leader.yml
@@ -0,0 +1,225 @@
+classes:
+ - system.docker.swarm.master
+
+ # Docker
+ - system.docker.host
+ # Docker services
+ - system.docker.swarm.stack.aptly
+ - system.docker.swarm.stack.docker
+ - system.docker.swarm.stack.gerrit
+ - system.docker.swarm.stack.jenkins
+ - system.docker.swarm.stack.ldap
+
+ # Services
+ - system.docker.client
+ - system.aptly.server.docker
+ # Jenkins
+ - system.jenkins.master.config
+ - system.jenkins.client
+ - system.jenkins.client.node
+ # ..credentials
+ - system.jenkins.client.credential.gerrit
+ - system.jenkins.client.credential.salt
+ # ..security
+ - system.jenkins.client.security.ldap
+ - system.jenkins.client.security.matrix
+ # ..jobs
+ - system.jenkins.client.job.aptly
+ - system.jenkins.client.job.git-mirrors.downstream.pipelines
+ - system.jenkins.client.job.deploy.lab.release.mcp10
+ - system.jenkins.client.job.deploy.update.package
+ - system.jenkins.client.job.deploy.update.config
+ # Gerrit
+ - system.gerrit.client
+ - system.gerrit.client.project.ci
+ # OpenLDAP
+ - system.openldap.client
+ - system.openldap.client.people.admin
+
+ - cluster.drivetrain-ha-oss
+
+parameters:
+ _param:
+ # OpenLDAP
+ openldap_organisation: ${_param:cluster_name}
+ openldap_dn: 'dc=drivetrain-ha-oss,dc=local'
+ openldap_domain: ${linux:system:domain}
+ openldap_admin_password: password
+ openldap_config_password: password
+ openldap_readonly_password: password
+
+ # CI/CD service setup
+ # Jenkins
+ jenkins_client_user: admin
+ jenkins_client_password: ${_param:openldap_admin_password}
+ jenkins_admin_email: ${_param:admin_email}
+ jenkins_admin_public_key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQD3hnJDKW4R+aXxdaSJSQmV4a6tRmRI1CECkccApr0h15dXGhgeRyrtMsXKpVkQpweQX+75rJHVcNvHpCsR3wLhS/vgOowQh+Xc7bvl9MzoYBGUw5VZyRD4HoHrp2FEUHQqwnOYubFdHBnOi6HZDdf1axFzjmymQX/XvuAd4vCmtW/wumaJ6tH/VlM57ik5jsWwKQIQZl7ODmlGusycuD5QEPade+cHEijGbLtRyMrP+BFJAzVmav2jeu1CtLD8AaKHB+mtfbHYhFkYhLlmFenztbB9S2kJhuSDjB4c8Xxj3N0O1rh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jCja2OuI75hG0WB/HhsaEhBpnu
+ dJJ6o3+U2QIXZzgSpsaAxULs1rQ9HT9cJamxDW1Eg06+XJs3qqVm/koY8ZHSif0B
+ hlWhdx6YD0QM/4sfCDfcppuCCls+SDdJAoIBAGOmLLREQcl+ybvEkIcV/ZBEtTQG
+ lkKx7qp7dn1EKNDS12iahNprSL/kW56oQExe2ASnnRT0Og7mXk5nD6SowqbUBqEg
+ /KXRK+tujXHHnXq+lPPpOoCXZPRt0PxI10Nkutn8fYIfTu0oTbDp2K9nWP5vFhpP
+ PkFlXvAGNZbZ69VgDmNTqJZ1tSGTJKJqy/t8h49XNKRKmzNkbHFroLbeI5RTsNcW
+ +GWI3ciQTOkRCmaVFlMoQv/f8SFSRSfxk6lncb7gm9dS0j6Xvs+PgmHtNj1kNQk3
+ W4N2eiliSdd5DY6NUs5HJcH8tsxUZ6omhJ/2E5JozQ8WeQdwbe3AvCYRbmU=
+ -----END RSA PRIVATE KEY-----
+
+ jenkins_security_ldap_server: ${_param:cluster_vip_address}
+ jenkins_security_ldap_root_dn: ${_param:openldap_dn}
+ jenkins_security_ldap_manager_dn: "cn=admin,${_param:openldap_dn}"
+ jenkins_security_ldap_manager_password: ${_param:openldap_admin_password}
+ jenkins_security_ldap_user_search_base: ou=people,${_param:openldap_dn}
+ jenkins_security_ldap_group_search_base: ou=groups,${_param:openldap_dn}
+ # Jobs params
+ jenkins_gerrit_url: ssh://admin@${_param:haproxy_gerrit_bind_host}:${_param:haproxy_gerrit_ssh_bind_port}
+ jenkins_aptly_api_url: http://${_param:haproxy_aptly_api_bind_host}:${_param:haproxy_aptly_api_bind_port}
+ jenkins_aptly_url: http://${_param:haproxy_aptly_public_bind_host}:${_param:haproxy_aptly_public_bind_port}
+ jenkins_aptly_storages: "local"
+
+ # Gerrit
+ gerrit_auth_type: LDAP
+ gerrit_ldap_server: "ldap://${_param:cluster_vip_address}"
+ gerrit_ldap_bind_user: "cn=admin,${_param:openldap_dn}"
+ gerrit_ldap_bind_password: ${_param:openldap_admin_password}
+ gerrit_ldap_account_base: ou=people,${_param:openldap_dn}
+ gerrit_ldap_group_base: ou=groups,${_param:openldap_dn}
+ gerrit_admin_email: ${_param:admin_email}
+ gerrit_public_host: http://${_param:haproxy_gerrit_bind_host}:${_param:haproxy_gerrit_bind_port}
+ gerrit_admin_public_key: ${_param:jenkins_admin_public_key}
+ gerrit_admin_private_key: ${_param:jenkins_admin_private_key}
+ gerrit_admin_password: password
+
+ # Aptly
+ aptly_gpg_keypair_id: 6C0B7F8E
+ aptly_gpg_passphrase:
+ aptly_gpg_public_key: |
+ -----BEGIN PGP PUBLIC KEY BLOCK-----
+ Version: GnuPG v1
+ mQENBFhSxjwBCADDiI85tVV+Wu44LTySzY8+NiGHWrFDXpV1BfwS5I2L0YOtp334
+ Ma3toeBo9PJG0LBC31D1EseKIXcz+91j8m0WbFPd/r5H9aK1Qv8Mss6dNLUiz63/
+ zOI7VbfnH73dxGhDTN3rP2OaYFtw2L09nfcAunV5tyJuG2GrNYi7bOLeNQ3HR1mz
+ pA0cArmRbysfwKn+E82nwnglC4vQD7+UDoBMU1/82qqOZNdqMOAD1Rd9S4QG3q80
+ bI9Bc8sOOkrdUa4XWN8DdvaT/4z4evMjhbMjqo8m69+Z66EUrgL+PCYbEVeZt8g9
+ pcESB/2zv0w0PDifwKoHVkzplxGFrp5Q65TvABEBAAG0LEFUJlQgQ0kvQ0QgQXB0
+ bHkgc2lnbmluZyBrZXkgPGFwdGx5QGF0dC5jb20+iQE4BBMBAgAiBQJYUsY8AhsD
+ BgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRC5cJVmbAt/joBeB/0efCqtvYal
+ vfCM9VfOZ3nHebDO/Xy31QYJZyE/XBBaM29ZZos2p1p9pqybMz35DASsauDpbNv3
+ lO/DYAb4QXeiBlTk/2CbQlj7GTCYSzxKSAZf6PaGSE+xVfWLZe5pb36YQpFYFl80
+ 17KpPT1LWbpyLD+NIa7UzK3PLcWTO7IdcqS4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klyvJfzHCVRaMotu187LUv8swrfbFS0DVyGihPYw7FoF
+ 7oACEz2EOESpmK0ZwMxbpeN0cBVz4mmfcbVqHS6BziD9Q52ocPl4sR0C1RDao1w/
+ RLphNMQ1CdmJnSRDhC2SzJI+Bsy+dPgf9XdvT8PlKKSTPGWR/fbBE51/q1DOQ3Aw
+ hwv6KlZAw/ozIKtbsh74Q1wlxotO3FgbA2Pk9Zqb8ZabhJQCpegr/le92PFZMUyw
+ NA==
+ =MGAS
+ -----END PGP PRIVATE KEY BLOCK-----
diff --git a/classes/cluster/drivetrain-ha-oss/cicd/control/manager.yml b/classes/cluster/drivetrain-ha-oss/cicd/control/manager.yml
new file mode 100644
index 0000000..10aad44
--- /dev/null
+++ b/classes/cluster/drivetrain-ha-oss/cicd/control/manager.yml
@@ -0,0 +1,3 @@
+classes:
+ - system.docker.swarm.manager
+ - cluster.drivetrain-ha-oss
diff --git a/classes/cluster/drivetrain-ha-oss/cicd/init.yml b/classes/cluster/drivetrain-ha-oss/cicd/init.yml
new file mode 100644
index 0000000..e4dd6b4
--- /dev/null
+++ b/classes/cluster/drivetrain-ha-oss/cicd/init.yml
@@ -0,0 +1,41 @@
+parameters:
+ _param:
+ cluster_public_host: ${_param:cicd_control_address}
+ cicd_control_address: 172.16.10.254
+ cicd_control_hostname: cid
+ cicd_control_node01_hostname: cid01
+ cicd_control_node02_hostname: cid02
+ cicd_control_node03_hostname: cid03
+ cicd_control_node01_address: 172.16.10.90
+ cicd_control_node02_address: 172.16.10.91
+ cicd_control_node03_address: 172.16.10.92
+
+ # CI/CD control infrastructure
+ control_node01_address: ${_param:cicd_control_node01_address}
+ control_node02_address: ${_param:cicd_control_node02_address}
+ control_node03_address: ${_param:cicd_control_node03_address}
+ control_vip_address: ${_param:cicd_control_address}
+ control_public_host: ${_param:control_vip_address}
+ linux:
+ network:
+ host:
+ cid:
+ address: ${_param:cicd_control_address}
+ names:
+ - ${_param:cicd_control_hostname}
+ - ${_param:cicd_control_hostname}.${_param:cluster_domain}
+ cid01:
+ address: ${_param:cicd_control_node01_address}
+ names:
+ - ${_param:cicd_control_node01_hostname}
+ - ${_param:cicd_control_node01_hostname}.${_param:cluster_domain}
+ cid02:
+ address: ${_param:cicd_control_node02_address}
+ names:
+ - ${_param:cicd_control_node02_hostname}
+ - ${_param:cicd_control_node02_hostname}.${_param:cluster_domain}
+ cid03:
+ address: ${_param:cicd_control_node03_address}
+ names:
+ - ${_param:cicd_control_node03_hostname}
+ - ${_param:cicd_control_node03_hostname}.${_param:cluster_domain}
diff --git a/classes/cluster/drivetrain-ha-oss/cicd/worker.yml b/classes/cluster/drivetrain-ha-oss/cicd/worker.yml
new file mode 100644
index 0000000..9a88c12
--- /dev/null
+++ b/classes/cluster/drivetrain-ha-oss/cicd/worker.yml
@@ -0,0 +1,5 @@
+classes:
+ - system.linux.system.single
+ - system.jenkins.slave.docker
+ - system.aptly.client.publisher
+ - cluster.drivetrain-ha-oss