build error

Berezovski, Vladimir Vberezovski at nds.com
Thu Jan 5 19:52:23 UTC 2012


Folks , I got   this  error as well  when used ec2  .

Use the sane switch ?


/Vlad .


From: aeolus-devel-bounces at lists.fedorahosted.org [mailto:aeolus-devel-bounces at lists.fedorahosted.org] On Behalf Of Steve Loranz
Sent: Thursday, January 05, 2012 9:50 PM
To: Baird Cowan
Cc: aeolus-devel at lists.fedorahosted.org
Subject: Re: build error

Baird,

It looks like imagefactory was started with OAuth enabled but the request is not supplying credentials.  Try starting imagefactory with --no_oauth.

-steve


On Jan 5, 2012, at 1:44 PM, Baird Cowan wrote:


What could be causing this when trying to build a template.    I am following the configure it as detailed.   It happens regardless of the template I use.

 # aeolus-cli build --target vsphere --template ~/template2.tpl
cat ~/template2.xml

 cat ~/template2.tpl
<template>
   <name>tmpl1</name>
   <description>foo</description>
   <os>
     <name>Fedora</name>
     <arch>x86_64</arch>
     <version>14</version>
     <install type="url">
       <url>http://download.fedoraproject.org/pub/fedora/linux/releases/14/Fedora/x86_64/os/</url><http://download.fedoraproject.org/pub/fedora/linux/releases/14/Fedora/x86_64/os/%3c/url%3e>
     </install>
   </os>
   <repositories>
     <repository name="custom">
       <url>http://repos.fedorapeople.org/repos/aeolus/demo/webapp/</url><http://repos.fedorapeople.org/repos/aeolus/demo/webapp/%3c/url%3e>
       <signed>false</signed>
     </repository>
   </repositories>
</template>



2012-01-05 11:33:52,842 ERROR imgfac.rest.imagefactory pid(3189) Message: None object cannot be quoted
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/imgfac/rest/imagefactory.py", line 50, in validate_two_leg_oauth
    oauth_server.verify_request(req, oauth_consumer, None)
  File "/usr/lib/python2.7/site-packages/oauth2/__init__.py", line 602, in verify_request
    self._check_signature(request, consumer, token)
  File "/usr/lib/python2.7/site-packages/oauth2/__init__.py", line 652, in _check_signature
    valid = signature_method.check(request, consumer, token, signature)
  File "/usr/lib/python2.7/site-packages/oauth2/__init__.py", line 705, in check
    built = self.sign(request, consumer, token)
  File "/usr/lib/python2.7/site-packages/oauth2/__init__.py", line 730, in sign
    key, raw = self.signing_base(request, consumer, token)
  File "/usr/lib/python2.7/site-packages/oauth2/__init__.py", line 722, in signing_base
    key = '%s&' % escape(consumer.secret)
  File "/usr/lib/python2.7/site-packages/oauth2/__init__.py", line 86, in escape
    return urllib.quote(s, safe='~')
  File "/usr/lib64/python2.7/urllib.py", line 1225, in quote
    raise TypeError('None object cannot be quoted')
TypeError: None object cannot be quoted


CONFIDENTIALITY NOTICE: This communication with its contents may contain confidential and/or legally privileged information. It is solely for the use of the intended recipient(s). Unauthorized interception, review, use or disclosure is prohibited and may violate applicable laws including the Electronic Communications Privacy Act. If you are not the intended recipient, please contact the sender and destroy all copies of the communication.


________________________________

This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmaster at nds.com and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes.
To protect the environment please do not print this e-mail unless necessary.

An NDS Group Limited company. www.nds.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fedorahosted.org/pipermail/aeolus-devel/attachments/20120105/10037e11/attachment.html>


More information about the aeolus-devel mailing list