Hi All,
my name is Dirk and I'm the new developer for cloudstack at the Itelligence GMS.
I have been working at Itelli since 2015 and look forward to a good
cooperation. :)
I hope this is the correct channel to ask development questions.
My first step was to build my development environment and I used your dev docs
for that.
So far it has worked well, but now I have a problem with the cmd "marvincli
deploydc config-file=marvin_config.cfg".
My configuration is follow
OS: Windows
IDE: Apache Netbeans (works directly in windows)
- MySQL and Marvin is encapsulated together in a docker container
- MySQL and Docker is included in Netbeans and works correctly.
- Build, Deployment, Debug of Cloudstack and connection to Mysql works also
well.
- I use Cloudstack version 4.13
- For Python and similar stuff I using WSL as cli
Also follow cmds finished successfully
mvn -Pdeveloper -Dsimulator -DskipTests clean install
mvn -Pdeveloper -pl developer -Ddeploydb
mvn -Pdeveloper -pl developer -Ddeploydb-simulator
After this I started the jetty server with follow cmd successfully
mvn -pl client jetty:run -Dsimulator
-Dorg.eclipse.jetty.annotations.maxWait=120
Now if I execute marvin cmd in the docker container I get following error at
addHost method
Exception Occurred :['Traceback (most recent call last):\n', ' File
"marvin/marvin/deployDataCenter.py", line 146, in addHosts\n ret =
self.__apiClient.addHost(hostcmd)\n', ' File
"/usr/local/lib/python2.7/dist-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
line 2418, in addHost\n response = self.connection.marvinRequest(command,
response_type=response, method=method)\n', ' File
"/usr/local/lib/python2.7/dist-packages/marvin/cloudstackConnection.py", line
379, in marvinRequest\n raise e\n', 'CloudstackAPIException: Execute cmd:
addhost failed, due to: errorCode: 530, errorText:Unable to add the host\n']
Exception Occurred :['Traceback (most recent call last):\n', ' File
"marvin/marvin/deployDataCenter.py", line 146, in addHosts\n ret =
self.__apiClient.addHost(hostcmd)\n', ' File
"/usr/local/lib/python2.7/dist-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
line 2418, in addHost\n response = self.connection.marvinRequest(command,
response_type=response, method=method)\n', ' File
"/usr/local/lib/python2.7/dist-packages/marvin/cloudstackConnection.py", line
379, in marvinRequest\n raise e\n', 'CloudstackAPIException: Execute cmd:
addhost failed, due to: errorCode: 530, errorText:Unable to add the host\n']
Exception Occurred :['Traceback (most recent call last):\n', ' File
"marvin/marvin/deployDataCenter.py", line 146, in addHosts\n ret =
self.__apiClient.addHost(hostcmd)\n', ' File
"/usr/local/lib/python2.7/dist-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
line 2418, in addHost\n response = self.connection.marvinRequest(command,
response_type=response, method=method)\n', ' File
"/usr/local/lib/python2.7/dist-packages/marvin/cloudstackConnection.py", line
379, in marvinRequest\n raise e\n', 'CloudstackAPIException: Execute cmd:
addhost failed, due to: errorCode: 530, errorText:Unable to add the host\n']
Exception Occurred :['Traceback (most recent call last):\n', ' File
"marvin/marvin/deployDataCenter.py", line 146, in addHosts\n ret =
self.__apiClient.addHost(hostcmd)\n', ' File
"/usr/local/lib/python2.7/dist-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
line 2418, in addHost\n response = self.connection.marvinRequest(command,
response_type=response, method=method)\n', ' File
"/usr/local/lib/python2.7/dist-packages/marvin/cloudstackConnection.py", line
379, in marvinRequest\n raise e\n', 'CloudstackAPIException: Execute cmd:
addhost failed, due to: errorCode: 530, errorText:Unable to add the host\n']
Exception Occurred :['Traceback (most recent call last):\n', ' File
"marvin/marvin/deployDataCenter.py", line 146, in addHosts\n ret =
self.__apiClient.addHost(hostcmd)\n', ' File
"/usr/local/lib/python2.7/dist-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
line 2418, in addHost\n response = self.connection.marvinRequest(command,
response_type=response, method=method)\n', ' File
"/usr/local/lib/python2.7/dist-packages/marvin/cloudstackConnection.py", line
379, in marvinRequest\n raise e\n', 'CloudstackAPIException: Execute cmd:
addhost failed, due to: errorCode: 530, errorText:Unable to add the host\n']
It's a bit strange from my side, during the deployment I can see that the zone
object correctly inserted
in the database and that says me, that the communication between marvin,
management server and database works.
So my python knowledge is a bit rusty and the error message says me not really
what I making wrong.
In the attachment you can find the marvin config.
I hope somebody can help me.
Best Regards
Dirk
Dirk Klahre
Senior System Admin
[cid:itelligence_ntt_ddd17a2c-b83a-434e-af62-f51bab775945.png]<http://itelligencegroup.com/de/?utm_source=email&utm_medium=emailfooter&utm_campaign=signature>
We Transform. Trust into Value
itelligence Global Managed Services GmbH ? Breitscheidstrasse 48 ? 01237 Dresden
phone: +49 3591 5253-1562 ?
e-mail: [email protected]<mailto:[email protected]>
www.itelligencegroup.com<http://www.itelligencegroup.com>
Wir halten Sie immer auf dem Laufenden!
Folgen Sie uns auf unseren Social Media Kan?len:
Xing<https://www.xing.com/companies/itelligenceag/updates>
LinkedIn<http://www.linkedin.com/company/itelligence-dach>
Facebook<https://www.facebook.com/itelligencedeutschland/>
Twitter<https://twitter.com/itelligence_de>
Profitieren Sie vom Know-how unserer Experten - mit dem itelligence
Infoservice! Jetzt kostenlos
registrieren!<https://itelligencegroup.com/de/news-and-insights/itelligence-infoservice/?utm_source=outlook&utm_medium=email&utm_campaign=brand-infoservice>
itelligence Global Managed Services GmbH ? Sitz: Bautzen ? Handelsregister:
Amtsgericht Dresden, HRB 21356
Gesch?ftsf?hrer: Mirko Kruse ? Andr? Walter