Bug 744011

Summary: building RHEVM templates w/ rhev agent requires updated packages
Product: [Retired] CloudForms Cloud Engine Reporter: wes hayutin <whayutin>
Component: DocumentationAssignee: Dan Macpherson <dmacpher>
Status: CLOSED NOTABUG QA Contact: wes hayutin <whayutin>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: akarol, cpelland, dajohnso, deltacloud-maint, dgao, dmacpher, ssachdev
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-24 18:09:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 744194    

Description wes hayutin 2011-10-06 18:22:42 UTC
Description of problem:
gent-c8ea2db8-f35c-471d-b628-f3422685b952
2011-10-06 14:13:29,722 INFO oz.Guest.RHEL6Guest pid(2938) Message: Cleaning up after install
2011-10-06 14:13:30,235 DEBUG imgfac.builders.BaseBuilder.RHEL6_rhevm_Builder pid(2938) Message: Exception caught in I
mageFactory
2011-10-06 14:13:30,296 DEBUG imgfac.builders.BaseBuilder.RHEL6_rhevm_Builder pid(2938) Message: Traceback (most recen
t call last):
  File "/usr/lib/python2.7/site-packages/imgfac/builders/Fedora_rhevm_Builder.py", line 65, in build_image
    self.build_upload(build_id)
  File "/usr/lib/python2.7/site-packages/imgfac/builders/Fedora_rhevm_Builder.py", line 116, in build_upload
    self.output_descriptor = guest.customize_and_generate_icicle(libvirt_xml)
  File "/usr/lib/python2.7/site-packages/oz/RedHat.py", line 1032, in customize_and_generate_icicle
    return self._internal_customize(libvirt_xml, True)
  File "/usr/lib/python2.7/site-packages/oz/RedHat.py", line 1008, in _internal_customize
    self.do_customize(guestaddr)
  File "/usr/lib/python2.7/site-packages/oz/RedHat.py", line 969, in do_customize
    tunnels=self.tunnels)
  File "/usr/lib/python2.7/site-packages/oz/RedHat.py", line 469, in guest_execute_command
    command, timeout, tunnels)
  File "/usr/lib/python2.7/site-packages/oz/ozutil.py", line 342, in ssh_execute_command
    return subprocess_check_output(cmd)
  File "/usr/lib/python2.7/site-packages/oz/ozutil.py", line 310, in subprocess_check_output
    raise SubprocessException("'%s' failed(%d): %s" % (cmd, retcode, stderr), retcode)
SubprocessException: 'ssh -i /etc/oz/id_rsa-icicle-gen -F /dev/null -o ServerAliveInterval=30 -o StrictHostKeyChecking
=no -o ConnectTimeout=10 -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no root.122.125 yum -y inst
all rhev-agent ' failed(1): Warning: Permanently added '192.168.122.125' (RSA) to the list of known hosts.
Error: Package: rhev-agent-2.3.12-1.el6.x86_64 (rhev-agent)
           Requires: selinux-policy >= 3.7.19-93.el6_1.3
           Installed: selinux-policy-3.7.19-93.el6.noarch (@anaconda-RedHatEnterpriseLinux-201105101844.x86_64/6.1)
               selinux-policy = 3.7.19-93.el6


one way to beat this is to pull in yet to be released 6.2 packages

    <repository name="rhel-6.2">
      <url>http://snip/nightly/latest-RHEL6.2/6.2/Server/x86_64/os/</url>
      <signed>false</signed>
    </repository>
  </repositories>

Comment 1 Dave Johnson 2011-11-16 16:03:35 UTC
I am still seeing this as an issue with yesterdays rpms.  Not too sure what we could do about the dependencies needed for rhev-agent.

Comment 2 Dave Johnson 2011-11-16 16:10:25 UTC
And this is a documentation bug so re-assigning to jclift

Comment 3 wes hayutin 2012-01-12 16:52:46 UTC
adding to sprint tracker

Comment 4 wes hayutin 2012-01-24 18:09:54 UTC
we are creating a tools channel and RHEVM is GA