You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Fabio Da Soghe <f....@cognitio.it.INVALID> on 2015/07/02 11:40:41 UTC
devcloud-kvm doesn't work (tag 4.5.1)
Hello everybody.
I'm experimenting with devcloud-kvm following instruction in
https://cwiki.apache.org/confluence/display/CLOUDSTACK/devcloud-kvm on
Ubuntu 14.04.
I get stuck on the very last step, the command: "python
marvin/marvin/deployDataCenter.py -i
devcloud-kvm/devcloud-kvm-advanced.cfg" (the wiki page here is a little
messy, there are some typos that could be corrected).
I got this error:
Exception Occurred Under createLogs :['Traceback (most recent call
last):', ' File
"/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/marvinLog.py",
line 157, in createLogs (\'LogFolderPath\' in log_cfg.__dict__.keys())
and', "AttributeError: 'list' object has no attribute '__dict__'\n"]
I found an old discussion on this mailing list about this same error
(here: http://markmail.org/thread/n673ecf2eztn3nqo ). Riassuming: there
was an error in tools/devcloud/devcloud-advanced.cfg about defining the
logger element (it should be an object and not a list). This was
corrected in the codebase (commit here:
https://github.com/apache/cloudstack/commit/7cf33f96aa113a389d8e75f64dca810f9f032065)
BUT not for the devcloud-kvm, where the logger is still defined as a list.
I corrected the file tools/devcloud-kvm/devcloud-kvm-advanced.cfg as in
tools/devcloud/devcloud-advanced.cfg, gave again the last python
command, and now I get:
==== Log Folder Path:
/tmp//MarvinLogs//DeployDataCenter__Jul_02_2015_03_25_08_FQ3N8R. All
logs will be available here ====
=== TestClient Creation Failed===
Now I'm really stuck. Does anybody have any hint for me, please?
Thank you in advance,
Fabio Da Soghe
Re: devcloud-kvm doesn't work (tag 4.5.1)
Posted by Fabio Da Soghe <f....@cognitio.it.INVALID>.
Thank you for your replay.
As I explained in my previous mail, I managed to overcome that problem
fixing the advanced.cfg file.
Now I'm facing a problem with the secondary storage not working that
prevents me to upload my own images. After (a lot of) digging, I
discovered that the Storage System VM is version 4.2.0, while I'm
installing Cloudstack 4.5.1. I don't know why I have this version under
my hood.
I executed the ssvm-check.sh script, this is what I get:
================================================
First DNS server is 8.8.4.4
PING 8.8.4.4 (8.8.4.4): 56 data bytes
64 bytes from 8.8.4.4: icmp_seq=0 ttl=56 time=6.479 ms
64 bytes from 8.8.4.4: icmp_seq=1 ttl=56 time=5.190 ms
--- 8.8.4.4 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 5.190/5.835/6.479/0.645 ms
Good: Can ping DNS server
================================================
Good: DNS resolves download.cloud.com
================================================
ERROR: NFS is not currently mounted
Try manually mounting from inside the VM
NFS server is 192.168.100.1
PING 192.168.100.1 (192.168.100.1): 56 data bytes
64 bytes from 192.168.100.1: icmp_seq=0 ttl=64 time=0.475 ms
64 bytes from 192.168.100.1: icmp_seq=1 ttl=64 time=0.819 ms
--- 192.168.100.1 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.475/0.647/0.819/0.172 ms
Good: Can ping nfs server
================================================
Management server is 192.168.100.10. Checking connectivity.
Good: Can connect to management server port 8250
================================================
ERROR: Java process not running. Try restarting the SSVM.
So it's reporting two errors: NFS not mounted and java not running.
Maybe I could solve updating the whole SSVM to 4.5.1? To achieve this I
executed the command (on the management server):
/usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
-m /nfs/secondary -u
http://cloudstack.apt-get.eu/systemvm/4.5/systemvm64template-4.5-kvm.qcow2.bz2
-h kvm -F
but nothing happened. I destroyed the SSVM, it got rebuilded but from
the same old template (it's still 4.3).
What should I do?
Thanks,
Fabio
Il 02/07/2015 17:52, Marcus ha scritto:
> I'm not a Marvin guru, but if all else fails you can set up a zone manually
> via the UI, using the parameters outlined in the advanced cfg.
>
> On Thu, Jul 2, 2015 at 2:55 AM, Sebastien Goasguen <ru...@gmail.com> wrote:
>
>> Marcus in cc wrote devcloud-kvm a while back,
>>
>> he might be able to help.
>>
>>> On Jul 2, 2015, at 11:40 AM, Fabio Da Soghe
>> <f....@cognitio.it.INVALID> wrote:
>>> Hello everybody.
>>>
>>> I'm experimenting with devcloud-kvm following instruction in
>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/devcloud-kvm on
>> Ubuntu 14.04.
>>> I get stuck on the very last step, the command: "python
>> marvin/marvin/deployDataCenter.py -i
>> devcloud-kvm/devcloud-kvm-advanced.cfg" (the wiki page here is a little
>> messy, there are some typos that could be corrected).
>>> I got this error:
>>>
>>> Exception Occurred Under createLogs :['Traceback (most recent call
>> last):', ' File
>> "/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/marvinLog.py",
>> line 157, in createLogs (\'LogFolderPath\' in log_cfg.__dict__.keys())
>> and', "AttributeError: 'list' object has no attribute '__dict__'\n"]
>>> I found an old discussion on this mailing list about this same error
>> (here: http://markmail.org/thread/n673ecf2eztn3nqo ). Riassuming: there
>> was an error in tools/devcloud/devcloud-advanced.cfg about defining the
>> logger element (it should be an object and not a list). This was corrected
>> in the codebase (commit here:
>> https://github.com/apache/cloudstack/commit/7cf33f96aa113a389d8e75f64dca810f9f032065)
>> BUT not for the devcloud-kvm, where the logger is still defined as a list.
>>> I corrected the file tools/devcloud-kvm/devcloud-kvm-advanced.cfg as in
>> tools/devcloud/devcloud-advanced.cfg, gave again the last python command,
>> and now I get:
>>> ==== Log Folder Path:
>> /tmp//MarvinLogs//DeployDataCenter__Jul_02_2015_03_25_08_FQ3N8R. All logs
>> will be available here ====
>>> === TestClient Creation Failed===
>>>
>>> Now I'm really stuck. Does anybody have any hint for me, please?
>>>
>>> Thank you in advance,
>>>
>>> Fabio Da Soghe
>>>
>>
--
Fabio Da Soghe
Amministratore Delegato, Cognitio s.r.l.
c/o Toolbox, via Padre Agostino da Montefeltro 2, 10134 Torino
Phone: 011.31.57.436 Mobile: 338.91.85.280
Email: f.dasoghe@cognitio.it Web: http://www.cognitio.it
Re: devcloud-kvm doesn't work (tag 4.5.1)
Posted by Marcus <sh...@gmail.com>.
I'm not a Marvin guru, but if all else fails you can set up a zone manually
via the UI, using the parameters outlined in the advanced cfg.
On Thu, Jul 2, 2015 at 2:55 AM, Sebastien Goasguen <ru...@gmail.com> wrote:
> Marcus in cc wrote devcloud-kvm a while back,
>
> he might be able to help.
>
> > On Jul 2, 2015, at 11:40 AM, Fabio Da Soghe
> <f....@cognitio.it.INVALID> wrote:
> >
> > Hello everybody.
> >
> > I'm experimenting with devcloud-kvm following instruction in
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/devcloud-kvm on
> Ubuntu 14.04.
> >
> > I get stuck on the very last step, the command: "python
> marvin/marvin/deployDataCenter.py -i
> devcloud-kvm/devcloud-kvm-advanced.cfg" (the wiki page here is a little
> messy, there are some typos that could be corrected).
> >
> > I got this error:
> >
> > Exception Occurred Under createLogs :['Traceback (most recent call
> last):', ' File
> "/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/marvinLog.py",
> line 157, in createLogs (\'LogFolderPath\' in log_cfg.__dict__.keys())
> and', "AttributeError: 'list' object has no attribute '__dict__'\n"]
> >
> > I found an old discussion on this mailing list about this same error
> (here: http://markmail.org/thread/n673ecf2eztn3nqo ). Riassuming: there
> was an error in tools/devcloud/devcloud-advanced.cfg about defining the
> logger element (it should be an object and not a list). This was corrected
> in the codebase (commit here:
> https://github.com/apache/cloudstack/commit/7cf33f96aa113a389d8e75f64dca810f9f032065)
> BUT not for the devcloud-kvm, where the logger is still defined as a list.
> >
> > I corrected the file tools/devcloud-kvm/devcloud-kvm-advanced.cfg as in
> tools/devcloud/devcloud-advanced.cfg, gave again the last python command,
> and now I get:
> >
> > ==== Log Folder Path:
> /tmp//MarvinLogs//DeployDataCenter__Jul_02_2015_03_25_08_FQ3N8R. All logs
> will be available here ====
> >
> > === TestClient Creation Failed===
> >
> > Now I'm really stuck. Does anybody have any hint for me, please?
> >
> > Thank you in advance,
> >
> > Fabio Da Soghe
> >
>
>
Re: devcloud-kvm doesn't work (tag 4.5.1)
Posted by Fabio Da Soghe <f....@cognitio.it.INVALID>.
Hello again.
The execution of last command (python marvin/marvin/deployDataCenter.py
-i devcloud-kvm/devcloud-kvm-advanced.cfg) run (apparently) correctly,
and I am able to enter the management console.
But I'm not able to upload a template nor an iso image at all. Digging
inside the log files
(/var/log/cloudstack/management/management-server.log) I found this:
There is no secondary storage VM for secondary storage host
nfs://172.17.10.10:/nfs/secondary
On the web console I can see the two system vms running, but if I try to
ssh into the secondary storage vm, it doesn't connect.
Again, I'm totally stuck. Any hint, please?
Thanks in advance,
Fabio
Il 02/07/2015 13:07, Fabio Da Soghe ha scritto:
> This is very odd.
> I logged in on the management console
> (http://172.17.10.10:8080/client/), then I checked the api service was
> on, using url
> http://172.17.10.10:8096/?command=listUsers&response=json&account=admin (it
> should be the same used by Marvin that caused the error below), and it
> worked.
> Then I put a print in cloudstackConnection.py to verify the connection
> url it was using, and it worked! No other changes around.
>
> Maybe is it necessary to do a first login in order to activate the
> admin account via api?
>
>
> Il 02/07/2015 12:08, Fabio Da Soghe ha scritto:
>> 2015-07-02 03:55:46,424 - DEBUG - Parsing Test data successful
>> 2015-07-02 03:55:46,424 - DEBUG - Payload: {'account': 'admin',
>> 'command': 'listUsers', 'response': 'json'}
>> 2015-07-02 03:55:46,424 - DEBUG - ========Sending GET Cmd :
>> listUsers=======
>> 2015-07-02 03:55:46,434 - ERROR - __sendGetReqToCS : Exception
>> Occurred: ('Connection aborted.', error(111, 'Connection refused'))
>> Traceback (most recent call last):
>> File
>> "/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/cloudstackConnection.py",
>>
>> line 189, in __sendGetReqToCS
>> verify=self.httpsFlag)
>> File
>> "/usr/local/lib/python2.7/dist-packages/requests-2.7.0-py2.7.egg/requests/api.py",
>>
>> line 69, in get
>> return request('get', url, params=params, **kwargs)
>> File
>> "/usr/local/lib/python2.7/dist-packages/requests-2.7.0-py2.7.egg/requests/api.py",
>>
>> line 50, in request
>> response = session.request(method=method, url=url, **kwargs)
>> File
>> "/usr/local/lib/python2.7/dist-packages/requests-2.7.0-py2.7.egg/requests/sessions.py",
>>
>> line 465, in request
>> resp = self.send(prep, **send_kwargs)
>> File
>> "/usr/local/lib/python2.7/dist-packages/requests-2.7.0-py2.7.egg/requests/sessions.py",
>>
>> line 573, in send
>> r = adapter.send(request, **kwargs)
>> File
>> "/usr/local/lib/python2.7/dist-packages/requests-2.7.0-py2.7.egg/requests/adapters.py",
>>
>> line 415, in send
>> raise ConnectionError(err, request=request)
>> ConnectionError: ('Connection aborted.', error(111, 'Connection
>> refused'))
>> 2015-07-02 03:55:46,435 - ERROR - marvinRequest : CmdName:
>> <marvin.cloudstackAPI.listUsers.listUsersCmd object at 0x1dcdd50>
>> Exception: ['Traceback (most recent call last):\n', ' File
>> "/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/cloudstackConnection.py",
>>
>> line 364, in marvinRequest\n raise self.__lastError\n',
>> "ConnectionError: ('Connection aborted.', error(111, 'Connection
>> refused'))\n"]
>> Traceback (most recent call last):
>> File
>> "/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/cloudstackConnection.py",
>>
>> line 364, in marvinRequest
>> raise self.__lastError
>> ConnectionError: ('Connection aborted.', error(111, 'Connection
>> refused'))
>> 2015-07-02 03:55:46,436 - ERROR - Exception Occurred Under
>> __createApiClient: ['Traceback (most recent call last):\n', ' File
>> "/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/cloudstackTestClient.py",
>>
>> line 144, in __createApiClient\n list_user_res =
>> self.__apiClient.listUsers(list_user)\n', ' File
>> "/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/cloudstackAPI/cloudstackAPIClient.py",
>>
>> line 594, in listUsers\n response =
>> self.connection.marvinRequest(command, response_type=response,
>> method=method)\n', ' File
>> "/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/cloudstackConnection.py",
>>
>> line 379, in marvinRequest\n raise e\n', "ConnectionError:
>> ('Connection aborted.', error(111, 'Connection refused'))\n"]
>> Traceback (most recent call last):
>> File
>> "/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/cloudstackTestClient.py",
>>
>> line 144, in __createApiClient
>> list_user_res = self.__apiClient.listUsers(list_user)
>> File
>> "/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/cloudstackAPI/cloudstackAPIClient.py",
>>
>> line 594, in listUsers
>> response = self.connection.marvinRequest(command,
>> response_type=response, method=method)
>> File
>> "/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/cloudstackConnection.py",
>>
>> line 379, in marvinRequest
>> raise e
>> ConnectionError: ('Connection aborted.', error(111, 'Connection
>> refused'))
>> 2015-07-02 03:55:46,436 - ERROR - ==== Test Client Creation Failed
>> ====
>
--
Fabio Da Soghe
Amministratore Delegato, Cognitio s.r.l.
c/o Toolbox, via Padre Agostino da Montefeltro 2, 10134 Torino
Phone: 011.31.57.436 Mobile: 338.91.85.280
Email: f.dasoghe@cognitio.it Web: http://www.cognitio.it
Re: devcloud-kvm doesn't work (tag 4.5.1)
Posted by Fabio Da Soghe <f....@cognitio.it.INVALID>.
This is very odd.
I logged in on the management console
(http://172.17.10.10:8080/client/), then I checked the api service was
on, using url
http://172.17.10.10:8096/?command=listUsers&response=json&account=admin
(it should be the same used by Marvin that caused the error below), and
it worked.
Then I put a print in cloudstackConnection.py to verify the connection
url it was using, and it worked! No other changes around.
Maybe is it necessary to do a first login in order to activate the admin
account via api?
Il 02/07/2015 12:08, Fabio Da Soghe ha scritto:
> 2015-07-02 03:55:46,424 - DEBUG - Parsing Test data successful
> 2015-07-02 03:55:46,424 - DEBUG - Payload: {'account': 'admin',
> 'command': 'listUsers', 'response': 'json'}
> 2015-07-02 03:55:46,424 - DEBUG - ========Sending GET Cmd :
> listUsers=======
> 2015-07-02 03:55:46,434 - ERROR - __sendGetReqToCS : Exception
> Occurred: ('Connection aborted.', error(111, 'Connection refused'))
> Traceback (most recent call last):
> File
> "/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/cloudstackConnection.py",
> line 189, in __sendGetReqToCS
> verify=self.httpsFlag)
> File
> "/usr/local/lib/python2.7/dist-packages/requests-2.7.0-py2.7.egg/requests/api.py",
> line 69, in get
> return request('get', url, params=params, **kwargs)
> File
> "/usr/local/lib/python2.7/dist-packages/requests-2.7.0-py2.7.egg/requests/api.py",
> line 50, in request
> response = session.request(method=method, url=url, **kwargs)
> File
> "/usr/local/lib/python2.7/dist-packages/requests-2.7.0-py2.7.egg/requests/sessions.py",
> line 465, in request
> resp = self.send(prep, **send_kwargs)
> File
> "/usr/local/lib/python2.7/dist-packages/requests-2.7.0-py2.7.egg/requests/sessions.py",
> line 573, in send
> r = adapter.send(request, **kwargs)
> File
> "/usr/local/lib/python2.7/dist-packages/requests-2.7.0-py2.7.egg/requests/adapters.py",
> line 415, in send
> raise ConnectionError(err, request=request)
> ConnectionError: ('Connection aborted.', error(111, 'Connection
> refused'))
> 2015-07-02 03:55:46,435 - ERROR - marvinRequest : CmdName:
> <marvin.cloudstackAPI.listUsers.listUsersCmd object at 0x1dcdd50>
> Exception: ['Traceback (most recent call last):\n', ' File
> "/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/cloudstackConnection.py",
> line 364, in marvinRequest\n raise self.__lastError\n',
> "ConnectionError: ('Connection aborted.', error(111, 'Connection
> refused'))\n"]
> Traceback (most recent call last):
> File
> "/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/cloudstackConnection.py",
> line 364, in marvinRequest
> raise self.__lastError
> ConnectionError: ('Connection aborted.', error(111, 'Connection
> refused'))
> 2015-07-02 03:55:46,436 - ERROR - Exception Occurred Under
> __createApiClient: ['Traceback (most recent call last):\n', ' File
> "/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/cloudstackTestClient.py",
> line 144, in __createApiClient\n list_user_res =
> self.__apiClient.listUsers(list_user)\n', ' File
> "/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/cloudstackAPI/cloudstackAPIClient.py",
> line 594, in listUsers\n response =
> self.connection.marvinRequest(command, response_type=response,
> method=method)\n', ' File
> "/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/cloudstackConnection.py",
> line 379, in marvinRequest\n raise e\n', "ConnectionError:
> ('Connection aborted.', error(111, 'Connection refused'))\n"]
> Traceback (most recent call last):
> File
> "/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/cloudstackTestClient.py",
> line 144, in __createApiClient
> list_user_res = self.__apiClient.listUsers(list_user)
> File
> "/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/cloudstackAPI/cloudstackAPIClient.py",
> line 594, in listUsers
> response = self.connection.marvinRequest(command,
> response_type=response, method=method)
> File
> "/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/cloudstackConnection.py",
> line 379, in marvinRequest
> raise e
> ConnectionError: ('Connection aborted.', error(111, 'Connection
> refused'))
> 2015-07-02 03:55:46,436 - ERROR - ==== Test Client Creation Failed
> ====
--
Fabio Da Soghe
Amministratore Delegato, Cognitio s.r.l.
c/o Toolbox, via Padre Agostino da Montefeltro 2, 10134 Torino
Phone: 011.31.57.436 Mobile: 338.91.85.280
Email: f.dasoghe@cognitio.it Web: http://www.cognitio.it
Re: devcloud-kvm doesn't work (tag 4.5.1)
Posted by Fabio Da Soghe <f....@cognitio.it.INVALID>.
Il 02/07/2015 11:55, Sebastien Goasguen ha scritto:
> Marcus in cc wrote devcloud-kvm a while back,
>
> he might be able to help.
Thank you.
I found the log of the command:
2015-07-02 03:55:46,424 - DEBUG - Parsing Test data successful
2015-07-02 03:55:46,424 - DEBUG - Payload: {'account': 'admin',
'command': 'listUsers', 'response': 'json'}
2015-07-02 03:55:46,424 - DEBUG - ========Sending GET Cmd :
listUsers=======
2015-07-02 03:55:46,434 - ERROR - __sendGetReqToCS : Exception
Occurred: ('Connection aborted.', error(111, 'Connection refused'))
Traceback (most recent call last):
File
"/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/cloudstackConnection.py",
line 189, in __sendGetReqToCS
verify=self.httpsFlag)
File
"/usr/local/lib/python2.7/dist-packages/requests-2.7.0-py2.7.egg/requests/api.py",
line 69, in get
return request('get', url, params=params, **kwargs)
File
"/usr/local/lib/python2.7/dist-packages/requests-2.7.0-py2.7.egg/requests/api.py",
line 50, in request
response = session.request(method=method, url=url, **kwargs)
File
"/usr/local/lib/python2.7/dist-packages/requests-2.7.0-py2.7.egg/requests/sessions.py",
line 465, in request
resp = self.send(prep, **send_kwargs)
File
"/usr/local/lib/python2.7/dist-packages/requests-2.7.0-py2.7.egg/requests/sessions.py",
line 573, in send
r = adapter.send(request, **kwargs)
File
"/usr/local/lib/python2.7/dist-packages/requests-2.7.0-py2.7.egg/requests/adapters.py",
line 415, in send
raise ConnectionError(err, request=request)
ConnectionError: ('Connection aborted.', error(111, 'Connection
refused'))
2015-07-02 03:55:46,435 - ERROR - marvinRequest : CmdName:
<marvin.cloudstackAPI.listUsers.listUsersCmd object at 0x1dcdd50>
Exception: ['Traceback (most recent call last):\n', ' File
"/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/cloudstackConnection.py",
line 364, in marvinRequest\n raise self.__lastError\n',
"ConnectionError: ('Connection aborted.', error(111, 'Connection
refused'))\n"]
Traceback (most recent call last):
File
"/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/cloudstackConnection.py",
line 364, in marvinRequest
raise self.__lastError
ConnectionError: ('Connection aborted.', error(111, 'Connection
refused'))
2015-07-02 03:55:46,436 - ERROR - Exception Occurred Under
__createApiClient: ['Traceback (most recent call last):\n', ' File
"/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/cloudstackTestClient.py",
line 144, in __createApiClient\n list_user_res =
self.__apiClient.listUsers(list_user)\n', ' File
"/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/cloudstackAPI/cloudstackAPIClient.py",
line 594, in listUsers\n response =
self.connection.marvinRequest(command, response_type=response,
method=method)\n', ' File
"/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/cloudstackConnection.py",
line 379, in marvinRequest\n raise e\n', "ConnectionError:
('Connection aborted.', error(111, 'Connection refused'))\n"]
Traceback (most recent call last):
File
"/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/cloudstackTestClient.py",
line 144, in __createApiClient
list_user_res = self.__apiClient.listUsers(list_user)
File
"/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/cloudstackAPI/cloudstackAPIClient.py",
line 594, in listUsers
response = self.connection.marvinRequest(command,
response_type=response, method=method)
File
"/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/cloudstackConnection.py",
line 379, in marvinRequest
raise e
ConnectionError: ('Connection aborted.', error(111, 'Connection
refused'))
2015-07-02 03:55:46,436 - ERROR - ==== Test Client Creation Failed ====
I'm not sure to understand, it seems to try an API call, but the
management server is up and running (I can see the login screen). Maybe
there's some other service not started?
Thanks again,
Fabio
Re: devcloud-kvm doesn't work (tag 4.5.1)
Posted by Sebastien Goasguen <ru...@gmail.com>.
Marcus in cc wrote devcloud-kvm a while back,
he might be able to help.
> On Jul 2, 2015, at 11:40 AM, Fabio Da Soghe <f....@cognitio.it.INVALID> wrote:
>
> Hello everybody.
>
> I'm experimenting with devcloud-kvm following instruction in https://cwiki.apache.org/confluence/display/CLOUDSTACK/devcloud-kvm on Ubuntu 14.04.
>
> I get stuck on the very last step, the command: "python marvin/marvin/deployDataCenter.py -i devcloud-kvm/devcloud-kvm-advanced.cfg" (the wiki page here is a little messy, there are some typos that could be corrected).
>
> I got this error:
>
> Exception Occurred Under createLogs :['Traceback (most recent call last):', ' File "/usr/local/lib/python2.7/dist-packages/Marvin-4.5.1-py2.7.egg/marvin/marvinLog.py", line 157, in createLogs (\'LogFolderPath\' in log_cfg.__dict__.keys()) and', "AttributeError: 'list' object has no attribute '__dict__'\n"]
>
> I found an old discussion on this mailing list about this same error (here: http://markmail.org/thread/n673ecf2eztn3nqo ). Riassuming: there was an error in tools/devcloud/devcloud-advanced.cfg about defining the logger element (it should be an object and not a list). This was corrected in the codebase (commit here: https://github.com/apache/cloudstack/commit/7cf33f96aa113a389d8e75f64dca810f9f032065) BUT not for the devcloud-kvm, where the logger is still defined as a list.
>
> I corrected the file tools/devcloud-kvm/devcloud-kvm-advanced.cfg as in tools/devcloud/devcloud-advanced.cfg, gave again the last python command, and now I get:
>
> ==== Log Folder Path: /tmp//MarvinLogs//DeployDataCenter__Jul_02_2015_03_25_08_FQ3N8R. All logs will be available here ====
>
> === TestClient Creation Failed===
>
> Now I'm really stuck. Does anybody have any hint for me, please?
>
> Thank you in advance,
>
> Fabio Da Soghe
>