[Debian-ha-maintainers] Bug#911801: pacemaker: Cannot complete pcs cluster setup command, returns error HTTP401
Duncan Hare
dh at synoia.com
Thu Oct 25 01:19:02 BST 2018
Package: pacemaker
Version: 1.1.16-1
Severity: grave
Justification: causes non-serious data loss
-- System Information:
Debian Release: 9.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-8-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages pacemaker depends on:
ii corosync 2.4.2-3+deb9u1
ii dbus 1.10.26-0+deb9u1
ii init-system-helpers 1.48
ii libc6 2.24-11+deb9u3
ii libcfg6 2.4.2-3+deb9u1
ii libcib4 1.1.16-1
ii libcmap4 2.4.2-3+deb9u1
ii libcorosync-common4 2.4.2-3+deb9u1
ii libcpg4 2.4.2-3+deb9u1
ii libcrmcluster4 1.1.16-1
ii libcrmcommon3 1.1.16-1
ii libcrmservice3 1.1.16-1
ii libglib2.0-0 2.50.3-2
ii libgnutls30 3.5.8-5+deb9u3
ii liblrmd1 1.1.16-1
ii libpam0g 1.1.8-3.6
ii libpe-rules2 1.1.16-1
ii libpe-status10 1.1.16-1
ii libpengine10 1.1.16-1
ii libqb0 1.0.1-1
ii libquorum5 2.4.2-3+deb9u1
ii libstonithd2 1.1.16-1
ii libtransitioner2 1.1.16-1
ii lsb-base 9.20161125
ii pacemaker-common 1.1.16-1
ii pacemaker-resource-agents 1.1.16-1
ii perl 5.24.1-3+deb9u4
Versions of packages pacemaker recommends:
ii fence-agents 4.0.25-1
ii pacemaker-cli-utils 1.1.16-1
Versions of packages pacemaker suggests:
ii cluster-glue 1.0.12-5
ii pcs 0.9.155+dfsg-2+deb9u1
Running: /usr/bin/ruby -I/usr/share/pcsd/ /usr/share/pcsd/pcsd-cli.rb auth
--Debug Input Start--
{"username": "hacluster", "local": false, "nodes": ["greene", "pinke"], "password": "Cl3nt4n@@", "force": true}
--Debug Input End--
Return Value: 0
--Debug Output Start--
{
"status": "ok",
"data": {
"auth_responses": {
"pinke": {
"status": "ok",
"token": "c4dca519-18ab-4ca9-b218-af6e03b3731d"
},
"greene": {
"status": "ok",
"token": "d0ea589d-0a05-40d8-a366-82b40d557465"
}
},
"sync_successful": true,
"sync_nodes_err": [
],
"sync_responses": {
}
},
"log": [
"I, [2018-10-24T17:03:01.093531 #7491] INFO -- : PCSD Debugging enabled\n",
"D, [2018-10-24T17:03:01.093652 #7491] DEBUG -- : Did not detect RHEL 6\n",
"I, [2018-10-24T17:03:01.093733 #7491] INFO -- : Running: /usr/sbin/corosync-cmapctl totem.cluster_name\n",
"I, [2018-10-24T17:03:01.093816 #7491] INFO -- : CIB USER: hacluster, groups: \n",
"D, [2018-10-24T17:03:01.134130 #7491] DEBUG -- : [\"totem.cluster_name (str) = debian\\n\"]\n",
"D, [2018-10-24T17:03:01.134912 #7491] DEBUG -- : []\n",
"D, [2018-10-24T17:03:01.135169 #7491] DEBUG -- : Duration: 0.040189124s\n",
"I, [2018-10-24T17:03:01.135618 #7491] INFO -- : Return Value: 0\n",
"I, [2018-10-24T17:03:01.430297 #7491] INFO -- : Running: /usr/sbin/pcs status nodes corosync\n",
"I, [2018-10-24T17:03:01.430644 #7491] INFO -- : CIB USER: hacluster, groups: \n",
"D, [2018-10-24T17:03:03.173921 #7491] DEBUG -- : [\"Corosync Nodes:\\n\", \" Online:\\n\", \" Offline:\\n\"]\n",
"D, [2018-10-24T17:03:03.174581 #7491] DEBUG -- : []\n",
"D, [2018-10-24T17:03:03.174852 #7491] DEBUG -- : Duration: 1.743259319s\n",
"I, [2018-10-24T17:03:03.175252 #7491] INFO -- : Return Value: 0\n",
"I, [2018-10-24T17:03:03.184745 #7491] INFO -- : Sending config 'tokens' version 1 baa843266738f0107221006d0e7dfd43ba74c73b to nodes: \n"
]
}
--Debug Output End--
Running: /usr/sbin/corosync -v
Finished running: /usr/sbin/corosync -v
Return value: 0
--Debug Stdout Start--
Corosync Cluster Engine, version '2.4.2'
Copyright (c) 2006-2009 Red Hat, Inc.
--Debug Stdout End--
--Debug Stderr Start--
--Debug Stderr End--
Destroying cluster on nodes: pinke, greene...
Running: /usr/bin/ruby -I/usr/share/pcsd/ /usr/share/pcsd/pcsd-cli.rb read_tokens
--Debug Input Start--
{}
--Debug Input End--
Running: /usr/bin/ruby -I/usr/share/pcsd/ /usr/share/pcsd/pcsd-cli.rb read_tokens
--Debug Input Start--
{}
--Debug Input End--
Return Value: 0
--Debug Output Start--
{
"status": "ok",
"data": {
},
"log": [
"I, [2018-10-24T17:03:36.610130 #7562] INFO -- : PCSD Debugging enabled\n",
"D, [2018-10-24T17:03:36.610225 #7562] DEBUG -- : Did not detect RHEL 6\n",
"I, [2018-10-24T17:03:36.610297 #7562] INFO -- : Running: /usr/sbin/corosync-cmapctl totem.cluster_name\n",
"I, [2018-10-24T17:03:36.610391 #7562] INFO -- : CIB USER: hacluster, groups: \n",
"D, [2018-10-24T17:03:36.793991 #7562] DEBUG -- : [\"totem.cluster_name (str) = debian\\n\"]\n",
"D, [2018-10-24T17:03:36.794664 #7562] DEBUG -- : []\n",
"D, [2018-10-24T17:03:36.794907 #7562] DEBUG -- : Duration: 0.18349867s\n",
"I, [2018-10-24T17:03:36.804683 #7562] INFO -- : Return Value: 0\n"
]
}
--Debug Output End--
Sending HTTP Request to: https://greene:2224/remote/cluster_stop
Data: force=1&component=pacemaker
Response Code: 401
--Debug Response Start--
{"notauthorized":"true"}--Debug Response End--
greene: Unable to authenticate to greene - (HTTP error: 401), try running 'pcs cluster auth'
Return Value: 0
--Debug Output Start--
{
"status": "ok",
"data": {
},
"log": [
"I, [2018-10-24T17:03:36.785802 #7561] INFO -- : PCSD Debugging enabled\n",
"D, [2018-10-24T17:03:36.785993 #7561] DEBUG -- : Did not detect RHEL 6\n",
"I, [2018-10-24T17:03:36.786214 #7561] INFO -- : Running: /usr/sbin/corosync-cmapctl totem.cluster_name\n",
"I, [2018-10-24T17:03:36.786287 #7561] INFO -- : CIB USER: hacluster, groups: \n",
"D, [2018-10-24T17:03:37.025018 #7561] DEBUG -- : [\"totem.cluster_name (str) = debian\\n\"]\n",
"D, [2018-10-24T17:03:37.025680 #7561] DEBUG -- : []\n",
"D, [2018-10-24T17:03:37.025886 #7561] DEBUG -- : Duration: 0.238586259s\n",
"I, [2018-10-24T17:03:37.026396 #7561] INFO -- : Return Value: 0\n"
]
}
--Debug Output End--
Sending HTTP Request to: https://pinke:2224/remote/cluster_stop
Data: force=1&component=pacemaker
Response Code: 401
--Debug Response Start--
{"notauthorized":"true"}--Debug Response End--
pinke: Unable to authenticate to pinke - (HTTP error: 401), try running 'pcs cluster auth'
Running: /usr/bin/ruby -I/usr/share/pcsd/ /usr/share/pcsd/pcsd-cli.rb read_tokens
--Debug Input Start--
{}
--Debug Input End--
Running: /usr/bin/ruby -I/usr/share/pcsd/ /usr/share/pcsd/pcsd-cli.rb read_tokens
--Debug Input Start--
{}
--Debug Input End--
Return Value: 0
--Debug Output Start--
{
"status": "ok",
"data": {
},
"log": [
"I, [2018-10-24T17:03:41.349512 #7583] INFO -- : PCSD Debugging enabled\n",
"D, [2018-10-24T17:03:41.349694 #7583] DEBUG -- : Did not detect RHEL 6\n",
"I, [2018-10-24T17:03:41.349847 #7583] INFO -- : Running: /usr/sbin/corosync-cmapctl totem.cluster_name\n",
"I, [2018-10-24T17:03:41.349948 #7583] INFO -- : CIB USER: hacluster, groups: \n",
"D, [2018-10-24T17:03:41.419400 #7583] DEBUG -- : [\"totem.cluster_name (str) = debian\\n\"]\n",
"D, [2018-10-24T17:03:41.420024 #7583] DEBUG -- : []\n",
"D, [2018-10-24T17:03:41.420277 #7583] DEBUG -- : Duration: 0.069298793s\n",
"I, [2018-10-24T17:03:41.420779 #7583] INFO -- : Return Value: 0\n"
]
}
--Debug Output End--
Sending HTTP Request to: https://pinke:2224/remote/cluster_destroy
Data: None
Response Code: 401
--Debug Response Start--
{"notauthorized":"true"}--Debug Response End--
pinke: Unable to authenticate to pinke - (HTTP error: 401), try running 'pcs cluster auth'
Return Value: 0
--Debug Output Start--
{
"status": "ok",
"data": {
},
"log": [
"I, [2018-10-24T17:03:41.479439 #7584] INFO -- : PCSD Debugging enabled\n",
"D, [2018-10-24T17:03:41.479616 #7584] DEBUG -- : Did not detect RHEL 6\n",
"I, [2018-10-24T17:03:41.479781 #7584] INFO -- : Running: /usr/sbin/corosync-cmapctl totem.cluster_name\n",
"I, [2018-10-24T17:03:41.479934 #7584] INFO -- : CIB USER: hacluster, groups: \n",
"D, [2018-10-24T17:03:41.542663 #7584] DEBUG -- : [\"totem.cluster_name (str) = debian\\n\"]\n",
"D, [2018-10-24T17:03:41.543482 #7584] DEBUG -- : []\n",
"D, [2018-10-24T17:03:41.543774 #7584] DEBUG -- : Duration: 0.062651059s\n",
"I, [2018-10-24T17:03:41.546667 #7584] INFO -- : Return Value: 0\n"
]
}
--Debug Output End--
Sending HTTP Request to: https://greene:2224/remote/cluster_destroy
Data: None
Response Code: 401
--Debug Response Start--
{"notauthorized":"true"}--Debug Response End--
greene: Unable to authenticate to greene - (HTTP error: 401), try running 'pcs cluster auth'
-- no debconf information
More information about the Debian-ha-maintainers
mailing list