Bug #12354

Both Getting Started guides for MCollective won't work with current production release 1.2.1

Added by Nathan Powell over 1 year ago. Updated 8 months ago.

Status:ClosedStart date:02/01/2012
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Keywords: Affected mCollective version:
Branch:

Description

In both Getting Started guides (URLS below) The ‘server.cfg’ and ‘client.cfg’ omit an assignment for topicprefix. Since there does not appear to be a default for that in mcollective-1.2.1 (after grepping through the source) it results in an error when you attempt to use mco or mc-*. In mc-1.3.2 a default was added to the code, and so the guides work for that release. I would guess most large organizations would be deploying 1.2.1, and so the documentation should work with that release.

Simply adding the line: ‘topicprefix = /topic/’ to the top of both the ‘client.cfg’ and ‘server.cfg’ examples will fix this.

Guides: http://docs.puppetlabs.com/mcollective/reference/basic/gettingstarted.html http://docs.puppetlabs.com/mcollective/reference/basic/gettingstarted_redhat.html

Omitted assignment: topicprefix = /topic/

Expected result (after adding the omitted assignment) [root@cls0 mcollective]# mco ping cls0 time=47.95 ms

—— ping statistics —— 1 replies max: 47.95 min: 47.95 avg: 47.95

Actual result (with omission): [root@cls0 mcollective]# mco ping ping failed to run: incompatible marshal file format (can’t be read)

format version 4.8 required; 111.114 given (TypeError)

Let me know if you need more information.

Thanks.

History

#1 Updated by James Turnbull 11 months ago

  • Project changed from Puppet Documentation to MCollective

Actually part of MC docs.

#2 Updated by R.I. Pienaar 8 months ago

  • Status changed from Unreviewed to Closed

not applicable anymore

Also available in: Atom PDF