build error

Steve Loranz sloranz at redhat.com
Thu Jan 5 19:49:47 UTC 2012


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>
>      </install>
>    </os>
>    <repositories>
>      <repository name="custom">
>        <url>http://repos.fedorapeople.org/repos/aeolus/demo/webapp/</url>
>        <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.
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fedorahosted.org/pipermail/aeolus-devel/attachments/20120105/0ed8f334/attachment.html>


More information about the aeolus-devel mailing list