[ClusterLabs] Unable to resource due to nvpair[@name="target-role"]: No such device or address

S Sathish S s.s.sathish at ericsson.com
Mon Oct 7 09:34:55 EDT 2019


Hi Team,

I have two below query , we have been using Rhel 6.5 OS Version with below clusterlab source code compiled.

corosync-1.4.10
pacemaker-1.1.10
pcs-0.9.90
resource-agents-3.9.2

Query 1 : we have added below resource group as required later we are trying to start the resource group , but unable to perform it .
                   But while executing RA file with start option , required service is started but pacemaker unable to recognized it started .

# pcs resource show MANAGER
Resource: MANAGER (class=ocf provider=provider type=MANAGER_RA)
  Meta Attrs: priority=100 failure-timeout=120s migration-threshold=5
  Operations: monitor on-fail=restart interval=10s timeout=120s (MANAGER-monitor-interval-10s)
              start on-fail=restart interval=0s timeout=120s (MANAGER-start-timeout-120s-on-fail-restart)
              stop interval=0s timeout=120s (MANAGER-stop-timeout-120s)

Starting the below resource
#pcs resource enable MANAGER

Below are error we are getting in corosync.log file ,Please suggest what will be RCA for below issue.

cib:     info: crm_client_new:   Connecting 0x819e00 for uid=0 gid=0 pid=18508 id=e5fdaf69-390b-447d-b407-6420ac45148f
cib:     info: cib_process_request:      Completed cib_query operation for section 'all': OK (rc=0, origin=local/crm_resource/2, version=0.89.1)
cib:     info: cib_process_request:      Completed cib_query operation for section //cib/configuration/resources//*[@id="MANAGER "]/meta_attributes//nvpair[@name="target-role"]: No such device or address (rc=-6, origin=local/crm_resource/3, version=0.89.1)
cib:     info: crm_client_destroy:       Destroying 0 events

Query 2 : stack we are using classic openais (with plugin) , In that start the pacemaker service by default "update-origin" parameter in cib.xml update as hostname which pull from get_node_name function (uname -n)  instead we need to configure IPADDRESS of the hostname , Is it possible ? we have requirement to perform the same.


Thanks and Regards,
S Sathish S
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20191007/b81ba304/attachment-0001.html>


More information about the Users mailing list