[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Rdo-list] Openstack-sahara broken on rhel6


Thanks again for your support.
I successfully installed your RPM and can launch Sahara.

Nevertheless,  I am not able to use it, because I am not able to register a new image.
When I try to do so ,  I have in log  from sahara, the error below :
        File "/usr/lib/python2.6/site-packages/sahara/service/validation.py", line 73, in handler
            raise e
        IOError: [Errno 2] No such file or directory: '/usr/lib/python2.6/site-packages/sahara/plugins/hdp/versions/version_1_3_2/resources/ambari-config-resource.json'

After several attempts, I came to the conclusion that there is a problem with the tarball provided by openstack.
Specs files use to build the RPM download tarballs from http://tarballs.openstack.org/sahara/sahara-2014.1.tar.gz

In the tarball, the MANIFEST.in doesn't correspond to the content of the HDP plugins.

Manifest.in as
 include sahara/plugins/hdp/versions/1_3_2/resources/*.template
 include sahara/plugins/hdp/versions/1_3_2/resources/*.json
 include sahara/plugins/hdp/versions/2_0/resources/*.template
 include sahara/plugins/hdp/versions/2_0/resources/*.json

whereas file in the archive are

1-3-2 and version_1_3_2 doesn't match.
Same for 2_0 and version_2_0_6

Because manifest is not good, the resources files are not included in the binary rpm.

Do you think I am right, or am I missing something ?
Does anybody run a recent version of sahara with success ?


-----Message d'origine-----
De : Pádraig Brady [mailto:pbrady redhat com]
Envoyé : mardi 6 mai 2014 15:52
À : Dalmais Maxence
Cc : rdo-list redhat com
Objet : Re: [Rdo-list] Openstack-sahara broken on rhel6

On 05/06/2014 01:01 PM, Dalmais Maxence wrote:
> Hi Pádraig,
> Thanks for you quick answer.
> I successfully installed your last version of openstack-sahara with
> "yum install http://copr-be.cloud.fedoraproject.org/results/jruzicka/rdo-icehouse-epel-6/epel-6-x86_64/openstack-sahara-2014.1.0-11.el6/openstack-sahara-2014.1.0-11.el6.noarch.rpm";
> After this, what is the best way to upgrade python-sqlalchemy ?
> With 0.5 version coming from base, we have error " from sqlalchemy.orm
> import relationship
> ImportError: cannot import name relationship"

Ugh sorry there were multiple changes rolled into that sahara update.
Your best immediate solution would be to downgrade to:

After downgrading I advise also to rpm -e python-sqlalchemy to remove that older package, lest it interfere with future upgrades.

The newer package referenced above will be available soon, with the appropriate updates available in the repo.


Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]