Clouder mailing list archives

community@goclouder.net

Re: Issue saving "Registry" Container

by
Yannick Buron
- 05/04/2015 14:18:31
Hum I start to wonder if it's not a problem with your mac.

Clouder try to execute the following code :
os.path.expanduser('~/.ssh/keys/your_key_server')
to get the full path (without the ~). Can you make sure this command work on mac?

Also can you add some log at
 File "/odoo/custom_addons/clouder/clouder_model.py", line 374, in connect
    key_filename=os.path.expanduser(identityfile))
I'd like to know the value of the identityfile variable.

During that time, I'll add some check and warning on the clouder_model.py file.

Yannick Buron
Founder
+33 (0) 6 70 74 52 26 | yannick@goclouder.net
My blog : www.disruptingworld.me/

Clouder
Building the tools we need
98 Avenue du general pierre billotte BatD
94000 Creteil
www.goclouder.net | www.wikicompare.info

Le 04/05/2015 15:08, Naran M a écrit :
<blockquote cite="mid:21D044D1-BBA7-4ED3-B5B6-B56C09CB7BC9@gmail.com" type="cite">

Thanks Yannick - I have tried all the options but couldn't able to by pass this error ,


1) I have made sure the system user running Odoo was able to connect to ssh without any password

2) Public key generated from Clouder server entry is copied to the Server

Cheers,
Naran
On 4 May 2015, at 8:54 pm, Yannick Buron <yannick.buron@gmail.com> wrote:

Hello,

Hum someone had the same error before, here is the answer I gave :

--------
You shall make sure that your systemuser running odoo can connect to your server with ssh.

Check that the file ~/.ssh/config is correctly created in your system (if not try to click on the reinstall button on the server record) and that an ssh {server_name} command work without password prompt. I can give you the exact command if you give me screenshot of your server record.

Also did you add the public key in your server record in the ~/.ssh/authorized_keys on your server ?

Check http://doc.goclouder.net/ for more informations
---------

But I don't know what was the exact error. Since it's the second time I see it, I'd like to know what is the problem so I can add some explicit checks.

Soukaina, if I remember correctly you had the same error, maybe you can help?

Yannick Buron
Founder
+33 (0) 6 70 74 52 26 | yannick@goclouder.net
My blog : www.disruptingworld.me/

Clouder
Building the tools we need
98 Avenue du general pierre billotte BatD
94000 Creteil
www.goclouder.net | www.wikicompare.info

Le 01/05/2015 12:20, Naran M a écrit :
<blockquote cite="mid:CAG6fCcFRaGMk+XTrJC8wrM80ys=oA2m7dcRLL+sQwjpxpcGG+Q@mail.gmail.com" type="cite">
Thanks Yannick, I kind of fixed the code yesterday itself (I was eager to have this tested and up and running :-), however, I've getting the below error when trying to save the Registry Container

 File "/odoo/custom_addons/clouder/clouder_model.py", line 374, in connect
    key_filename=os.path.expanduser(identityfile))
  File "/odoo8-env/bin/../lib/python2.7/posixpath.py", line 261, in expanduser
    if not path.startswith('~'):
AttributeError: 'list' object has no attribute 'startswith'

On Fri, May 1, 2015 at 7:58 PM, Yannick Buron <yannick.buron@gmail.com> wrote:

Hello,

1) Ok so it worked on Mac, that's interesting I didn't though it would work since Clouder make an extensive use of the ssh binary on the system. Good to know.

2) Well ldap isn't used in production yet. I developed it because later I'd like to use it (and CAS) to have a single sign on on all the application hosted by a Clouder, but it's still a far dream for now.
It's not in unfinished directory because I made it works some months ago. I just made a debug https://github.com/clouder-community/clouder/commit/96566df52590b6f97e057a95b3635db4243252fc, you can retest but notice that it's still a very basic installation.


Clouder
Building the tools we need
98 Avenue du general pierre billotte BatD
94000 Creteil
www.goclouder.net | www.wikicompare.info

Le 30/04/2015 11:30, Naran M a écrit :
<blockquote cite="mid:762F709A-88FD-4DA3-A09D-AF0D725F73CD@gmail.com" type="cite">
Hi Yannick - I am having issues saving the Registry container, below are the steps I followed

1) I have created the server entry and all went well , except I need to create a ssh key file ( I installed the Clouder in Mac)

2) Built the version of Registry image and created a new container entry for it, but when I tried to save, below is the error message
File "/odoo/openerp/api.py", line 336, in old_api
    result = method(recs, *args, **kwargs)
  File "/odoo/custom_addons/clouder_template_ldap/clouder_template_ldap.py", line 63, in create
    return super(ClouderContainer, self).create_vals()
AttributeError: 'super' object has no attribute 'create_vals'
Cheers,

Naran

_______________________________________________
Mailing-List: http://www.goclouder.net/groups/clouder-5
Post to: mailto:community@goclouder.net
Unsubscribe: http://www.goclouder.net/groups?unsubscribe

<img moz-do-not-send="true" src="imap://yannick%2Eburon%40gmail%2Ecom@imap.gmail.com:993/fetch%3EUID%3E/Drafts%3E1557?u=30282596&amp;id=0139877dd0a3445da0c530ac64c45a08" class="" height="1" width="1">

_______________________________________________
Mailing-List: http://www.goclouder.net/groups/clouder-5
Post to: mailto:community@goclouder.net
Unsubscribe: http://www.goclouder.net/groups?unsubscribe

<img moz-do-not-send="true" src="imap://yannick%2Eburon%40gmail%2Ecom@imap.gmail.com:993/fetch%3EUID%3E/Drafts%3E1557?u=30282596&amp;id=ccbd09efad424f4ba703c346dd7ac3b7" class="" height="1" width="1">

_______________________________________________
Mailing-List: http://www.goclouder.net/groups/clouder-5
Post to: mailto:community@goclouder.net
Unsubscribe: http://www.goclouder.net/groups?unsubscribe

<img moz-do-not-send="true" src="imap://yannick%2Eburon%40gmail%2Ecom@imap.gmail.com:993/fetch%3EUID%3E/Drafts%3E1557?u=30282596&amp;id=323e4f5b10d94da6a7ffa2bc87417a71" class="" height="1" width="1">

_______________________________________________
Mailing-List: http://www.goclouder.net/groups/clouder-5
Post to: mailto:community@goclouder.net
Unsubscribe: http://www.goclouder.net/groups?unsubscribe

<img moz-do-not-send="true" src="imap://yannick%2Eburon%40gmail%2Ecom@imap.gmail.com:993/fetch%3EUID%3E/Drafts%3E1557?u=30282596&amp;id=9b139468f3ba4e02a7aaf2049a14cddb" class="" height="1" width="1">

_______________________________________________
Mailing-List: http://www.goclouder.net/groups/clouder-5
Post to: mailto:community@goclouder.net
Unsubscribe: http://www.goclouder.net/groups?unsubscribe

<img moz-do-not-send="true" src="imap://yannick%2Eburon%40gmail%2Ecom@imap.gmail.com:993/fetch%3EUID%3E/Drafts%3E1557?u=30282596&amp;id=e9bb5e56af81468493c5c6b26a014c56" height="1" width="1">