Hi Sven, thanks. It was time for me to start with cloudstack :D
Best regards Dirk Dirk Klahre Senior System Admin 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 www.itelligencegroup.com Wir halten Sie immer auf dem Laufenden! Folgen Sie uns auf unseren Social Media Kanälen: Xing LinkedIn Facebook Twitter Profitieren Sie vom Know-how unserer Experten – mit dem itelligence Infoservice! Jetzt kostenlos registrieren! itelligence Global Managed Services GmbH ▪ Sitz: Bautzen ▪ Handelsregister: Amtsgericht Dresden, HRB 21356 Geschäftsführer: Mirko Kruse ▪ André Walter -----Original Message----- From: Sven Vogel <s.vo...@ewerk.com> Sent: Mittwoch, 22. April 2020 10:13 To: dev <dev@cloudstack.apache.org> Cc: Paul Angus <paul.an...@shapeblue.com> Subject: Re: Start problem with Marvin EXTERNAL MAIL: Hi Dirk, Nice to see you here. Cheers Sven __ Sven Vogel Lead Cloud Solution Architect EWERK DIGITAL GmbH Brühl 24, D-04109 Leipzig P +49 341 42649 - 99 F +49 341 42649 - 98 s.vo...@ewerk.com www.ewerk.com Geschäftsführer: Dr. Erik Wende, Hendrik Schubert, Tassilo Möschke Registergericht: Leipzig HRB 9065 Support: +49 341 42649 555 Zertifiziert nach: ISO/IEC 27001:2013 DIN EN ISO 9001:2015 DIN ISO/IEC 20000-1:2011 ISAE 3402 Typ II Assessed EWERK-Blog<https://blog.ewerk.com/> | LinkedIn<https://www.linkedin.com/company/ewerk-group> | Xing<https://www.xing.com/company/ewerk> | Twitter<https://twitter.com/EWERK_Group> | Facebook<https://de-de.facebook.com/EWERK.IT/> Mit Handelsregistereintragung vom 09.07.2019 ist die EWERK RZ GmbH auf die EWERK IT GmbH verschmolzen und firmiert nun gemeinsam unter dem Namen: EWERK DIGITAL GmbH, für weitere Informationen klicken Sie hier<https://www.ewerk.com/ewerkdigital>. Auskünfte und Angebote per Mail sind freibleibend und unverbindlich. Disclaimer Privacy: Der Inhalt dieser E-Mail (einschließlich etwaiger beigefügter Dateien) ist vertraulich und nur für den Empfänger bestimmt. Sollten Sie nicht der bestimmungsgemäße Empfänger sein, ist Ihnen jegliche Offenlegung, Vervielfältigung, Weitergabe oder Nutzung des Inhalts untersagt. Bitte informieren Sie in diesem Fall unverzüglich den Absender und löschen Sie die E-Mail (einschließlich etwaiger beigefügter Dateien) von Ihrem System. Vielen Dank. The contents of this e-mail (including any attachments) are confidential and may be legally privileged. If you are not the intended recipient of this e-mail, any disclosure, copying, distribution or use of its contents is strictly prohibited, and you should please notify the sender immediately and then delete it (including any attachments) from your system. Thank you. Am 20.04.2020 um 10:51 schrieb Klahre, Dirk <dirk.kla...@itelligence.de<mailto:dirk.kla...@itelligence.de>>: Hi Paul, no problem, I’ve found the reason. During the Cloudstack start, the TransactionLegacy object build a connection string with placeholders without replacement with original values and tries to load the driver with this. That goes wrong and the TransactionLegacy object switch to default values. By the default values is the problem that the database name for simulator values named “cloud_simulator” but maven builds the database with name “simulator´”. Therefore cloudstack can’t save simulated hosts into database. Not quite sure what the right way is but my workaround is currently to rename “cloud_simulator” to “simulator” to put the test data into cloudstack. 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: 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> From: Paul Angus <paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com>> Sent: Freitag, 17. April 2020 17:52 To: dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org> Cc: Klahre, Dirk <dirk.kla...@itelligence.de<mailto:dirk.kla...@itelligence.de>> Subject: RE: Start problem with Marvin EXTERNAL MAIL: 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 paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com> www.shapeblue.com<http://www.shapeblue.com/> @shapeblue From: Klahre, Dirk <dirk.kla...@itelligence.de<mailto:dirk.kla...@itelligence.de>> Sent: 14 April 2020 10:03 To:dev@cloudstack.apache.org<mailto: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