Hi Dirk, Sorry that no one has been able to get back to you yet, a lot of people are ‘off’ at the moment.
The place to look at the cause of this would be the management server logs. They would give the specific reason that the hosts could not be added. If you can’t figure it out from the logs, put them in pastebin (or similar) and let us know. (attachments are stripped in the mailing list). Kind regards Paul Angus From: Klahre, Dirk <dirk.kla...@itelligence.de> Sent: 14 April 2020 10:03 To: dev@cloudstack.apache.org Subject: Start problem with Marvin 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:image001.png@01D614D8.7E479440]<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: dirk.kla...@itelligence.de<mailto:dirk.kla...@itelligence.de> 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 paul.an...@shapeblue.com www.shapeblue.com 3 London Bridge Street, 3rd floor, News Building, London SE1 9SGUK @shapeblue