On Wed, Jan 13, 2010 at 02:49:53PM +1100, Angus Salkeld wrote: > On Wed, Jan 13, 2010 at 6:06 AM, David Teigland <[email protected]> wrote: > > corosync-objctl used to print a lot of useful information which now > > appears only as **binary**. ?Is there a way to get that back? > > Perhaps two output modes, one where it prints binary values in hex and > > another where it makes a best effort to interpret and print the values > > in a useful form? > > > > Dave > > Hi David > > The keys are now typed, the default as used by the old API > defaults to ANY (or void*). So if we have uses of the old API > then these objects are printed out as **BINARY**. If they are in actual > fact strings then we need to update the call to key_create() > to use the new API, which alows us to pass in the type (in this case > STRING).
I wonder if there's anything preventing us from using the new API in the cluster.git code? > Can you send me the output of objctl. > > I just want to see which objects are still not created correctly. cluster.name=**binary**(9) cluster.config_version=**binary**(9) cluster.totem.token=**binary**(9) cluster.clusternodes.clusternode.name=**binary**(9) cluster.clusternodes.clusternode.nodeid=**binary**(9) cluster.clusternodes.clusternode.fence.method.name=**binary**(9) cluster.clusternodes.clusternode.fence.method.device.name=**binary**(9) cluster.clusternodes.clusternode.fence.method.device.port=**binary**(9) cluster.clusternodes.clusternode.unfence.device.name=**binary**(9) cluster.clusternodes.clusternode.unfence.device.port=**binary**(9) cluster.clusternodes.clusternode.unfence.device.action=**binary**(9) cluster.clusternodes.clusternode.name=**binary**(9) cluster.clusternodes.clusternode.nodeid=**binary**(9) cluster.clusternodes.clusternode.fence.method.name=**binary**(9) cluster.clusternodes.clusternode.fence.method.device.name=**binary**(9) cluster.clusternodes.clusternode.fence.method.device.port=**binary**(9) cluster.clusternodes.clusternode.unfence.device.name=**binary**(9) cluster.clusternodes.clusternode.unfence.device.port=**binary**(9) cluster.clusternodes.clusternode.unfence.device.action=**binary**(9) cluster.clusternodes.clusternode.name=**binary**(9) cluster.clusternodes.clusternode.nodeid=**binary**(9) cluster.clusternodes.clusternode.fence.method.name=**binary**(9) cluster.clusternodes.clusternode.fence.method.device.name=**binary**(9) cluster.clusternodes.clusternode.fence.method.device.port=**binary**(9) cluster.clusternodes.clusternode.unfence.device.name=**binary**(9) cluster.clusternodes.clusternode.unfence.device.port=**binary**(9) cluster.clusternodes.clusternode.unfence.device.action=**binary**(9) cluster.clusternodes.clusternode.name=**binary**(9) cluster.clusternodes.clusternode.nodeid=**binary**(9) cluster.clusternodes.clusternode.fence.method.name=**binary**(9) cluster.clusternodes.clusternode.fence.method.device.name=**binary**(9) cluster.clusternodes.clusternode.fence.method.device.port=**binary**(9) cluster.clusternodes.clusternode.unfence.device.name=**binary**(9) cluster.clusternodes.clusternode.unfence.device.port=**binary**(9) cluster.clusternodes.clusternode.unfence.device.action=**binary**(9) cluster.fencedevices.fencedevice.name=**binary**(9) cluster.fencedevices.fencedevice.agent=**binary**(9) cluster.fencedevices.fencedevice.ipaddr=**binary**(9) cluster.fencedevices.fencedevice.name=**binary**(9) cluster.fencedevices.fencedevice.agent=**binary**(9) cluster.fencedevices.fencedevice.ipaddr=**binary**(9) cluster.cman.nodename=**binary**(9) cluster.cman.cluster_id=**binary**(9) totem.token=**binary**(9) totem.version=**binary**(9) totem.nodeid=**binary**(9) totem.vsftype=**binary**(9) totem.token_retransmits_before_loss_const=**binary**(9) totem.join=**binary**(9) totem.consensus=**binary**(9) totem.rrp_mode=**binary**(9) totem.secauth=**binary**(9) totem.key=**binary**(9) totem.interface.ringnumber=**binary**(9) totem.interface.bindnetaddr=**binary**(9) totem.interface.mcastaddr=**binary**(9) totem.interface.mcastport=**binary**(9) libccs.next_handle=**binary**(9) libccs.connection.ccs_handle=**binary**(9) libccs.connection.config_version=**binary**(9) libccs.connection.fullxpath=**binary**(9) libccs.connection.ccs_handle=**binary**(9) libccs.connection.config_version=**binary**(9) libccs.connection.fullxpath=**binary**(9) libccs.connection.ccs_handle=**binary**(9) libccs.connection.config_version=**binary**(9) libccs.connection.fullxpath=**binary**(9) logging.timestamp=**binary**(9) logging.to_logfile=**binary**(9) logging.logfile=**binary**(9) logging.logfile_priority=**binary**(9) logging.to_syslog=**binary**(9) logging.syslog_facility=**binary**(9) logging.syslog_priority=**binary**(9) aisexec.user=**binary**(9) aisexec.group=**binary**(9) service.name=**binary**(9) service.ver=**binary**(9) service.name=**binary**(9) service.ver=**binary**(9) quorum.provider=**binary**(9) service.name=**binary**(9) service.ver=**binary**(9) service.name=**binary**(9) service.ver=**binary**(9) service.name=**binary**(9) service.ver=**binary**(9) service.name=**binary**(9) service.ver=**binary**(9) service.name=**binary**(9) service.ver=**binary**(9) service.name=**binary**(9) service.ver=**binary**(9) runtime.services.quorum.service_id=12 runtime.services.cman.service_id=9 runtime.services.clm.service_id=1 runtime.services.clm.0.tx=3 runtime.services.clm.0.rx=6 runtime.services.evt.service_id=4 runtime.services.evt.0.tx=0 runtime.services.evt.0.rx=0 runtime.services.evt.1.tx=9 runtime.services.evt.1.rx=17 runtime.services.evt.2.tx=0 runtime.services.evt.2.rx=0 runtime.services.ckpt.service_id=3 runtime.services.ckpt.0.tx=0 runtime.services.ckpt.0.rx=0 runtime.services.ckpt.1.tx=0 runtime.services.ckpt.1.rx=0 runtime.services.ckpt.2.tx=0 runtime.services.ckpt.2.rx=0 runtime.services.ckpt.3.tx=0 runtime.services.ckpt.3.rx=0 runtime.services.ckpt.4.tx=0 runtime.services.ckpt.4.rx=0 runtime.services.ckpt.5.tx=0 runtime.services.ckpt.5.rx=0 runtime.services.ckpt.6.tx=0 runtime.services.ckpt.6.rx=0 runtime.services.ckpt.7.tx=0 runtime.services.ckpt.7.rx=0 runtime.services.ckpt.8.tx=0 runtime.services.ckpt.8.rx=0 runtime.services.ckpt.9.tx=0 runtime.services.ckpt.9.rx=0 runtime.services.ckpt.10.tx=0 runtime.services.ckpt.10.rx=0 runtime.services.ckpt.11.tx=3 runtime.services.ckpt.11.rx=5 runtime.services.ckpt.12.tx=0 runtime.services.ckpt.12.rx=0 runtime.services.ckpt.13.tx=0 runtime.services.ckpt.13.rx=0 runtime.services.msg.service_id=6 runtime.services.msg.0.tx=0 runtime.services.msg.0.rx=0 runtime.services.msg.1.tx=0 runtime.services.msg.1.rx=0 runtime.services.msg.2.tx=0 runtime.services.msg.2.rx=0 runtime.services.msg.3.tx=0 runtime.services.msg.3.rx=0 runtime.services.msg.4.tx=0 runtime.services.msg.4.rx=0 runtime.services.msg.5.tx=0 runtime.services.msg.5.rx=0 runtime.services.msg.6.tx=0 runtime.services.msg.6.rx=0 runtime.services.msg.7.tx=0 runtime.services.msg.7.rx=0 runtime.services.msg.8.tx=0 runtime.services.msg.8.rx=0 runtime.services.msg.9.tx=0 runtime.services.msg.9.rx=0 runtime.services.msg.10.tx=0 runtime.services.msg.10.rx=0 runtime.services.msg.11.tx=0 runtime.services.msg.11.rx=0 runtime.services.msg.12.tx=0 runtime.services.msg.12.rx=0 runtime.services.msg.13.tx=0 runtime.services.msg.13.rx=0 runtime.services.msg.14.tx=0 runtime.services.msg.14.rx=0 runtime.services.msg.15.tx=0 runtime.services.msg.15.rx=0 runtime.services.msg.16.tx=0 runtime.services.msg.16.rx=0 runtime.services.msg.17.tx=0 runtime.services.msg.17.rx=0 runtime.services.msg.18.tx=0 runtime.services.msg.18.rx=0 runtime.services.msg.19.tx=0 runtime.services.msg.19.rx=0 runtime.services.msg.20.tx=0 runtime.services.msg.20.rx=0 runtime.services.msg.21.tx=0 runtime.services.msg.21.rx=0 runtime.services.msg.22.tx=0 runtime.services.msg.22.rx=0 runtime.services.msg.23.tx=0 runtime.services.msg.23.rx=0 runtime.services.msg.24.tx=0 runtime.services.msg.24.rx=0 runtime.services.msg.25.tx=0 runtime.services.msg.25.rx=0 runtime.services.msg.26.tx=0 runtime.services.msg.26.rx=0 runtime.services.msg.27.tx=0 runtime.services.msg.27.rx=0 runtime.services.msg.28.tx=0 runtime.services.msg.28.rx=0 runtime.services.msg.29.tx=0 runtime.services.msg.29.rx=0 runtime.services.msg.30.tx=0 runtime.services.msg.30.rx=0 runtime.services.msg.31.tx=0 runtime.services.msg.31.rx=0 runtime.services.msg.32.tx=0 runtime.services.msg.32.rx=0 runtime.services.msg.33.tx=0 runtime.services.msg.33.rx=0 runtime.services.lck.service_id=5 runtime.services.lck.0.tx=0 runtime.services.lck.0.rx=0 runtime.services.lck.1.tx=0 runtime.services.lck.1.rx=0 runtime.services.lck.2.tx=0 runtime.services.lck.2.rx=0 runtime.services.lck.3.tx=0 runtime.services.lck.3.rx=0 runtime.services.lck.4.tx=0 runtime.services.lck.4.rx=0 runtime.services.lck.5.tx=0 runtime.services.lck.5.rx=0 runtime.services.lck.6.tx=0 runtime.services.lck.6.rx=0 runtime.services.lck.7.tx=0 runtime.services.lck.7.rx=0 runtime.services.lck.8.tx=0 runtime.services.lck.8.rx=0 runtime.services.lck.9.tx=0 runtime.services.lck.9.rx=0 runtime.services.lck.10.tx=0 runtime.services.lck.10.rx=0 runtime.services.lck.11.tx=0 runtime.services.lck.11.rx=0 runtime.services.lck.12.tx=0 runtime.services.lck.12.rx=0 runtime.services.tmr.service_id=14 runtime.services.evs.service_id=0 runtime.services.evs.0.tx=0 runtime.services.evs.0.rx=0 runtime.services.cfg.service_id=7 runtime.services.cpg.service_id=8 runtime.services.cpg.0.tx=4 runtime.services.cpg.0.rx=12 runtime.services.cpg.1.tx=0 runtime.services.cpg.1.rx=0 runtime.services.cpg.2.tx=0 runtime.services.cpg.2.rx=0 runtime.services.cpg.3.tx=11 runtime.services.cpg.3.rx=39 runtime.services.cpg.4.tx=3 runtime.services.cpg.4.rx=6 runtime.services.confdb.service_id=11 runtime.services.pload.service_id=13 runtime.services.pload.0.tx=0 runtime.services.pload.0.rx=0 runtime.services.pload.1.tx=0 runtime.services.pload.1.rx=0 runtime.services.quorum.service_id=12 runtime.connections.active=6 runtime.connections.closed=129 runtime.connections.fenced:3662:18.service_id=8 runtime.connections.fenced:3662:18.client_pid=3662 runtime.connections.fenced:3662:18.responses=4 runtime.connections.fenced:3662:18.dispatched=9 runtime.connections.fenced:3662:18.requests=4 runtime.connections.fenced:3662:18.sem_retry_count=0 runtime.connections.fenced:3662:18.send_retry_count=0 runtime.connections.fenced:3662:18.recv_retry_count=0 runtime.connections.fenced:3662:18.flow_control=0 runtime.connections.fenced:3662:18.flow_control_count=0 runtime.connections.fenced:3662:18.queue_size=0 runtime.connections.dlm_controld:3676:23.service_id=8 runtime.connections.dlm_controld:3676:23.client_pid=3676 runtime.connections.dlm_controld:3676:23.responses=4 runtime.connections.dlm_controld:3676:23.dispatched=9 runtime.connections.dlm_controld:3676:23.requests=4 runtime.connections.dlm_controld:3676:23.sem_retry_count=0 runtime.connections.dlm_controld:3676:23.send_retry_count=0 runtime.connections.dlm_controld:3676:23.recv_retry_count=0 runtime.connections.dlm_controld:3676:23.flow_control=0 runtime.connections.dlm_controld:3676:23.flow_control_count=0 runtime.connections.dlm_controld:3676:23.queue_size=0 runtime.connections.gfs_controld:3693:22.service_id=8 runtime.connections.gfs_controld:3693:22.client_pid=3693 runtime.connections.gfs_controld:3693:22.responses=4 runtime.connections.gfs_controld:3693:22.dispatched=9 runtime.connections.gfs_controld:3693:22.requests=4 runtime.connections.gfs_controld:3693:22.sem_retry_count=0 runtime.connections.gfs_controld:3693:22.send_retry_count=0 runtime.connections.gfs_controld:3693:22.recv_retry_count=0 runtime.connections.gfs_controld:3693:22.flow_control=0 runtime.connections.gfs_controld:3693:22.flow_control_count=0 runtime.connections.gfs_controld:3693:22.queue_size=0 runtime.connections.dlm_controld:3676:14.service_id=3 runtime.connections.dlm_controld:3676:14.client_pid=3676 runtime.connections.dlm_controld:3676:14.responses=0 runtime.connections.dlm_controld:3676:14.dispatched=0 runtime.connections.dlm_controld:3676:14.requests=0 runtime.connections.dlm_controld:3676:14.sem_retry_count=0 runtime.connections.dlm_controld:3676:14.send_retry_count=0 runtime.connections.dlm_controld:3676:14.recv_retry_count=0 runtime.connections.dlm_controld:3676:14.flow_control=0 runtime.connections.dlm_controld:3676:14.flow_control_count=0 runtime.connections.dlm_controld:3676:14.queue_size=0 runtime.connections.fenced:3662:17.service_id=8 runtime.connections.fenced:3662:17.client_pid=3662 runtime.connections.fenced:3662:17.responses=3 runtime.connections.fenced:3662:17.dispatched=10 runtime.connections.fenced:3662:17.requests=3 runtime.connections.fenced:3662:17.sem_retry_count=0 runtime.connections.fenced:3662:17.send_retry_count=0 runtime.connections.fenced:3662:17.recv_retry_count=0 runtime.connections.fenced:3662:17.flow_control=0 runtime.connections.fenced:3662:17.flow_control_count=0 runtime.connections.fenced:3662:17.queue_size=0 runtime.connections.corosync-objctl:3828:19.service_id=11 runtime.connections.corosync-objctl:3828:19.client_pid=3828 runtime.connections.corosync-objctl:3828:19.responses=741 runtime.connections.corosync-objctl:3828:19.dispatched=0 runtime.connections.corosync-objctl:3828:19.requests=744 runtime.connections.corosync-objctl:3828:19.sem_retry_count=0 runtime.connections.corosync-objctl:3828:19.send_retry_count=0 runtime.connections.corosync-objctl:3828:19.recv_retry_count=0 runtime.connections.corosync-objctl:3828:19.flow_control=0 runtime.connections.corosync-objctl:3828:19.flow_control_count=0 runtime.connections.corosync-objctl:3828:19.queue_size=0 runtime.totem.pg.mrp.srp.orf_token_tx=3 runtime.totem.pg.mrp.srp.orf_token_rx=1100 runtime.totem.pg.mrp.srp.memb_merge_detect_tx=234 runtime.totem.pg.mrp.srp.memb_merge_detect_rx=234 runtime.totem.pg.mrp.srp.memb_join_tx=3 runtime.totem.pg.mrp.srp.memb_join_rx=9 runtime.totem.pg.mrp.srp.mcast_tx=55 runtime.totem.pg.mrp.srp.mcast_retx=0 runtime.totem.pg.mrp.srp.mcast_rx=110 runtime.totem.pg.mrp.srp.memb_commit_token_tx=6 runtime.totem.pg.mrp.srp.memb_commit_token_rx=6 runtime.totem.pg.mrp.srp.token_hold_cancel_tx=1 runtime.totem.pg.mrp.srp.token_hold_cancel_rx=4 runtime.totem.pg.mrp.srp.operational_entered=3 runtime.totem.pg.mrp.srp.operational_token_lost=0 runtime.totem.pg.mrp.srp.gather_entered=3 runtime.totem.pg.mrp.srp.gather_token_lost=0 runtime.totem.pg.mrp.srp.commit_entered=3 runtime.totem.pg.mrp.srp.commit_token_lost=0 runtime.totem.pg.mrp.srp.recovery_entered=3 runtime.totem.pg.mrp.srp.recovery_token_lost=0 runtime.totem.pg.mrp.srp.consensus_timeouts=0 runtime.totem.pg.mrp.srp.mtt_rx_token=79 runtime.totem.pg.mrp.srp.avg_token_workload=0 runtime.totem.pg.mrp.srp.avg_backlog_calc=0 runtime.totem.pg.mrp.srp.rx_msg_dropped=0 cman_private.COROSYNC_DEFAULT_CONFIG_IFACE=**binary**(9) _______________________________________________ Openais mailing list [email protected] https://lists.linux-foundation.org/mailman/listinfo/openais
