Uploaded image for project: 'Stratos'
  1. Stratos
  2. STRATOS-364

CLI does not show error message even though it failed to unsubscribe

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.0 M5
    • Fix Version/s: 4.0.0
    • Component/s: CLI
    • Labels:
      None

      Description

      stratos> unsubscribe-cartridge lahiru123
      Are you sure you want to unsubscribe? [yes/no]: yes
      Unsubscribing the cartridge lahiru123
      You have successfully unsubscribed lahiru123
      stratos> list-subscribe-cartridges
      Subscribed Cartridges:
      ------------------------------------------------------------------------------

      Type Name Version Tenancy Model Alias Status Running Instances

      ------------------------------------------------------------------------------

      php PHP 7 Single-Tenant lahiru123 SUBSCRIBED 0

      ------------------------------------------------------------------------------

      lb load balancer 4 Single-Tenant lb1450465464 SUBSCRIBED 0

      ------------------------------------------------------------------------------

        Activity

        Hide
        manulac Manula Chathurika Thantriwatte added a comment -

        This issue is fixed and tested

        Show
        manulac Manula Chathurika Thantriwatte added a comment - This issue is fixed and tested
        Hide
        manulac Manula Chathurika Thantriwatte added a comment -

        Unsubscribed cartridges are didn't remove from the database. So that should be handle in SM side. If there is an error return from SM side to CLI, then it can be shown in CLI.

        Show
        manulac Manula Chathurika Thantriwatte added a comment - Unsubscribed cartridges are didn't remove from the database. So that should be handle in SM side. If there is an error return from SM side to CLI, then it can be shown in CLI.
        Hide
        lahirugamage Lahiru Sandaruwan added a comment - - edited

        So should this be fixed in SM?

        Show
        lahirugamage Lahiru Sandaruwan added a comment - - edited So should this be fixed in SM?
        Hide
        manulac Manula Chathurika Thantriwatte added a comment -

        Note :

        This is happen due to SM didn't remove the entry from the database. When CLI list-subscribe-cartridges again it'll show the entire result

        Show
        manulac Manula Chathurika Thantriwatte added a comment - Note : This is happen due to SM didn't remove the entry from the database. When CLI list-subscribe-cartridges again it'll show the entire result

          People

          • Assignee:
            manulac Manula Chathurika Thantriwatte
            Reporter:
            lahirugamage Lahiru Sandaruwan
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development