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

[OSE] [6.2] container-delete removes openshift-created container from fabric without --force

    XMLWordPrintable

Details

    • % %
    • Hide
      1. create fuse container from openshift console, wait until it is creted
      2. create fuse2 container from the openshift console
      3. ssh to the fuse container
      4. run "container-list" to see both fuse and fuse2 in the list
      5. run "container-delete fuse2"
      6. notice the expected error message "Error executing command: Container's lifecycle not managed by Fabric8 "
      7. run "container-list", notice the fuse2 is not there despise the previous message saying it couldn't be deleted.
      8. check the openshift console, notice fuse2 still exists
      Show
      create fuse container from openshift console, wait until it is creted create fuse2 container from the openshift console ssh to the fuse container run "container-list" to see both fuse and fuse2 in the list run "container-delete fuse2" notice the expected error message "Error executing command: Container's lifecycle not managed by Fabric8 " run "container-list", notice the fuse2 is not there despise the previous message saying it couldn't be deleted. check the openshift console, notice fuse2 still exists

    Description

      Creating two fuse containers from the openshift console (fuse, fuse2) , or (fuse, amq)

      command "container-delete fuse2" correctly states

      "Error executing command: Container's lifecycle not managed by Fabric8 (the container was not created by Fabric8)."

      yet the container is removed from fabric anyway (but still exists as an openshift application, as container-delete cannot remove that).

      Running container-delete should either delete the container also from openshift (if it can), or it should not do anything (instead suggesting to use --force to delete from the list if one so wish to be consistent with 6.1 behavior)

      Attachments

        Activity

          People

            ggrzybek Grzegorz Grzybek
            maschmid@redhat.com Marek Schmidt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: