Verified
root@node-1:~# nova aggregate-list +----+------+-------------------+ | Id | Name | Availability Zone | +----+------+-------------------+ +----+------+-------------------+ root@node-1:~# nova aggregate-create test_zone +----+-----------+-------------------+-------+----------+ | Id | Name | Availability Zone | Hosts | Metadata | +----+-----------+-------------------+-------+----------+ | 1 | test_zone | - | | | +----+-----------+-------------------+-------+----------+ root@node-1:~# nova aggregate-list +----+-----------+-------------------+ | Id | Name | Availability Zone | +----+-----------+-------------------+ | 1 | test_zone | - | +----+-----------+-------------------+ root@node-1:~# nova aggregate-details 1 +----+-----------+-------------------+-------+----------+ | Id | Name | Availability Zone | Hosts | Metadata | +----+-----------+-------------------+-------+----------+ | 1 | test_zone | - | | | +----+-----------+-------------------+-------+----------+ root@node-1:~# nova aggregate-add-host 1 node-4.test.domain.local Host node-4.test.domain.local has been successfully added for aggregate 1 +----+-----------+-------------------+----------------------------+----------+ | Id | Name | Availability Zone | Hosts | Metadata | +----+-----------+-------------------+----------------------------+----------+ | 1 | test_zone | - | 'node-4.test.domain.local' | | +----+-----------+-------------------+----------------------------+----------+ root@node-1:~# nova aggregate-details test_zone +----+-----------+-------------------+----------------------------+----------+ | Id | Name | Availability Zone | Hosts | Metadata | +----+-----------+-------------------+----------------------------+----------+ | 1 | test_zone | - | 'node-4.test.domain.local' | | +----+-----------+-------------------+----------------------------+----------+ root@node-1:~# nova aggregate-list +----+-----------+-------------------+ | Id | Name | Availability Zone | +----+-----------+-------------------+ | 1 | test_zone | - | +----+-----------+-------------------+ root@node-1:~# nova aggregate-remove-host 1 node-4.test.domain.local Host node-4.test.domain.local has been successfully removed from aggregate 1 +----+-----------+-------------------+-------+----------+ | Id | Name | Availability Zone | Hosts | Metadata | +----+-----------+-------------------+-------+----------+ | 1 | test_zone | - | | | +----+-----------+-------------------+-------+----------+ root@node-1:~# nova aggregate-list +----+-----------+-------------------+ | Id | Name | Availability Zone | +----+-----------+-------------------+ | 1 | test_zone | - | +----+-----------+-------------------+ root@node-1:~# nova aggregate-delete 1 Aggregate 1 has been successfully deleted. root@node-1:~# nova aggregate-list +----+------+-------------------+ | Id | Name | Availability Zone | +----+------+-------------------+ +----+------+-------------------+
Verified
root@node-1:~# nova aggregate-list -----+- ------- ------- ----+ -----+- ------- ------- ----+ -----+- ------- ------- ----+ ------- ---+--- ------- ------- --+---- ---+--- ------- + ------- ---+--- ------- ------- --+---- ---+--- ------- + ------- ---+--- ------- ------- --+---- ---+--- ------- + ------- ---+--- ------- ------- --+ ------- ---+--- ------- ------- --+ ------- ---+--- ------- ------- --+ ------- ---+--- ------- ------- --+---- ---+--- ------- + ------- ---+--- ------- ------- --+---- ---+--- ------- + ------- ---+--- ------- ------- --+---- ---+--- ------- + test.domain. local test.domain. local has been successfully added for aggregate 1 ------- ---+--- ------- ------- --+---- ------- ------- ------- ---+--- ------- + ------- ---+--- ------- ------- --+---- ------- ------- ------- ---+--- ------- + test.domain. local' | | ------- ---+--- ------- ------- --+---- ------- ------- ------- ---+--- ------- + ------- ---+--- ------- ------- --+---- ------- ------- ------- ---+--- ------- + ------- ---+--- ------- ------- --+---- ------- ------- ------- ---+--- ------- + test.domain. local' | | ------- ---+--- ------- ------- --+---- ------- ------- ------- ---+--- ------- + ------- ---+--- ------- ------- --+ ------- ---+--- ------- ------- --+ ------- ---+--- ------- ------- --+ remove- host 1 node-4. test.domain. local test.domain. local has been successfully removed from aggregate 1 ------- ---+--- ------- ------- --+---- ---+--- ------- + ------- ---+--- ------- ------- --+---- ---+--- ------- + ------- ---+--- ------- ------- --+---- ---+--- ------- + ------- ---+--- ------- ------- --+ ------- ---+--- ------- ------- --+ ------- ---+--- ------- ------- --+ -----+- ------- ------- ----+ -----+- ------- ------- ----+ -----+- ------- ------- ----+
+----+-
| Id | Name | Availability Zone |
+----+-
+----+-
root@node-1:~# nova aggregate-create test_zone
+----+-
| Id | Name | Availability Zone | Hosts | Metadata |
+----+-
| 1 | test_zone | - | | |
+----+-
root@node-1:~# nova aggregate-list
+----+-
| Id | Name | Availability Zone |
+----+-
| 1 | test_zone | - |
+----+-
root@node-1:~# nova aggregate-details 1
+----+-
| Id | Name | Availability Zone | Hosts | Metadata |
+----+-
| 1 | test_zone | - | | |
+----+-
root@node-1:~# nova aggregate-add-host 1 node-4.
Host node-4.
+----+-
| Id | Name | Availability Zone | Hosts | Metadata |
+----+-
| 1 | test_zone | - | 'node-4.
+----+-
root@node-1:~# nova aggregate-details test_zone
+----+-
| Id | Name | Availability Zone | Hosts | Metadata |
+----+-
| 1 | test_zone | - | 'node-4.
+----+-
root@node-1:~# nova aggregate-list
+----+-
| Id | Name | Availability Zone |
+----+-
| 1 | test_zone | - |
+----+-
root@node-1:~# nova aggregate-
Host node-4.
+----+-
| Id | Name | Availability Zone | Hosts | Metadata |
+----+-
| 1 | test_zone | - | | |
+----+-
root@node-1:~# nova aggregate-list
+----+-
| Id | Name | Availability Zone |
+----+-
| 1 | test_zone | - |
+----+-
root@node-1:~# nova aggregate-delete 1
Aggregate 1 has been successfully deleted.
root@node-1:~# nova aggregate-list
+----+-
| Id | Name | Availability Zone |
+----+-
+----+-