You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Henko Holtzhausen <He...@shapeblue.com> on 2017/11/22 10:05:58 UTC

cloudstack deployDataCentre with MariaDB

Hi Everybody

My name is Henko, I am new to using cloudstack.

I have an issue deploying a datacentre in a simulated environment.

My command and response:

$ /usr/bin/python tools/marvin/marvin/deployDataCenter.py -i setup/dev/advanced.cfg

==== Log Folder Path: /tmp//MarvinLogs//DeployDataCenter__Nov_22_2017_11_23_38_KCZF9L. All logs will be available here ====

==== Deploy DC Started ====
Exception Occurred :['Traceback (most recent call last):\n', '  File "tools/marvin/marvin/deployDataCenter.py", line 142, in addHosts\n    ret = self.__apiClient.addHost(hostcmd)\n', '  File "/home/henko/.local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 2589, in addHost\n    response = self.connection.marvinRequest(command, response_type=response, method=method)\n', '  File "/home/henko/.local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 379, in marvinRequest\n    raise e\n', 'CloudstackAPIException: Execute cmd: addhost failed, due to: errorCode: 530, errorText:Index: 0, Size: 0\n']
Exception Occurred :['Traceback (most recent call last):\n', '  File "tools/marvin/marvin/deployDataCenter.py", line 142, in addHosts\n    ret = self.__apiClient.addHost(hostcmd)\n', '  File "/home/henko/.local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 2589, in addHost\n    response = self.connection.marvinRequest(command, response_type=response, method=method)\n', '  File "/home/henko/.local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 379, in marvinRequest\n    raise e\n', 'CloudstackAPIException: Execute cmd: addhost failed, due to: errorCode: 530, errorText:Index: 0, Size: 0\n']

===deploy dc failed, so cleaning the created entries===

====DeployDC: CleanUp Started====

====Clean Up Entries=== {'PhysicalNetwork': [u'93ab6ef5-a886-44b7-8dd2-3e0d9f6b7ea2'], 'Cluster': [u'dd655d79-42ad-430c-b930-93b722c93684'], 'Pod': [u'6c883b9e-9787-4b06-bff7-bcafe749c7be'], 'order': ['Cluster', 'Pod', 'PhysicalNetwork', 'Zone'], 'Zone': [u'81744ed7-ea3b-4282-bb5a-bcf7e8538a53']}

===Removing DataCenter Failed===


I am using the following versions:
MariaDB - mysql  Ver 15.1 Distrib 10.2.10-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
java version "1.8.0_151"
Python 2.7.12
Ubuntu 16.04.3 LTS

Some of my colleagues are using the same version, except instead of MariaDB they're using mysql, and it is working for them.

Regards

Henko.Holtzhausen@shapeblue.comĀ 
www.shapeblue.com
,   
@shapeblue
  
 


RE: cloudstack deployDataCentre with MariaDB

Posted by Paul Angus <pa...@shapeblue.com>.
Hi Henko,

As you have the error 'Execute cmd: addhost failed'.  I would look in the mgmt. server log first, to see it gives a reason why the CloudStack manager could not add the host.



Kind regards,

Paul Angus

paul.angus@shapeblue.comĀ 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 


-----Original Message-----
From: Henko Holtzhausen [mailto:Henko.Holtzhausen@shapeblue.com] 
Sent: 22 November 2017 10:06
To: dev@cloudstack.apache.org
Subject: cloudstack deployDataCentre with MariaDB

Hi Everybody

My name is Henko, I am new to using cloudstack.

I have an issue deploying a datacentre in a simulated environment.

My command and response:

$ /usr/bin/python tools/marvin/marvin/deployDataCenter.py -i setup/dev/advanced.cfg

==== Log Folder Path: /tmp//MarvinLogs//DeployDataCenter__Nov_22_2017_11_23_38_KCZF9L. All logs will be available here ====

==== Deploy DC Started ====
Exception Occurred :['Traceback (most recent call last):\n', '  File "tools/marvin/marvin/deployDataCenter.py", line 142, in addHosts\n    ret = self.__apiClient.addHost(hostcmd)\n', '  File "/home/henko/.local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 2589, in addHost\n    response = self.connection.marvinRequest(command, response_type=response, method=method)\n', '  File "/home/henko/.local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 379, in marvinRequest\n    raise e\n', 'CloudstackAPIException: Execute cmd: addhost failed, due to: errorCode: 530, errorText:Index: 0, Size: 0\n']
Exception Occurred :['Traceback (most recent call last):\n', '  File "tools/marvin/marvin/deployDataCenter.py", line 142, in addHosts\n    ret = self.__apiClient.addHost(hostcmd)\n', '  File "/home/henko/.local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 2589, in addHost\n    response = self.connection.marvinRequest(command, response_type=response, method=method)\n', '  File "/home/henko/.local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 379, in marvinRequest\n    raise e\n', 'CloudstackAPIException: Execute cmd: addhost failed, due to: errorCode: 530, errorText:Index: 0, Size: 0\n']

===deploy dc failed, so cleaning the created entries===

====DeployDC: CleanUp Started====

====Clean Up Entries=== {'PhysicalNetwork': [u'93ab6ef5-a886-44b7-8dd2-3e0d9f6b7ea2'], 'Cluster': [u'dd655d79-42ad-430c-b930-93b722c93684'], 'Pod': [u'6c883b9e-9787-4b06-bff7-bcafe749c7be'], 'order': ['Cluster', 'Pod', 'PhysicalNetwork', 'Zone'], 'Zone': [u'81744ed7-ea3b-4282-bb5a-bcf7e8538a53']}

===Removing DataCenter Failed===


I am using the following versions:
MariaDB - mysql  Ver 15.1 Distrib 10.2.10-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2 java version "1.8.0_151"
Python 2.7.12
Ubuntu 16.04.3 LTS

Some of my colleagues are using the same version, except instead of MariaDB they're using mysql, and it is working for them.

Regards

Henko.Holtzhausen@shapeblue.com
www.shapeblue.com
,   
@shapeblue