[jbosstools-issues] [JBoss JIRA] (JBIDE-13666) Error when renaming a domain with 1+ applications

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Thu Feb 28 03:43:57 EST 2013


     [ https://issues.jboss.org/browse/JBIDE-13666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andre Dietisheim updated JBIDE-13666:
-------------------------------------

    Steps to Reproduce: 
# ASSERT: make sure you have a domain with at least 1 application on OpenShift
# EXEC: in *OpenShift Explorer*, select your user and pick *Create or Edit Domain...* 
# EXEC: Rename the domain-name


  was:
# ASSERT: make sure you have an account with a domain on OpenShift
# EXEC: in *OpenShift Explorer*, select your user and pick *Create or Edit Domain...* 
# EXEC: delete the existing domain-name and replace it with a domain-name you already use for a different user (or simply pick *mydomain* which is already used.



    
> Error when renaming a domain with 1+ applications
> -------------------------------------------------
>
>                 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
>
>         Attachments: rename-domain-error.png
>
>
> 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