Project

General

Profile

Actions

Bug #8754

open

Foreman passes incorrect case sensitivity on "Run Puppet" to mco provider

Added by Jeff Sparrow over 9 years ago. Updated over 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Puppet integration
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When using the "Run Puppet" button on hosts in Foreman, under the mco provider, it will send the command to mco with a lower case fqdn that will then fail to find it:

mco ping:
Ultralisk time=104.35 ms

Command that is sent:
[root@puppet etc]# /usr/bin/mco puppet runonce -I ultralisk
No request sent, we did not discover any nodes.

but if you manually run it with the correct case it works fine.


Related issues 1 (1 open0 closed)

Related to Foreman - Bug #8859: Foreman does not display case specific hostnamesNew01/07/2015Actions
Actions #1

Updated by Dominic Cleal over 9 years ago

  • Project changed from MCollective to Foreman
  • Category set to Puppet integration

Are the hosts lower or mixed-case in Foreman's UI itself?

Actions #2

Updated by Jeff Sparrow over 9 years ago

Dominic Cleal wrote:

Are the hosts lower or mixed-case in Foreman's UI itself?

All hosts come in to Foreman as lower case, but sensitive to case in mco.

Actions #3

Updated by Jeff Sparrow over 9 years ago

Edit: Facter -p reports them as correct case sensitivity btw.

Actions #4

Updated by Jeff Sparrow over 9 years ago

Dominic Cleal wrote:

Are the hosts lower or mixed-case in Foreman's UI itself?

Bump. Any new info on this? It makes the "Run Puppet" option in Foreman irrelevant and useless.

Actions #5

Updated by Dominic Cleal over 9 years ago

  • Related to Bug #8859: Foreman does not display case specific hostnames added
Actions

Also available in: Atom PDF