Hello, I can confirm that after changing ssl.rb when i authenticate nothing gets written to tokens.
I was able to workaround problem doing following steps:
1. configured corosync on each node in cluster (got 3 nodes): totem { version: 2 secauth: off cluster_name: openstack transport: udpu } nodelist { node { ring0_addr: 10.12.1.100 nodeid: 1 }
node { ring0_addr: 10.12.1.101 nodeid: 2 }
node { ring0_addr: 10.12.1.102 nodeid: 3 } } quorum { provider: corosync_votequorum } logging { to_logfile: yes logfile: /var/log/cluster/corosync.log to_syslog: yes }
2. edited /usr/share/pcsd/ssl.rb and changed to: :BindAddress => '0.0.0.0', :Host => '0.0.0.0',
3. provided empty config for: /var/lib/pcsd/pcs_settings.conf { "format_version": 2, "data_version": 0, "clusters": [
], "permissions": { "local_cluster": [
] } }
and
/var/lib/pcsd/tokens { "format_version": 2, "data_version": 0, "tokens": { } }
ln -s /var/lib/pcsd/ /usr/lib/ ln -s /var/log/corosync/ /var/log/cluster
4. authenticated with pcs auth ... 5. created cluster with pcs cluster setup ... I had to use ip addresses not servers name.
so far looks like it is working fine.
Hello,
I can confirm that after changing ssl.rb when i authenticate nothing gets written to tokens.
I was able to workaround problem doing following steps:
1. configured corosync on each node in cluster (got 3 nodes):
totem {
version: 2
secauth: off
cluster_name: openstack
transport: udpu
}
nodelist {
node {
ring0_addr: 10.12.1.100
nodeid: 1
}
node {
ring0_addr: 10.12.1.101
nodeid: 2
}
node { cluster/ corosync. log
ring0_addr: 10.12.1.102
nodeid: 3
}
}
quorum {
provider: corosync_votequorum
}
logging {
to_logfile: yes
logfile: /var/log/
to_syslog: yes
}
2. edited /usr/share/ pcsd/ssl. rb and changed to:
:BindAddress => '0.0.0.0',
:Host => '0.0.0.0',
3. provided empty config for: pcsd/pcs_ settings. conf
/var/lib/
{
"format_version": 2,
"data_version": 0,
"clusters": [
], cluster" : [
"permissions": {
"local_
]
}
}
and
/var/lib/ pcsd/tokens
{
"format_version": 2,
"data_version": 0,
"tokens": {
}
}
ln -s /var/lib/pcsd/ /usr/lib/
ln -s /var/log/corosync/ /var/log/cluster
4. authenticated with pcs auth ...
5. created cluster with pcs cluster setup ...
I had to use ip addresses not servers name.
so far looks like it is working fine.