Editing and deleting placements

Limitations

  • You cannot delete a placement that has nodes, images, or flavors.
  • After deleting a placement, it is not automatically unassigned from virtual machines and volumes. To clean up placements from VMs and volumes, use the --no-placements option for the vinfra service compute server set and vinfra service compute volume set commands.

Prerequisites

To edit a placement

Admin panel

  1. On the Compute > Nodes > Placements tab, select the required placement, and then click Edit on its right pane.
  2. Enter a new name or change the description, and then click Save.

    A description should not contain any personally identifiable information or sensitive business data.

Command-line interface

Use the following command:

vinfra service compute placement update [--name <name>] [--description <description>]
                                        [--non-isolated | --isolated] <placement>
--name <placement-name>
A new name for the placement
--description <placement-description>

A new description for the placement

A description should not contain any personally identifiable information or sensitive business data.

--non-isolated
Make the placement non-isolated (soft policy)
--isolated
Make the placement isolated (hard policy)

For example, to rename the placement placement1 to placement2, run:

# vinfra service compute placement update --name placement2 placement1

To delete a placement

Admin panel

  1. On the Compute > Nodes > Placements tab, select the required placement.
  2. On the placement right pane, click Delete.
  3. In the confirmation window, click Delete placement.

Command-line interface

Use the following command:

vinfra service compute placement delete <placement>
<placement>
Placement ID or name

For example, to delete the placement placement1, run:

# vinfra service compute placement delete placement1