Bug 741962

Summary: imagefactory start: ImportError: cannot import name ParseError
Product: [Retired] CloudForms Cloud Engine Reporter: wes hayutin <whayutin>
Component: imagefactoryAssignee: Mike Orazi <morazi>
Status: CLOSED ERRATA QA Contact: wes hayutin <whayutin>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: akarol, dajohnso, deltacloud-maint, dgao, jrd, 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-05-15 20:17:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description wes hayutin 2011-09-28 15:37:29 UTC
Description of problem:

[root@hp-z600-01 yum.repos.d]# /etc/init.d/imagefactory restart
Stopping imagefactory: [FAILED]
Starting imagefactory: Traceback (most recent call last):
  File "/usr/bin/imagefactory", line 24, in <module>
    from imgfac.qmfagent.ImageFactoryAgent import ImageFactoryAgent
  File "/usr/lib/python2.6/site-packages/imgfac/qmfagent/ImageFactoryAgent.py", line 20, in <module>
    from ImageFactory import ImageFactory
  File "/usr/lib/python2.6/site-packages/imgfac/qmfagent/ImageFactory.py", line 23, in <module>
    from imgfac.BuildDispatcher import BuildDispatcher
  File "/usr/lib/python2.6/site-packages/imgfac/BuildDispatcher.py", line 28, in <module>
    from xml.etree.ElementTree import fromstring, ParseError
ImportError: cannot import name ParseError
[FAILED]
[root@hp-z600-01 yum.repos.d]# 



[root@hp-z600-01 yum.repos.d]# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 6.1 (Santiago)
[root@hp-z600-01 yum.repos.d]# 
[root@hp-z600-01 yum.repos.d]# 
[root@hp-z600-01 yum.repos.d]# rpm -qa | grep imagefactory
rubygem-imagefactory-console-0.5.0-4.20110824113238gitd9debef.el6.noarch
imagefactory-0.6.2-1.el6.noarch

Comment 1 wes hayutin 2011-09-28 16:40:45 UTC
making sure all the bugs are at the right version for future queries

Comment 4 wes hayutin 2011-10-04 12:33:19 UTC
[root@hp-dl2x170g6-02 ~]# rpm -qa | grep imagefactory
imagefactory-0.6.2_11_g7b94a4a-1.el6.noarch
rubygem-imagefactory-console-0.5.0-4.20110824113238gitd9debef.el6.noarch
[root@hp-dl2x170g6-02 ~]# rpm -qa | grep aeolus
rubygem-aeolus-cli-0.1.0-3.20111003133323git9451323.el6.noarch
rubygem-actionmailer-3.0.9-1.aeolus.el6.noarch
rubygem-aeolus-image-0.1.0-3.20111003170706git8f23238.el6.noarch
aeolus-conductor-daemons-0.4.0-0.20111003184622git65a7d19.el6.noarch
rubygem-activesupport-3.0.9-1.aeolus.el6.noarch
rubygem-arel-2.0.10-0.aeolus.el6.noarch
rubygem-ZenTest-4.3.3-2.aeolus.el6.noarch
rubygem-actionpack-3.0.9-1.aeolus.el6.noarch
aeolus-conductor-0.4.0-0.20111003184622git65a7d19.el6.noarch
aeolus-all-0.4.0-0.20111003184622git65a7d19.el6.noarch
rubygem-rack-mount-0.7.1-3.aeolus.el6.noarch
aeolus-conductor-doc-0.4.0-0.20111003184622git65a7d19.el6.noarch
rubygem-activerecord-3.0.9-1.aeolus.el6.noarch
aeolus-configure-2.0.2-4.20110930103205gitaf78594.el6.noarch

Comment 5 Mike Orazi 2011-10-05 20:11:21 UTC
Should be fixed in 0.7.0

Comment 6 wes hayutin 2011-10-05 20:39:19 UTC
Starting conductor-dbomatic ...
[  OK  ]: Starting conductor-dbomatic: [  OK  ]

Starting imagefactory ...
/usr/lib/python2.6/site-packages/oauth2/__init__.py:29: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha
 Success: Starting imagefactory: [  OK  ]

Starting ntpd ...
 Success: Starting ntpd: [  OK  ]

Statusing mongod ...
 Success: mongod (pid 8943) is running...
[root@hp-bl280cg6-01 ~]# ps -ef | grep factory
root      9169     1  0 16:35 ?        00:00:00 /usr/bin/python /usr/bin/imagefactory --qmf --debug
root      9187  7154  0 16:35 pts/0    00:00:00 grep factory
[root@hp-bl280cg6-01 ~]# less /var/log/imagefactory.log 
[root@hp-bl280cg6-01 ~]# 


[root@hp-bl280cg6-01 ~]# 
[root@hp-bl280cg6-01 ~]# rpm -qa | grep factory
rubygem-imagefactory-console-0.5.0-4.20110824113238gitd9debef.el6.noarch
imagefactory-0.7.0-1.el6.noarch
[root@hp-bl280cg6-01 ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 6.1 (Santiago)
[root@hp-bl280cg6-01 ~]#

Comment 7 wes hayutin 2011-10-11 14:28:54 UTC
taking off tracker

Comment 9 errata-xmlrpc 2012-05-15 20:17:01 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2012-0588.html