next up previous contents
Next: 使用 provider network 新增 Up: Instance Previous: 使用 Selfservice network 新增   Contents

存取 Instance cirros

  1. 載入用戶 demo 的環境變數。
    [root@controller ~]# . demo.token
    
  2. 取得 VNC session URL,可以使用網頁開啟終端機,但這是在本機 127.0.0.1 主機上才能開啟。
    [root@controller ~]# openstack console url show cirros1
    +-------+--------------------------------------------------------------------------------+
    | Field | Value                                                                          |
    +-------+--------------------------------------------------------------------------------+
    | type  | novnc                                                                          |
    | url   | http://127.0.0.1:6080/vnc_auto.html?token=612e5260-50a6-469b-95d7-8e666af61101 |
    +-------+--------------------------------------------------------------------------------+
    
  3. 列出 instance crt1-instance 及 cirros1-instance,但狀態都是 ERROR。
    +--------------------------------------+------------------+--------+----------+--------+--------+
    | ID                                   | Name             | Status | Networks | Image  | Flavor |
    +--------------------------------------+------------------+--------+----------+--------+--------+
    | 3fec7b0e-dabb-47da-bb41-f8ade99b3a5d | cirros1-instance | ERROR  |          | cirros | m1.crt |
    | df02f9e2-833e-44d6-b25e-556387459d0a | crt1-instance    | ERROR  |          | crtusb | m1.crt |
    +--------------------------------------+------------------+--------+----------+--------+--------+
    
  4. 刪除 instance crt1-instance 及 cirros1-instance。
    [root@controller ~]# openstack server delete 3fec7b0e-dabb-47da-bb41-f8ade99b3a5d
    [root@controller ~]# openstack server delete df02f9e2-833e-44d6-b25e-556387459d0a
    [root@controller ~]# openstack server list
    



De-Yu Wang 2018-11-06