exception in create_node of CloudEndpoint #6140
-
I am using DIRACv7.3.20. In the CloudDirector log, when creat node for openstack cloud, go the error: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi, Hmm, it does sound like something isn't liking the MIME object... Are there any more details further up in the log, such as the full stack trace? Is this a python3 or python2 based install? Could you please try converting the userData to a string and see if that makes any difference with the following patch? https://github.com/DIRACGrid/DIRAC/blob/integration/src/DIRAC/Resources/Cloud/Utilities.py#L36 - return S_OK(userData)
+ return S_OK(userData.as_string()) As an aside, we're slowly deprecating the old CloudDirector stuff, could you please try out the new CloudComputingElement (which also uses libcloud, but submits with the SiteDirector like any other normal CE) when you have time and let us know if you find anything that doesn't work for your use case? Regards, |
Beta Was this translation helpful? Give feedback.
Hi,
Hmm, it does sound like something isn't liking the MIME object... Are there any more details further up in the log, such as the full stack trace? Is this a python3 or python2 based install?
Could you please try converting the userData to a string and see if that makes any difference with the following patch?
https://github.com/DIRACGrid/DIRAC/blob/integration/src/DIRAC/Resources/Cloud/Utilities.py#L36
As an aside, we're slowly deprecating the old CloudDirector stuff, could you please try out the new CloudComputingElement (which also uses libcloud, but submits with the SiteDirector like any other normal CE) when you ha…