Jeff, what you have reported is a bug. Created an issue to track it in in JIRA - https://issues.apache.org/jira/browse/CLOUDSTACK-5998 .
BTW you mentioned that you trying EC2 Query API against a setup with Advanced networking? I just want to point out that AFAIK, we have never tested EC2 REST/SOAP API compatibility in a setup with Advanced networking. Thanks, Likitha >-----Original Message----- >From: Jeff Hair [mailto:j...@greenqloud.com] >Sent: Thursday, January 30, 2014 6:38 PM >To: dev@cloudstack.apache.org >Subject: EC2 Rest Servlet "domain cannot be null!!" Error In Advanced >Networking Mode > >Hi, > >We're trying to query the EC2 REST API. Most of it works, but we're running >into >an issue when calling describe addresses. It returns a fault with "domain >cannot >be null!!" as the error text. I've traced this down to CloudStack not setting >the >EC2 domain (standard or vpc) in the >EC2SoapServiceImpl#toDescribeAddressesResponse static method. The domain >property is not being set, and then it explodes on serialization with the above >error. > >So, my questions are these: > >1. Is this a bug in CloudStack with the EC2 API and Advanced Networking? Or are >we missing some configuration/setting? >2. If this is actually a bug, what is the best way to work around it >temporarily, >and also where to start fixing it for real in the CS codebase? > >Thanks, > >Jeff