[ https://issues.apache.org/jira/browse/DTACLOUD-576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13697853#comment-13697853 ]
Cristovao Cordeiro edited comment on DTACLOUD-576 at 7/3/13 7:44 AM: --------------------------------------------------------------------- Hi, so I am not really sure why, but after upgrading the Condor version and removing the user_data field from the submission file, my request went through. What's is wrong with having that user_data field? How can I user a user_data_file as input? Cheers P.S.: Condor version is 8.0.0 and Deltacloud version is 1.1.3 was (Author: chdoming): Hi, so I am not really sure why, but after upgrading the Condor version and removing the user_data field from the submission file, my request went through. What's is wrong with having that user_data field? How can I user a user_data_file as input? Cheers > Condor jobs submission to Deltacloud fails > ------------------------------------------ > > Key: DTACLOUD-576 > URL: https://issues.apache.org/jira/browse/DTACLOUD-576 > Project: DeltaCloud > Issue Type: Question > Components: EC2/Frontend, Native/Frontend > Reporter: Cristovao Cordeiro > > Hello, > currently I am trying to submit some condor jobs through a Deltacloud server. > Basically and following HTCondor documentation, I have a submit file with the > content: > universe = grid > executable = job.sh > grid_resource = deltacloud dctests.org:3005/api > deltacloud_username = username+tenant > deltacloud_password_file = passfile > deltacloud_image_id = 9jeeav23-a70c-42dd-a328-b1hnc435007k > deltacloud_instance_name = MYINSTANCE > deltacloud_user_data = condor-example > deltacloud_keyname = my_keypair > deltacloud_hardware_profile = 1 > log = logs.log > queue 3 > When I condor_submit this file, I notice that the 3 jobs get held! > So, after analyzing Deltacloud's logs, I can say that everything goes fine > until the POST request for the instance creation. Here I am getting the > following: > "POST /api/instances > {"name":"MYINSTANCE","keyname":"my_keypair","hwp_id":"1","user_data":"condor-example","image_id":"9jeeav23-a70c-42dd-a328-b1hnc435007k"} > HTTP/1.1" openstack https://myprivatecloud.com 400 55105 2.8835 > So, can anyone tell me what's wrong with this process? Why is it returning > the HTTP error code 400 for malformed syntax? I think the syntax is ok...at > least it is very similar to the one I get when I manually create an instance > on Deltacloud. > Thanks in advance > Cris -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira