검증 과정

검증 과정

Compute 서비스 작동을 확인합니다.

주석

해당 명령어들을 컨트롤러 노드에서 실행합니다.

  1. admin credential에 대한 접근 권한을 얻기위해 관리자용 CLI 명령어 source 입력합니다:

    $ source admin-openrc.sh
    
  2. 각 단계 수행 및 등록을 성공적으로 검증하기 위해 서비스 구성요소를 나열합니다:

    $ nova service-list
    +----+------------------+------------+----------+---------+-------+--------------+-----------------+
    | Id | Binary           | Host       | Zone     | Status  | State | Updated_at   | Disabled Reason |
    +----+------------------+------------+----------+---------+-------+--------------+-----------------+
    | 1  | nova-conductor   | controller | internal | enabled | up    | 2014-09-16.. | -               |
    | 2  | nova-consoleauth | controller | internal | enabled | up    | 2014-09-16.. | -               |
    | 3  | nova-scheduler   | controller | internal | enabled | up    | 2014-09-16.. | -               |
    | 4  | nova-cert        | controller | internal | enabled | up    | 2014-09-16.. | -               |
    | 5  | nova-compute     | compute1   | nova     | enabled | up    | 2014-09-16.. | -               |
    +----+------------------+------------+----------+---------+-------+--------------+-----------------+
    

    주석

    컨트롤러 노드에서 네개의 서비스 구성 요소가 활성화되어 있고, compute 노드에 하나의 서비스 구성 요소가 활성화 되어 출력되어야 합니다.

  3. Identity 서비스에서 API endpoint 목록은 Identity 서비스와 연결이 되어있는지 확인합니다:

    $ nova endpoints
    +-----------+------------------------------------------------------------+
    | nova      | Value                                                      |
    +-----------+------------------------------------------------------------+
    | id        | 1fb997666b79463fb68db4ccfe4e6a71                           |
    | interface | public                                                     |
    | region    | RegionOne                                                  |
    | region_id | RegionOne                                                  |
    | url       | http://controller:8774/v2/ae7a98326b9c455588edd2656d723b9d |
    +-----------+------------------------------------------------------------+
    +-----------+------------------------------------------------------------+
    | nova      | Value                                                      |
    +-----------+------------------------------------------------------------+
    | id        | bac365db1ff34f08a31d4ae98b056924                           |
    | interface | admin                                                      |
    | region    | RegionOne                                                  |
    | region_id | RegionOne                                                  |
    | url       | http://controller:8774/v2/ae7a98326b9c455588edd2656d723b9d |
    +-----------+------------------------------------------------------------+
    +-----------+------------------------------------------------------------+
    | nova      | Value                                                      |
    +-----------+------------------------------------------------------------+
    | id        | e37186d38b8e4b81a54de34e73b43f34                           |
    | interface | internal                                                   |
    | region    | RegionOne                                                  |
    | region_id | RegionOne                                                  |
    | url       | http://controller:8774/v2/ae7a98326b9c455588edd2656d723b9d |
    +-----------+------------------------------------------------------------+
    
    +-----------+----------------------------------+
    | glance    | Value                            |
    +-----------+----------------------------------+
    | id        | 41ad39f6c6444b7d8fd8318c18ae0043 |
    | interface | admin                            |
    | region    | RegionOne                        |
    | region_id | RegionOne                        |
    | url       | http://controller:9292           |
    +-----------+----------------------------------+
    +-----------+----------------------------------+
    | glance    | Value                            |
    +-----------+----------------------------------+
    | id        | 50ecc4ce62724e319f4fae3861e50f7d |
    | interface | internal                         |
    | region    | RegionOne                        |
    | region_id | RegionOne                        |
    | url       | http://controller:9292           |
    +-----------+----------------------------------+
    +-----------+----------------------------------+
    | glance    | Value                            |
    +-----------+----------------------------------+
    | id        | 7d3df077a20b4461a372269f603b7516 |
    | interface | public                           |
    | region    | RegionOne                        |
    | region_id | RegionOne                        |
    | url       | http://controller:9292           |
    +-----------+----------------------------------+
    
    +-----------+----------------------------------+
    | keystone  | Value                            |
    +-----------+----------------------------------+
    | id        | 88150c2fdc9d406c9b25113701248192 |
    | interface | internal                         |
    | region    | RegionOne                        |
    | region_id | RegionOne                        |
    | url       | http://controller:5000/v2.0      |
    +-----------+----------------------------------+
    +-----------+----------------------------------+
    | keystone  | Value                            |
    +-----------+----------------------------------+
    | id        | cecab58c0f024d95b36a4ffa3e8d81e1 |
    | interface | public                           |
    | region    | RegionOne                        |
    | region_id | RegionOne                        |
    | url       | http://controller:5000/v2.0      |
    +-----------+----------------------------------+
    +-----------+----------------------------------+
    | keystone  | Value                            |
    +-----------+----------------------------------+
    | id        | fc90391ae7cd4216aca070042654e424 |
    | interface | admin                            |
    | region    | RegionOne                        |
    | region_id | RegionOne                        |
    | url       | http://controller:35357/v2.0     |
    +-----------+----------------------------------+
    

    주석

    이 출력에서는 경고를 무시합니다.

  4. 이미지 서비스에서 이미지 목록은 이미지 서비스와 연결되어있는지 확인합니다:

    $ nova image-list
    +--------------------------------------+--------+--------+--------+
    | ID                                   | Name   | Status | Server |
    +--------------------------------------+--------+--------+--------+
    | 38047887-61a7-41ea-9b49-27987d5e8bb9 | cirros | ACTIVE |        |
    +--------------------------------------+--------+--------+--------+
    
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.