Installing and Configuring OpenStack (Juno) in Oracle® Solaris

Exit Print View

Updated: June 2016
 
 

How to Decommission a Node

Use this procedure also in cases when a provisioning operation failed.

  1. Set the node to a deleted state.
    # ironic node-set-provision-state $NODE deleted
  2. Display the node's information.

    In the following example, the properties with asterisks (*) indicate the deleted state of the node.

    # ironic node-show $NODE
    +------------------------+----------------------------------------------------------+
    | Property               | Value                                                    |
    +------------------------+----------------------------------------------------------+
    |instance_uuid           | None                                                     |
    |target_power_state      | None                                                     |
    |properties              | {}                                                       |
    |maintenance             | True                                                     |*
    |driver_info             | {u'archive_uri': u'http://myuar.server/sol11-3-x86.uar', |
    |                        | u'ipmi_address': u'2.2.2.2', u'ipmi_username': u'root',  |
    |                        |u'ipmi_password': u'password'}                            |
    |extra                   | {}                                                       |
    |last_error              | None                                                     |
    |created_at              | 2014-10-03T15:38:43+00:00                                |
    |target_provision_state  | None                                                     |*
    |driver                  | solaris                                                  |
    |updated_at              | 2014-10-03T15:53:04+00:00                                |
    |instance_info           | {}                                                       |
    |chassis_uuid            | None                                                     |*
    |provision_state         | None                                                     |*
    |reservation             | None                                                     |
    |power_state             | power off                                                |*
    |console_enabled         | False                                                    |
    |uuid                    | 4eacbfde-4977-4d8c-8043-8cbe8f876187                     |
    +------------------------+----------------------------------------------------------+
    
  3. If you are troubleshooting a failed provisioning process, validate the node's fields.

    Problems with any of the driver_info elements that were specified for the node are identified under Reason column.

    # ironic node-validate $NODE
    +------------+--------+---------------+
    | Interface  | Result | Reason        |
    +------------+--------+---------------+
    | console    | None   | not supported |
    | deploy     | True   |               |
    | management | True   |               |
    | power      | True   |               |
    +------------+--------+---------------+