Hello community,
here is the log from the commit of package habootstrap-formula for
openSUSE:Factory checked in at 2020-10-06 17:09:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/habootstrap-formula (Old)
and /work/SRC/openSUSE:Factory/.habootstrap-formula.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "habootstrap-formula"
Tue Oct 6 17:09:30 2020 rev:15 rq:839608 version:0.3.9+git.1601909969.6702e47
Changes:
--------
--- /work/SRC/openSUSE:Factory/habootstrap-formula/habootstrap-formula.changes
2020-09-22 21:13:36.284056623 +0200
+++
/work/SRC/openSUSE:Factory/.habootstrap-formula.new.4249/habootstrap-formula.changes
2020-10-06 17:11:13.189532955 +0200
@@ -1,0 +2,5 @@
+Mon Oct 5 14:12:01 UTC 2020 - Simranpal Singh <[email protected]>
+
+- Update the SUMA form.yml file and prevalidation state with latest changes in
project
+
+-------------------------------------------------------------------
Old:
----
habootstrap-formula-0.3.9+git.1600700065.14360cc.tar.gz
New:
----
habootstrap-formula-0.3.9+git.1601909969.6702e47.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ habootstrap-formula.spec ++++++
--- /var/tmp/diff_new_pack.8GdS0F/_old 2020-10-06 17:11:13.893533563 +0200
+++ /var/tmp/diff_new_pack.8GdS0F/_new 2020-10-06 17:11:13.897533567 +0200
@@ -20,7 +20,7 @@
Name: habootstrap-formula
Group: System/Packages
-Version: 0.3.9+git.1600700065.14360cc
+Version: 0.3.9+git.1601909969.6702e47
Release: 0
Summary: HA cluster (crmsh) deployment salt formula
++++++ _service ++++++
--- /var/tmp/diff_new_pack.8GdS0F/_old 2020-10-06 17:11:13.925533590 +0200
+++ /var/tmp/diff_new_pack.8GdS0F/_new 2020-10-06 17:11:13.925533590 +0200
@@ -5,7 +5,7 @@
<param name="exclude">.git</param>
<param name="filename">habootstrap-formula</param>
<param name="versionformat">0.3.9+git.%ct.%h</param>
- <param name="revision">14360cc4e27684f3f2928da35a61ce7ba2781ea7</param>
+ <param name="revision">6702e4729ddfc6282536421fa624b09c4627eab1</param>
</service>
<service name="recompress" mode="disabled">
++++++ habootstrap-formula-0.3.9+git.1600700065.14360cc.tar.gz ->
habootstrap-formula-0.3.9+git.1601909969.6702e47.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/habootstrap-formula-0.3.9+git.1600700065.14360cc/cluster/pre_validation.sls
new/habootstrap-formula-0.3.9+git.1601909969.6702e47/cluster/pre_validation.sls
---
old/habootstrap-formula-0.3.9+git.1600700065.14360cc/cluster/pre_validation.sls
2020-09-21 16:54:25.000000000 +0200
+++
new/habootstrap-formula-0.3.9+git.1601909969.6702e47/cluster/pre_validation.sls
2020-10-05 16:59:29.000000000 +0200
@@ -15,8 +15,13 @@
{% endif %}
{% endif %}
-{# Check HA exporter #}
-{% if cluster.add_exporter is defined and cluster.add_exporter == false %}
- {% do cluster.pop('ha_exporter') %}
+{% if cluster.sbd_checkbox is defined %}
+{% if cluster.sbd.diskless_checkbox is defined and
cluster.sbd.diskless_checkbox is sameas true %}
+{% do cluster.sbd.update({'device': false}) %}
+{% endif %}
+{% endif %}
+
+
+{% if cluster.sbd.configure_sbd_checkbox is not defined or
cluster.sbd.configure_sbd_checkbox is sameas false %}
+{% do cluster.sbd.pop('configure_resource', none) %}
{% endif %}
-{# Check HA exporter finish #}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/habootstrap-formula-0.3.9+git.1600700065.14360cc/form.yml
new/habootstrap-formula-0.3.9+git.1601909969.6702e47/form.yml
--- old/habootstrap-formula-0.3.9+git.1600700065.14360cc/form.yml
2020-09-21 16:54:25.000000000 +0200
+++ new/habootstrap-formula-0.3.9+git.1601909969.6702e47/form.yml
2020-10-05 16:59:29.000000000 +0200
@@ -15,29 +15,51 @@
init:
$name: First node
- $help: Minion which creates the cluster
$optional: false
+ $help: Node which creates the cluster
unicast:
$type: boolean
$default: false
+ $help: Use UDP instead of multicast
interface:
$type: text
- $default: wlan0
+ $default: eth0
$optional: true
+ $help: Network interface to use for cluster communication
+
+ wait_for_initialization:
+ $type: number
+ $default: 20
+ $optional: true
+ $help: Time in seconds between hawk service is available in the first node
and join command is executed
+
+ join_timeout:
+ $type: number
+ $default: 60
+ $optional: true
+ $help: Timeout in seconds to join to the cluster
admin_ip:
$type: text
$optional: true
+ $help: Configure a virtual IP resource in cluster
ntp:
$type: text
$placeholder: pool.ntp.org
$optional: true
+ $help: ntp server address
+ watchdog_checkbox:
+ $name: Configure watchdog
+ $type: boolean
+ $optional: true
+ $default: false
watchdog:
$name: Watchdog configuration
+ $visibleIf: .watchdog_checkbox == true
$optional: true
$type: group
module:
@@ -50,9 +72,15 @@
$type: text
$placeholder: /dev/watchdog
$optional: true
-
+
+ sbd_checkbox:
+ $name: Configure SBD device and SBD cluster resource
+ $type: boolean
+ $optional: true
+ $default: false
sbd:
$name: SBD configuration
+ $visibleIf: .sbd_checkbox == true
$optional: true
$type: group
diskless_checkbox:
@@ -61,13 +89,125 @@
$default: false
$optional: true
device:
- $name: SBD device url
- $type: text
- $placeholder: /dev/vdb
+ $visibleIf: .diskless_checkbox == false
+ $name: SBD Device(s)
$optional: true
+ $type: edit-group
+ $itemName: ""
+ $minItems: 0
+ $prototype:
+ $name: SBD device path
+ $optional: true
+ $type: text
+ configure_sbd_checkbox:
+ $name: Configure sbd cluster resource
+ $type: boolean
+ $default: false
+ $help: This updates the resource stonith-sbd created if SBD is enabled.
SBD configuration will be overwritten if the resource is defined in the
configure template
+ configure_resource:
+ $name: Configure SBD resource
+ $visibleIf: .configure_sbd_checkbox == true
+ $optional: true
+ $type: group
+ force:
+ $name: Force commit
+ $type: boolean
+ $default: false
+ $optional: true
+ $help: Force commit. Use with caution, this can allow invalid
parameters in the configuration
+ configure_resource_params:
+ $name: Configure SBD resource parameters
+ $type: boolean
+ $default: false
+ $optional: true
+ $help: Mark this option to configure SBD resource parameters
+ params:
+ $name: parameters
+ $visibleIf: .configure_resource_params == true
+ $type: edit-group
+ $optional: true
+ $prototype:
+ $name: New parameter
+ key:
+ $name: Parameter name
+ $optional: true
+ value:
+ $name: Parameter value
+ $optional: true
+ configure_resource_operations:
+ $name: Configure SBD resource operations
+ $type: boolean
+ $default: false
+ $optional: true
+ $help: Mark this option to configure SBD resource operations like
monitor
+ op:
+ $name: operation
+ $visibleIf: .configure_resource_operations == true
+ $type: group
+ $optional: true
+ resource_op_options:
+ $name: Select operation
+ $type: select
+ $values: [monitor, start, stop]
+ monitor:
+ $visibleIf: .resource_op_options == monitor
+ $optional: true
+ $type: edit-group
+ $prototype:
+ $name: Monitor op parameter
+ key:
+ $name: Parameter
+ value:
+ $name: New value
+ start:
+ $visibleIf: .resource_op_options == start
+ $optional: true
+ $type: edit-group
+ $prototype:
+ $name: start op parameter
+ key:
+ $name: Parameter
+ value:
+ $name: New value
+ stop:
+ $visibleIf: .resource_op_options == stop
+ $optional: true
+ $type: edit-group
+ $optional: true
+ $prototype:
+ $name: stop op parameter
+ key:
+ $name: Parameter
+ value:
+ $name: New value
+ configure_resource_meta:
+ $name: Configure SBD meta attributes
+ $type: boolean
+ $default: false
+ $optional: true
+ $help: Mark this option to configure meta attributes
+ meta:
+ $name: meta
+ $visibleIf: .configure_resource_meta == true
+ $type: edit-group
+ $optional: true
+ $prototype:
+ $name: meta attribute
+ key:
+ $name: attribute name
+ $optional: true
+ value:
+ $name: attribute value
+ $optional: true
+ sshkeys_checkbox:
+ $name: Manage ssh key usage
+ $type: boolean
+ $optional: true
+ $default: false
sshkeys:
$name: SSH keys configuration
+ $visibleIf: .sshkeys_checkbox == true
$optional: true
$type: group
authorize_keys:
@@ -84,11 +224,17 @@
password:
$visibleIf: .authorize_keys == true
$name: First node root password
- $type: text
- $optional: true
+ $type: password
+ $optional: false
+ resource_agents_checkbox:
+ $name: Install new resource agents
+ $type: boolean
+ $optional: true
+ $default: false
resource_agents:
$name: Resource agents to install
+ $visibleIf: .resource_agents_checkbox == true
$optional: true
$type: edit-group
$itemName: ""
@@ -98,22 +244,107 @@
$optional: true
$type: text
+ corosync_checkbox:
+ $name: Configure corosync
+ $type: boolean
+ $optional: true
+ $default: false
+ corosync:
+ $name: Corosync configuration
+ $visibleIf: .corosync_checkbox == true
+ $type: edit-group
+ $minItems: 0
+ $prototype:
+ $name: Corosync parameter
+ $optional: true
+ key:
+ $name: Parameter name
+ $optional: true
+ value:
+ $name: Parameter options
+ $type: edit-group
+ $minItems: 0
+ $prototype:
+ key:
+ $name: Option name
+ $optional: true
+ value:
+ $name: Option value
+ $optional: true
+
configure_checkbox:
$name: Configure resource agents with configuration file
$type: boolean
+ $optional: true
$default: false
-
configure:
$visibleIf: .configure_checkbox == true
$name: Resource agents and constraints configuration
$optional: true
$type: group
+ properties_checkbox:
+ $name: Configure cluster properties
+ $type: boolean
+ $default: false
+ $optional: true
+ properties:
+ $name: Cluster properties
+ $visibleIf: .properties_checkbox == true
+ $optional: true
+ $type: edit-group
+ $prototype:
+ $name: configure properties
+ key:
+ $name: Property name
+ $optional: true
+ value:
+ $name: Property value
+ $optional: true
+ rsc_defaults_checkbox:
+ $name: Configure resource defaults
+ $type: boolean
+ $default: false
+ $optional: true
+ rsc_defaults:
+ $name: Resource defaults
+ $visibleIf: .rsc_defaults_checkbox == true
+ $type: edit-group
+ $prototype:
+ $name: Resource defaults
+ key:
+ $name: name
+ $optional: true
+ value:
+ $name: value
+ $optional: true
+ op_defaults_checkbox:
+ $name: Configure operations defaults
+ $type: boolean
+ $default: false
+ $optional: true
+ op_defaults:
+ $name: Operation defaults
+ $visibleIf: .op_defaults_checkbox == true
+ $type: edit-group
+ $prototype:
+ $name: Operation defaults
+ key:
+ $name: name
+ $optional: true
+ value:
+ $name: value
+ $optional: true
method:
$name: Method
$type: select
$values: [replace, update, push]
$default: update
$optional: true
+ force:
+ $name: Force commit
+ $type: boolean
+ $default: false
+ $help: Force commit. Use with caution, this can allow invalid parameters
in the configuration
is_xml:
$name: Configuration file is xml format
$type: boolean
@@ -132,7 +363,7 @@
$visibleIf: .configure_url_checkbox == false
$name: Jinja configuration template
$optional: true
- $type: namespace
+ $type: group
source:
$name: Template file path
$optional: true
@@ -155,17 +386,37 @@
$name: Parameter value
$optional: true
- add_exporter:
- $name: Add HA cluster metrics exporter
+ remove_checkbox:
+ $name: Remove cluster node(s)
$type: boolean
+ $optional: true
$default: false
- $help: Mark if you want add the HA cluster metrics exporter
- ha_exporter:
- $name: HA cluster metrics exporter
+ remove:
+ $name: Remove node(s) from cluster
+ $visibleIf: .remove_checkbox == true
$optional: true
- $visibleIf: .add_exporter == true
- $type: group
- exposition_port:
- $name: HA cluster exporter (hawk-apiserver) exposition port
- $type: text
+ $type: edit-group
+ $itemName: ""
+ $minItems: 0
+ $prototype:
+ $name: Cluster node to be removed
$optional: true
+ $type: text
+
+ monitoring_enabled:
+ $name: Enable monitoring via ha_cluster_exporter
+ $type: boolean
+ $default: false
+ $help: Mark if you want to enable monitoring and have the exporter
installed in all the nodes
+
+ change_hacluster_password:
+ $name: Update the cluster password
+ $type: boolean
+ $default: false
+ $optional: true
+ hacluster_password:
+ $visibleIf: .change_hacluster_password == true
+ $name: New HA cluster password
+ $type: password
+ $optional: true
+
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/habootstrap-formula-0.3.9+git.1600700065.14360cc/habootstrap-formula.changes
new/habootstrap-formula-0.3.9+git.1601909969.6702e47/habootstrap-formula.changes
---
old/habootstrap-formula-0.3.9+git.1600700065.14360cc/habootstrap-formula.changes
2020-09-21 16:54:25.000000000 +0200
+++
new/habootstrap-formula-0.3.9+git.1601909969.6702e47/habootstrap-formula.changes
2020-10-05 16:59:29.000000000 +0200
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Mon Oct 5 14:12:01 UTC 2020 - Simranpal Singh <[email protected]>
+
+- Update the SUMA form.yml file and prevalidation state with latest changes in
project
+
+-------------------------------------------------------------------
Thu Sep 3 06:37:50 UTC 2020 - Xabier Arbulu <[email protected]>
- Version bump 0.3.9