Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: 6.2.0 - Delete workflow feature Manage workflow tasks
Table of Contents
maxLevel4

...

Excerpt
nameRestrict virtual appliances and VMs

To restrict a VM by moving it to a restricted VApp:

  1. Click the VM move button on the VM control panel

    Image Removed Move a VM button on the VM control panelImage Added
  2. To move a VM to a restricted virtual appliance, the user can do one of the following depending on their privileges:

    • Select the option to Move the VM to a restricted VApp

    • Select a restricted VApp from the list

      Select a restricted VAppImage Modified
    • Create a new restricted VApp.

...

Screenshot: You can check the relocation by clicking the Relocate button again, which will show the original host as a new candidate

...

...

What happens when the user clicks deploy?

The VM scheduler deploys the VM.

...

  • A yellow warning or red error notification message

  • An error state on the VM icon

  • A VM warning symbol in the lower part of the VM icon. 

Image Removed Deploy errors on VM iconImage Added

The user and the administrator may be notified of the error. 

...

The platform displays the full details of an error in the Events view and on the Events panel in the Home view.

Here is an example of an event for a failed reconfigure. 

Panel
bgColorwhite

Source: Abiquo / admin /
Date/time: 2014-4-29 13:41:41
Action: VIRTUAL_MACHINE_DEPLOY
Performed by: admin
User: admin
Trace: There are 1 candidate machines but all are oversubscribed by the current workload rules (RAM and CPU oversubscription or no suitable datastore with enough free space). Please check the workload rules or the physical machine resources. Virtual machine requires 1 CPU -- 128 RAM Candidate machines : BCN_KVM_02 ip - 10.60.13.20 .
Severity: ERROR

The platform displays the VM warning symbol is based on for the VM task state. The VM tasks are a collection of jobs. For example, a Deploy task includes jobs to allocate, configure, and power on the VM. If a job fails, then the task will also fail and the platform will display the warning symbol on the VM. 

...

If your user role is an administrator role with the privilege to "Manage Users"users, then you can also delete warnings for the users of the enterprises that you manage.

Virtual machine states table

...

Virtual appliance states

...

Manage workflow tasks

...

nameManage workflow tasks

When workflow is enabled, the user's requests to deploy, reconfigure and undeploy VMs will be held with the status waiting to be reviewed. 

This can include actions on scaling groups, unless the administrator selects the option to disable workflow in the scaling group. 

To view the list of workflow tasks

  1. Go to Virtual datacenters → Workflow tasks.

To filter workflow tasks, enter text in the filter box at the top of the tasks list.

...

To continue a queued workflow task, click the Accept link beside the task.

...

warnings for the users of the enterprises that you manage.

...

Virtual machine states table

Include Page
Virtual machine states table
Virtual machine states table

Virtual appliance states

Include Page
Virtual appliance states
Virtual appliance states

...

Retrieve a VM using the API

...

  1. Before you begin, create a VM with the Abiquo UI and power it off. Open the browser console. This example uses Chrome, so we clicked F12.

  2. Select the Network view

  3. Click the red arrow record button and the clear button next to it

  4. In the platform on the VM control panel, click the Start button

     Steps 1-4 for retrieving a VM via APIImage Modified
  5. Scroll up to the first request, which should be a PUT request to the virtual machine state URL. Click on the request

    1. If you can't see the Method column, right click on a column heading and select Method from the list

      Image Removed Click on a request in the browser consoleImage Added
  6. Select the link to the VM up to the end of the VM ID number (before "/state")

  7. Use a cURL request similar to the one the example below or a REST API tool such as Postman to perform a GET request to this link. For this basic testing, you can use the -k option to avoid security warnings.

Code Block
curl -X GET https://mjsabiquo.bcn.abiquo.com/api/cloud/virtualdatacenters/2/virtualappliances/1/virtualmachines/47 \
     -H 'Accept:application/vnd.abiquo.virtualmachine+json;version=56.01' \
     -u admin:xabiquo -k --verbose

...