I'm attempting to create a custom AMI to use as a bamboo agent based on the instructions here:
https://confluence.atlassian.com/display/BAMBOO/Creating+a+custom+elastic+image.
After repeated attempts and much googling, I continue to find myself here:
Server.InternalError: An internal error has occurred
com.amazon.aes.webservices.client.Jec2SoapFaultException: SOAP Fault[code=Server.InternalError, str='An internal error has occurred']
at com.amazon.aes.webservices.client.Jec2Impl.UnwrapException(Jec2Impl.java:342)
at com.amazon.aes.webservices.client.Jec2Impl.registerImage(Jec2Impl.java:390)
at com.amazon.aes.webservices.client.cmd.RegisterImage.invokeOnline(RegisterImage.java:153)
at com.amazon.aes.webservices.client.cmd.BaseCmd.invoke(BaseCmd.java:1040)
at com.amazon.aes.webservices.client.cmd.RegisterImage.main(RegisterImage.java:196)
after running:
ec2-register -a x86_64 bamboobundles/elastic-bamboo-agent-1.2/elastic-bamboo-agent-1.2.manifest.xml --debug --verbose
Minus the sensitive data, the request being sent to amazon is:
<soap:envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:header>
<wsse:security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsu:timestamp wsu:id="Timestamp-730403186" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsu:created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2013-06-20T16:46:54.580Z</wsu:created>
<wsu:expires xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2013-06-20T16:51:54.580Z</wsu:expires>
</wsu:timestamp>
<wsse:binarysecuritytoken encodingtype="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" valuetype="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:id="CertId-2459588" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">XXXXXXXX</wsse:binarysecuritytoken>
<ds:signature id="Signature-2046525641" xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:signedinfo>
<ds:canonicalizationmethod algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
<ds:signaturemethod algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
<ds:reference uri="#Timestamp-730403186">
<ds:transforms>
<ds:transform algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
</ds:transforms>
<ds:digestmethod algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<ds:digestvalue>q5CW+RTcmvf37jwd2/xaOe0jkxs=</ds:digestvalue>
</ds:reference>
<ds:reference uri="#id-136597364">
<ds:transforms>
<ds:transform algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
</ds:transforms>
<ds:digestmethod algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<ds:digestvalue>kdEFqnaidhViwGaEKzEg8SrIUQo=</ds:digestvalue>
</ds:reference>
</ds:signedinfo>
<ds:signaturevalue>
XXXXXXXX
</ds:signaturevalue>
<ds:keyinfo id="KeyId-419651577">
<wsse:securitytokenreference wsu:id="STRId-492571793" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsse:reference uri="#CertId-2459588" valuetype="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"/>
</wsse:securitytokenreference>
</ds:keyinfo>
</ds:signature>
</wsse:security>
</soap:header>
<soap:body wsu:id="id-136597364" xmlns:ns1="http://ec2.amazonaws.com/doc/2013-02-01/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<ns1:registerimage>
<ns1:imagelocation>bamboobundles/elastic-bamboo-agent-1.2/elastic-bamboo-agent-1.2.manifest.xml</ns1:imagelocation>
<ns1:architecture>x86_64</ns1:architecture>
<ns1:rootdevicename>/dev/sda1</ns1:rootdevicename>
<ns1:blockdevicemapping/>
</ns1:registerimage>
</soap:body>
</soap:envelope>
I've tried this with various versions of the api tools. The message above was requested using 1.6.7.4.
Tha AMI I'm using is one of the recommended Atlassian AMI's: ami-8f56eae6
Any ideas why I can't register this bundle as an AMI?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.