[ 
https://issues.apache.org/jira/browse/DTACLOUD-126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13185672#comment-13185672
 ] 

dave johnson commented on DTACLOUD-126:
---------------------------------------

Skipping outright seems a little extreme without first determining if the image 
that is being requested to deploy exists or not.  We can;t assume to know how 
customers with set up their rhevm environment.  I would think a better solution 
when no realm_id is specified is to search the realms for the image and create 
a instance in the first realm it is found in.
                
> RHEV-M: We need to skip 'default' cluster when no 'realm_id' is specified in 
> create_instance
> --------------------------------------------------------------------------------------------
>
>                 Key: DTACLOUD-126
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-126
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Server
>            Reporter: Michal Fojtik
>            Assignee: Michal Fojtik
>            Priority: Blocker
>
> When there is no realm_id provided upon creating a new instance, by default 
> Deltacloud will choose the first 'realm' returned by 'realms' call.
> In RHEV-M it usually means that the 'default' cluster is being returned, 
> which is wrong in most cases, since this cluster is being used for
> holding the 'Blank' template, thus cannot be removed. This cluster usually 
> don't have 'storage domain' assigned and deploying an instance
> there lead to error.
> The solution could to to 'skip' default realm and try to use next realm in 
> row (if there is next realm). If there is just 'default' realm, we should
> choose this realm and additionally give client decent error :-)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to