Bug 1003440

Summary: puppet:Command 'puppet agent --test' returned non-zero eixt status 1
Product: [Retired] oVirt Reporter: haiyang,dong <hadong>
Component: ovirt-nodeAssignee: Ryan Barry <rbarry>
Status: CLOSED CURRENTRELEASE QA Contact: bugs <bugs>
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: acathrow, cshao, fdeutsch, gouyang, hadong, huiwa, jboggs, leiwang, mgoldboi, ovirt-bugs, ovirt-maint, ycui, yeylon
Target Milestone: ---   
Target Release: 3.4.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: node
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1016393 (view as bug list) Environment:
Last Closed: 2014-04-30 11:00:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1016393    
Attachments:
Description Flags
attached Screenshot none

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.