Marcelo Lima created CLOUDSTACK-10349: -----------------------------------------
Summary: Error to Register ISO in All Zones Key: CLOUDSTACK-10349 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10349 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the default.) Components: API, ISO, Management Server Affects Versions: 4.11.0.0 Reporter: Marcelo Lima Attachments: create-iso-error.png, create-iso.png There is a bug to "Register ISO" in All Zones via Web GUI and CloudMonkey/API Attached screenshots 2018-04-01 00:13:35,695 DEBUG [c.c.a.ApiServlet] (qtp788117692-16:ctx-dea7dd96) (logid:281e77b4) ===START=== 192.168.1.254 -- GET command=registerIso&response=json&name=CentOS+7+64bits&displayText=CentOS+7+64bits&url=http%3A%2F%2Flinorg.usp.br%2FCentOS%2F7.4.1708%2Fisos%2Fx86_64%2FCentOS-7-x86_64-Minimal-1708.iso&*zoneid=-1*&isextractable=false&bootable=true&directdownload=false&osTypeId=c3f4f37e-3514-11e8-a609-8eba01589356&ispublic=true&isfeatured=true&_=1522552414870 2018-04-01 00:13:35,700 DEBUG [c.c.a.ApiServer] (qtp788117692-16:ctx-dea7dd96 ctx-befdf8c1) (logid:281e77b4) CIDRs from which account 'Acct[d0a9a630-3514-11e8-a609-8eba01589356-admin]' is allowed to perform API calls: 0.0.0.0/0,::/0 2018-04-01 00:13:35,711 INFO [c.c.a.ApiServer] (qtp788117692-16:ctx-dea7dd96 ctx-befdf8c1) (logid:281e77b4) *Please specify a valid zone.* 2018-04-01 00:13:35,713 DEBUG [c.c.a.ApiServlet] (qtp788117692-16:ctx-dea7dd96 ctx-befdf8c1) (logid:281e77b4) ===END=== 192.168.1.254 -- GET command=registerIso&response=json&name=CentOS+7+64bits&displayText=CentOS+7+64bits&url=http%3A%2F%2Flinorg.usp.br%2FCentOS%2F7.4.1708%2Fisos%2Fx86_64%2FCentOS-7-x86_64-Minimal-1708.iso&*zoneid=-1*&isextractable=false&bootable=true&directdownload=false&osTypeId=c3f4f37e-3514-11e8-a609-8eba01589356&ispublic=true&isfeatured=true&_=1522552414870 Via CloudMonkey (local) register iso name="CentOS 7 64bits" displaytext="CentOS 7 64bits" url="http://linorg.usp.br/CentOS/7.4.1708/isos/x86_64/CentOS-7-x86_64-Minimal-1708.iso" *zoneid=-1* isextractable=false bootable=true directdownload=false ostypeid=c3f4f37e-3514-11e8-a609-8eba01589356 ispublic=true isfeatured=true Error 431: Please specify a valid zone. cserrorcode = 9999 errorcode = 431 errortext = Please specify a valid zone. uuidList: If I specify zone id it1s works fine (local) > register iso name="CentOS 7 64bits" displaytext="CentOS 7 64bits" url="http://linorg.usp.br/CentOS/7.4.1708/isos/x86_64/CentOS-7-x86_64-Minimal-1708.iso" zoneid=78707459-0661-4519-89f6-6187ecba16af isextractable=false bootable=true directdownload=false ostypeid=c3f4f37e-3514-11e8-a609-8eba01589356 ispublic=true isfeatured=true count = 1 iso: id = e9e254c1-2ed1-43ce-b7f4-6a755c91eb68 name = CentOS 7 64bits account = admin bits = 64 bootable = True created = 2018-04-01T00:20:31-0300 crossZones = False directdownload = False displaytext = CentOS 7 64bits domain = ROOT domainid = b09333e4-3514-11e8-a609-8eba01589356 isdynamicallyscalable = False isextractable = False isfeatured = True ispublic = True isready = False ostypeid = c3f4f37e-3514-11e8-a609-8eba01589356 ostypename = CentOS 7 status = tags: zoneid = 78707459-0661-4519-89f6-6187ecba16af zonename = ZONE_NAME -- This message was sent by Atlassian JIRA (v7.6.3#76005)