Bug 755710 - RHEL6: building image with audrey agent w/o epel
Summary: RHEL6: building image with audrey agent w/o epel
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: aeolus-audrey-agent
Version: 1.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
Assignee: Dan Radez
QA Contact: dgao
URL:
Whiteboard:
Depends On:
Blocks: ce-sprint ce-sprint-next
TreeView+ depends on / blocked
 
Reported: 2011-11-21 20:35 UTC by dgao
Modified: 2012-02-22 23:50 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-01 20:29:41 UTC


Attachments (Terms of Use)

Description dgao 2011-11-21 20:35:00 UTC
Currently, in order to pull in the necessary dep from audrey-agent, EPEL repo would need to be configured in the template xml file. Hopefully this can be resolved at a later date when audrey-agent and its dependencies move to base RHEL repo.


w/o EPEL:

<template>
  <name>RHEL6</name>
  <os>
    <name>RHEL-6</name>
    <version>1</version>
    <arch>x86_64</arch>
    <install type='url'>
      <url>http://download.devel.redhat.com/released/RHEL-6/6.1/Server/x86_64/os/</url>
    </install>
    <rootpw>dog8code</rootpw>
  </os>
  <repositories>
    <repository name="aeolus">
      <url>http://repos.fedorapeople.org/repos/aeolus/conductor/testing/6Server/x86_64/</url>
    </repository>
  </repositories>
  <packages>
    <package name="aeolus-audrey-agent"/>
  </packages>
  <description>Audrey Client</description>
</template>



imagefactory.log

2011-11-21 14:40:19,288 DEBUG imgfac.builders.BaseBuilder.RHEL6_rhevm_Builder pid(12485) Message: Exception caught in ImageFactory
2011-11-21 14:40:19,289 DEBUG imgfac.builders.BaseBuilder.RHEL6_rhevm_Builder pid(12485) Message: Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/imgfac/builders/Fedora_rhevm_Builder.py", line 65, in build_image
    self.build_upload(build_id)
  File "/usr/lib/python2.6/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.6/site-packages/oz/RedHat.py", line 1147, in customize_and_generate_icicle
    return self._internal_customize(libvirt_xml, True)
  File "/usr/lib/python2.6/site-packages/oz/RedHat.py", line 1123, in _internal_customize
    self.do_customize(guestaddr)
  File "/usr/lib/python2.6/site-packages/oz/RedHat.py", line 1082, in do_customize
    tunnels=self.tunnels)
  File "/usr/lib/python2.6/site-packages/oz/RedHat.py", line 476, in guest_execute_command
    command, timeout, tunnels)
  File "/usr/lib/python2.6/site-packages/oz/ozutil.py", line 355, in ssh_execute_command
    return subprocess_check_output(cmd)
  File "/usr/lib/python2.6/site-packages/oz/ozutil.py", line 323, 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.62 yum -y install aeolus-audrey-agent ' failed(1): Warning: Permanently added '192.168.122.62' (RSA) to the list of known hosts.
Error: Package: python-phacter-0.2.0-1.el6.noarch (aeolus)
           Requires: python-netifaces

Comment 1 wes hayutin 2011-11-28 01:24:16 UTC
adding ce-sprint-next bugs to ce-sprint tracker for this release

Comment 2 Dan Radez 2011-12-01 20:29:41 UTC
reverted to facter, epel no longer needed as facter doesn't need it.

Comment 3 James Laska 2012-02-10 14:09:35 UTC
Reassigning to proper 'aeolus-audrey-agent' component.


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