Hi, Please use the uuid of ROOT from Domain table.
mysql> select name,uuid from cloud.domain; +------+--------------------------------------+ | name | uuid | +------+--------------------------------------+ | ROOT | cfe81c1c-c9d9-11e2-b3cc-c2ae49691a00 | +------+--------------------------------------+ Or Access Domains from UI to get the domain ID. Thanks, Sailaja.M -----Original Message----- From: Er Krishna [mailto:erkris...@gmail.com] Sent: Sunday, June 02, 2013 4:26 PM To: asmita.vagy...@sigma-systems.com Cc: cloudstack-us...@incubator.apache.org; paul.an...@shapeblue.com Subject: pls help in clod stack setup Hi All, I have following problems in cloudstack setup. Pls help me here. 1. I am unable to generate the key coz my domain id is not correct. How to know what is the correct domain id of mine ? 2. I am not able to add the host ? Is it due to above problem ? 3. Is the version of tomcat 6.0.35 having some problem? Please clear me on this, below is the snippet for this problem. root@krishna:~# curl --globoff " http://localhost:8096/?command=createSSHKeyPair&name=keypair-doc&account=admin&domainid=5163440e-c44b-42b5-9109-ad75cae8e8a2 " <?xml version="1.0" encoding="UTF-8"?><createsshkeypairresponse cloud-stack-version="4.0.2.20130501180711"><errorcode>431</errorcode><cserrorcode>9999</cserrorcode><errortext>Unable to execute API command createsshkeypair due to invalid value. Object domain(uuid: 5163440e-c44b-42b5-9109-ad75cae8e8a2) does not exist.</errortext></createsshkeypairresponse>root@krishna-S1200RP:~#