• MultiCloud Dublin M4

      1, Query the workload by workload name or workload id:

      Get http://

      {msb IP}:{msb port}/api/multicloud/v1/{cloud-owner}/{cloud-region-id}/infra_workload?name=<workload name>

      Or:
      Get http://{msb IP}

      :

      {msb port}

      /api/multicloud/v1/

      {cloud-owner}

      /

      {cloud-region-id}

      /infra_workload?id=<workload id>

      The response will look like:

      {
      "template_type":"heat",
      "workload_id": "1234567890abcd",
      "workload_name": "name of workload", (optional)
      "workload_status":"CREATE_COMPLETE"/"UPDATE_COMPLETE"/"NOT_FOUND "/…
      “workload_status_reason”: {
      "stacks": [
      {
      "creation_time": "2014-06-03T20:59:46Z",
      "deletion_time": null,
      "description": "sample stack",
      "id": "3095aefc-09fb-4bc7-b1f0-f21a304e864c",
      "links": [

      { "href": "http://192.168.123.200:8004/v1/eb1c63a4f77141548385f113a28f0f52/stacks/simple_stack/3095aefc-09fb-4bc7-b1f0-f21a304e864c", "rel": "self" }

      ],
      "parent": null,
      "stack_name": "simple_stack",
      "stack_owner": null,
      "stack_status": "CREATE_COMPLETE",
      "stack_status_reason": "Stack CREATE completed successfully",
      "stack_user_project_id": "71510cbd459a49ac989ca1055de7038b",
      "tags": null,
      "updated_time": null
      }
      ]
      }
      }

      The reason will be the response by API query to OpenStack: Get /v1/

      {tenant_id}

      /stacks

      https://developer.openstack.org/api-ref/orchestration/v1/index.html?expanded=list-stacks-detail#stacks

            xiaohua626 xiaohua626
            biny993 biny993
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: