[jbosstools-issues] [JBoss JIRA] (JBIDE-13666) Not exact error describction when renaming domain to one that is already used

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Wed Feb 27 09:01:59 EST 2013


    [ https://issues.jboss.org/browse/JBIDE-13666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12757174#comment-12757174 ] 

Andre Dietisheim commented on JBIDE-13666:
------------------------------------------

When I rename a domain to an existing name I get the following quite explicit error:

!rename-domain-error.png!

What you displayed above looks pretty much like a problem reported when writing to the MongoDB OpenShift is using to store settings. I suspect you ran into a special error. There's not much we can do in JBT, this needs to get filed against OpenShift in their bugzilla: https://bugzilla.redhat.com/, Product: OpenShift origin, Component: REST API 
                
> Not exact error describction when renaming domain to one that is already used
> -----------------------------------------------------------------------------
>
>                 Key: JBIDE-13666
>                 URL: https://issues.jboss.org/browse/JBIDE-13666
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.1.0.Alpha1
>            Reporter: Stefan Bunciak
>            Assignee: Andre Dietisheim
>             Fix For: 4.1.0.Alpha2
>
>
> When trying to rename an existing domain to a domain name which already exists (within different openshift account):
> {code}
> Could not rename domain "sbunciak": [Operation failed with exit code "1".Reason given: "
> Problem:
>   Document(s) not found for class PendingDomainOps with id(s) 512df956e0b8cd59a20001fa.
> Summary:
>   When calling PendingDomainOps.find with an id or array of ids, each parameter must match a document in the database or this error will be raised. The search was for the id(s): 512df956e0b8cd59a20001fa ... (1 total) and the following ids were not found: 512df956e0b8cd59a20001fa.
> Resolution:
>   Search for an id that is in the database or set the Mongoid.raise_not_found_error configuration option to false, which will cause a nil to be returned instead of raising this error when searching for a single id, or only the matched documents when searching for multiples."]
> Could not request https://openshift.redhat.com/broker/rest/domains/pipistik: Operation failed with exit code "1".Reason given: "
> Problem:
>   Document(s) not found for class PendingDomainOps with id(s) 512df956e0b8cd59a20001fa.
> Summary:
>   When calling PendingDomainOps.find with an id or array of ids, each parameter must match a document in the database or this error will be raised. The search was for the id(s): 512df956e0b8cd59a20001fa ... (1 total) and the following ids were not found: 512df956e0b8cd59a20001fa.
> Resolution:
>   Search for an id that is in the database or set the Mongoid.raise_not_found_error configuration option to false, which will cause a nil to be returned instead of raising this error when searching for a single id, or only the matched documents when searching for multiples."
> {code}
> This message really doesn't describe the real problem - that I'm trying to use a domain name which is already used.

--
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


More information about the jbosstools-issues mailing list