Bug 1003440 - puppet:Command 'puppet agent --test' returned non-zero eixt status 1
Summary: puppet:Command 'puppet agent --test' returned non-zero eixt status 1
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-node
Version: unspecified
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 3.4.1
Assignee: Ryan Barry
QA Contact: bugs@ovirt.org
URL:
Whiteboard: node
Depends On:
Blocks: 1016393
TreeView+ depends on / blocked
 
Reported: 2013-09-02 03:27 UTC by haiyang,dong
Modified: 2014-04-30 11:00 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1016393 (view as bug list)
Environment:
Last Closed: 2014-04-30 11:00:18 UTC
oVirt Team: ---
Embargoed:


Attachments (Terms of Use)
attached Screenshot (20.42 KB, image/png)
2013-09-02 03:27 UTC, haiyang,dong
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 20132 0 None None None Never
oVirt gerrit 20133 0 None None None Never
oVirt gerrit 20134 0 None None None Never
oVirt gerrit 20135 0 None None None Never

Description haiyang,dong 2013-09-02 03:27:23 UTC
Created attachment 792707 [details]
attached Screenshot

Description of problem:
Using edit-node install ovirt-node-plugin-puppet into ovirt-node-iso and clean install this
iso .Login it and enter into puppet page, configure 
Puppet Server:master.example.com
Puppet Certificate Name: agent2.example.com

after clicking "Save" button to apply this configuration. check that: 
[root@agent2 admin]# cat /etc/puppet/puppet.conf |more
[main]
    server = "master.example.com"
    certname = "agent2.example.com"
    # The Puppet log directory.
    # The default value is '$vardir/log'.
    logdir = /var/log/puppet
.....

But Configuring puppet page prompt that "Command 'puppet agent --test' returned non-zero eixt status 1"
(seen Configuring puppet page.png)

[root@agent2 admin]# puppet agent --test
Error: Could not autoload puppet/provider/user/useradd: undefined local variable or method `ovirt' for main:Object
Error: Could not autoload puppet/provider/user/hpux: Could not autoload puppet/provider/user/useradd: undefined local variable or method `ovirt' for main:Object
Error: Could not autoload puppet/type/user: Could not autoload puppet/provider/user/hpux: Could not autoload puppet/provider/user/useradd: undefined local variable or method `ovirt' for main:Object
Error: Could not create resources for managing Puppet's files and directories in sections [:main, :agent, :ssl]: Could not autoload puppet/type/user: Could not autoload puppet/provider/user/hpux: Could not autoload puppet/provider/user/useradd: undefined local variable or method `ovirt' for main:Object
Error: Could not prepare for execution: Could not create resources for managing Puppet's files and directories in sections [:main, :agent, :ssl]: Could not autoload puppet/type/user: Could not autoload puppet/provider/user/hpux: Could not autoload puppet/provider/user/useradd: undefined local variable or method `ovirt' for main:Object
Could not autoload puppet/type/user: Could not autoload puppet/provider/user/hpux: Could not autoload puppet/provider/user/useradd: undefined local variable or method `ovirt' for main:Object

Version-Release number of selected component (if applicable):
ovirt-node-iso-3.1.0-0.999.999.20130830222205git32d308e.480.fc18.iso
ovirt-node-plugin-puppet-3.1.0-0.999.20130830222205git32d308e.fc18.noarch.rpm

How reproducible:
100% 
 
Steps to Reproduce:

Actual result:
Command 'puppet agent --test' returned non-zero exit status 1

Expect result:
Command 'puppet agent --test' execute success and start service puppet success


Additional info:

--

Comment 1 Sandro Bonazzola 2014-03-04 09:22:55 UTC
This is an automated message.
Re-targeting all non-blocker bugs still open on 3.4.0 to 3.4.1.


Note You need to log in before you can comment on or make changes to this bug.