Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-1926

Domain environment variable is not deleted when deleting the root container

XMLWordPrintable

    • % %
    • Hide

      1. Create a domain named test4
      2. Create a fuse app named fuse4 in domain test4 and use 'CTRL+C' to cancel this action
      3. At the mean time, delete fuse4 app. It will say 'Unable to perform action on app object. Another operation is already running.'
      4. Delete fuse4 app again.
      5. Check mongodb :
      {
      "_allowed_domains" : null,
      "_id" : ObjectId("541004911018d650dc00013c"),
      "_type" : "Domain",
      "allowed_gear_sizes" : [
      "xpaas",
      "small"
      ],
      "canonical_namespace" : "test4",
      "created_at" : ISODate("2014-09-10T07:58:09.697Z"),
      "env_vars" : [

      { "key" : "OPENSHIFT_FUSE_DOMAIN_CONSOLE_URL", "value" : "https://fuse4-test4.fuse-vsphere.com", "component_id" : ObjectId("541004951018d650dc00014f") }

      ,

      { "key" : "OPENSHIFT_FUSE_DOMAIN_DNS", "value" : "fuse4-test4.fuse-vsphere.com", "component_id" : ObjectId("541004951018d650dc00014f") }

      ,

      { "key" : "OPENSHIFT_FUSE_DOMAIN_SSH_PORT", "value" : "57177", "component_id" : ObjectId("541004951018d650dc00014f") }

      ,

      { "key" : "OPENSHIFT_FUSE_DOMAIN_ZOOKEEPER_URL", "value" : "fuse4-test4.fuse-vsphere.com:57176", "component_id" : ObjectId("541004951018d650dc00014f") }

      ,

      { "key" : "OPENSHIFT_FUSE_DOMAIN_PASSWORD", "value" : "ftirdLg4hfr4", "component_id" : ObjectId("541004951018d650dc00014f") }

      ],
      "members" : [

      { "_type" : "Member", "_id" : ObjectId("540526831018d608ec000001"), "t" : null, "n" : "jia", "r" : "admin", "f" : [ [ "owner", "admin" ] ], "e" : null }

      ],
      "namespace" : "test4",
      "owner_id" : ObjectId("540526831018d608ec000001"),
      "pending_ops" : [ ],
      "updated_at" : ISODate("2014-09-10T07:58:09.697Z")
      }

      Show
      1. Create a domain named test4 2. Create a fuse app named fuse4 in domain test4 and use 'CTRL+C' to cancel this action 3. At the mean time, delete fuse4 app. It will say 'Unable to perform action on app object. Another operation is already running.' 4. Delete fuse4 app again. 5. Check mongodb : { "_allowed_domains" : null, "_id" : ObjectId("541004911018d650dc00013c"), "_type" : "Domain", "allowed_gear_sizes" : [ "xpaas", "small" ], "canonical_namespace" : "test4", "created_at" : ISODate("2014-09-10T07:58:09.697Z"), "env_vars" : [ { "key" : "OPENSHIFT_FUSE_DOMAIN_CONSOLE_URL", "value" : "https://fuse4-test4.fuse-vsphere.com", "component_id" : ObjectId("541004951018d650dc00014f") } , { "key" : "OPENSHIFT_FUSE_DOMAIN_DNS", "value" : "fuse4-test4.fuse-vsphere.com", "component_id" : ObjectId("541004951018d650dc00014f") } , { "key" : "OPENSHIFT_FUSE_DOMAIN_SSH_PORT", "value" : "57177", "component_id" : ObjectId("541004951018d650dc00014f") } , { "key" : "OPENSHIFT_FUSE_DOMAIN_ZOOKEEPER_URL", "value" : "fuse4-test4.fuse-vsphere.com:57176", "component_id" : ObjectId("541004951018d650dc00014f") } , { "key" : "OPENSHIFT_FUSE_DOMAIN_PASSWORD", "value" : "ftirdLg4hfr4", "component_id" : ObjectId("541004951018d650dc00014f") } ], "members" : [ { "_type" : "Member", "_id" : ObjectId("540526831018d608ec000001"), "t" : null, "n" : "jia", "r" : "admin", "f" : [ [ "owner", "admin" ] ], "e" : null } ], "namespace" : "test4", "owner_id" : ObjectId("540526831018d608ec000001"), "pending_ops" : [ ], "updated_at" : ISODate("2014-09-10T07:58:09.697Z") }

      This issue happens randomly. When deleting the root container, the env variable need to be cleaned in mongodb. This is a race condition issue.

            bparees@redhat.com Ben Parees
            xuanjia Xuan Jia (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: