[ https://issues.apache.org/jira/browse/CLOUDSTACK-1717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13606254#comment-13606254 ]
Kishan Kavala commented on CLOUDSTACK-1717: ------------------------------------------- Fixed /api. updateRegion can be used to set the right end_point and region name. I'll document these steps. > AWS Regions - Local region entry that gets added by default should not > include "/api" for its end_point.Also the endpoint should have the actual > hostname instead of localhost. > ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-1717 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1717 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Management Server > Affects Versions: 4.1.0 > Environment: Build from 4.1 > Reporter: Sangeetha Hariharan > Assignee: Kishan Kavala > Fix For: 4.1.0 > > > AWS Regions - Local region entry that gets added by default we should not > include "/api" for its end_point. > Also the endpoint should have the actual hostname instead of localhost. > End_point for Local region entry that gets added by default is " > http://localhost:8080/client/api". > This is inconsistent with the other regions that are being added using > endpoint with format "http://<ipaddress>:8080/client/". Also it is better to > include the ipaddress of the hostname instead of "localost" > mysql> select * from region; > +----+---------+-----------------------------------+ > | id | name | end_point | > +----+---------+-----------------------------------+ > | 1 | region1 | http://10.223.131.202:8080/client | > | 2 | Local | http://localhost:8080/client/api | > +----+---------+-----------------------------------+ > 2 rows in set (0.00 sec) -- 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