Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-13666

Error when renaming a domain with 1+ applications

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.1.0.Alpha2
    • 4.1.0.Alpha1
    • openshift
    • None
      1. ASSERT: make sure you have a domain with at least 1 application on OpenShift
      2. EXEC: in OpenShift Explorer, select your user and pick Create or Edit Domain...
      3. EXEC: Rename the domain-name

    Description

      This is a TRACKER/WATCHER issue that helps us tracking the fixing-progress on OpenShift (https://bugzilla.redhat.com/show_bug.cgi?id=916330). There's nothing we can do about this.

      When trying to rename an existing domain to a domain name which already exists (within different openshift account):

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

      This message really doesn't describe the real problem - that I'm trying to use a domain name which is already used.

      Attachments

        Issue Links

          Activity

            People

              adietish@redhat.com André Dietisheim
              sbunciak-rh Stefan Bunciak
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: