• [原]openstack-kilo--issue(四) WARNING: nova has no endpoint in ! Available endpoints for this service:


    本博客已经添加"打赏"功能,"打赏"位置位于右边栏红色框中,感谢您赞助的咖啡.

    在安装kilo的时候出现了一个报错

    nova endpoints
    WARNING: nova has no endpoint in ! Available endpoints for this service:
    +-----------+------------------------------------------------------------+
    | nova      | Value                                                      |
    +-----------+------------------------------------------------------------+
    | id        | 8e02a81594914ee68ec2a4c348f36e86                           |
    | interface | internal                                                   |
    | region    | RegionOne                                                  |
    | region_id | RegionOne                                                  |
    | url       | http://controller:8774/v2/6655a8db1705461384c78137e5e87c17 |
    +-----------+------------------------------------------------------------+
    +-----------+------------------------------------------------------------+
    | nova      | Value                                                      |
    +-----------+------------------------------------------------------------+
    | id        | cec09372a0ef4652ae0453ee2b2565ac                           |
    | interface | public                                                     |
    | region    | RegionOne                                                  |
    | region_id | RegionOne                                                  |
    | url       | http://controller:8774/v2/6655a8db1705461384c78137e5e87c17 |
    +-----------+------------------------------------------------------------+
    +-----------+------------------------------------------------------------+
    | nova      | Value                                                      |
    +-----------+------------------------------------------------------------+
    | id        | ff33409ed3fd4d35bd7af03f8a1bf5de                           |
    | interface | admin                                                      |
    | region    | RegionOne                                                  |
    | region_id | RegionOne                                                  |
    | url       | http://controller:8774/v2/6655a8db1705461384c78137e5e87c17 |
    +-----------+------------------------------------------------------------+
    WARNING: keystone has no endpoint in ! Available endpoints for this service:
    +-----------+----------------------------------+
    | keystone  | Value                            |
    +-----------+----------------------------------+
    | id        | b7c9400288844a64aac66688225ef94f |
    | interface | internal                         |
    | region    | RegionOne                        |
    | region_id | RegionOne                        |
    | url       | http://controller:5000/v2.0      |
    +-----------+----------------------------------+
    +-----------+----------------------------------+
    | keystone  | Value                            |
    +-----------+----------------------------------+
    | id        | dad42a6cf9d349d3beb0a7190d184b60 |
    | interface | public                           |
    | region    | RegionOne                        |
    | region_id | RegionOne                        |
    | url       | http://controller:5000/v2.0      |
    +-----------+----------------------------------+
    +-----------+----------------------------------+
    | keystone  | Value                            |
    +-----------+----------------------------------+
    | id        | dc673080534445df9a629f1f64ebda0f |
    | interface | admin                            |
    | region    | RegionOne                        |
    | region_id | RegionOne                        |
    | url       | http://controller:35357/v2.0     |
    +-----------+----------------------------------+
    WARNING: glance has no endpoint in ! Available endpoints for this service:
    +-----------+----------------------------------+
    | glance    | Value                            |
    +-----------+----------------------------------+
    | id        | 1bf9b3094cf0440cadfcfe01d8d48ff0 |
    | interface | public                           |
    | region    | RegionOne                        |
    | region_id | RegionOne                        |
    | url       | http://controller:9292           |
    +-----------+----------------------------------+
    +-----------+----------------------------------+
    | glance    | Value                            |
    +-----------+----------------------------------+
    | id        | 8269a34f2be74a2cbae74a70931a6495 |
    | interface | admin                            |
    | region    | RegionOne                        |
    | region_id | RegionOne                        |
    | url       | http://controller:9292           |
    +-----------+----------------------------------+
    +-----------+----------------------------------+
    | glance    | Value                            |
    +-----------+----------------------------------+
    | id        | 9a15ab7d12cf4a9884ab8371dc05d18c |
    | interface | internal                         |
    | region    | RegionOne                        |
    | region_id | RegionOne                        |
    | url       | http://controller:9292           |
    +-----------+----------------------------------+
    +-----------+----------------------------------+
    | glance    | Value                            |
    +-----------+----------------------------------+
    | id        | a59fc34f786e404680cc7afce6a940c9 |
    | interface | internal                         |
    | region    | RegionOne                        |
    | region_id | RegionOne                        |
    | url       | http://controller:9292           |
    +-----------+----------------------------------+
    +-----------+----------------------------------+
    | glance    | Value                            |
    +-----------+----------------------------------+
    | id        | b4ed8f548fc04801beaa7e8c5c5790bc |
    | interface | admin                            |
    | region    | RegionOne                        |
    | region_id | RegionOne                        |
    | url       | http://controller:9292           |
    +-----------+----------------------------------+
    +-----------+----------------------------------+
    | glance    | Value                            |
    +-----------+----------------------------------+
    | id        | e25df92c19334389baef2a09568258bf |
    | interface | public                           |
    | region    | RegionOne                        |
    | region_id | RegionOne                        |
    | url       | http://controller:9292           |
    +-----------+----------------------------------+

    solution:

    add export OS_REGION_NAME=RegionOne into admin-openrc.sh

    echo "export OS_REGION_NAME=RegionOne" >> admin-openrc.sh
    
    nova endpoints     
    +-----------+------------------------------------------------------------+
    | nova      | Value                                                      |
    +-----------+------------------------------------------------------------+
    | id        | 8e02a81594914ee68ec2a4c348f36e86                           |
    | interface | internal                                                   |
    | region    | RegionOne                                                  |
    | region_id | RegionOne                                                  |
    | url       | http://controller:8774/v2/6655a8db1705461384c78137e5e87c17 |
    +-----------+------------------------------------------------------------+
    +-----------+----------------------------------+
    | keystone  | Value                            |
    +-----------+----------------------------------+
    | id        | b7c9400288844a64aac66688225ef94f |
    | interface | internal                         |
    | region    | RegionOne                        |
    | region_id | RegionOne                        |
    | url       | http://controller:5000/v2.0      |
    +-----------+----------------------------------+
    +-----------+----------------------------------+
    | glance    | Value                            |
    +-----------+----------------------------------+
    | id        | 1bf9b3094cf0440cadfcfe01d8d48ff0 |
    | interface | public                           |
    | region    | RegionOne                        |
    | region_id | RegionOne                        |
    | url       | http://controller:9292           |
    +-----------+----------------------------------+

     

  • 相关阅读:
    scrapy基础知识之 使用FormRequest.from_response()方法模拟用户登录:
    scrapy基础知识之发送POST请求:
    scrapy基础知识之 CrawlSpiders(爬取腾讯校内招聘):
    scrapy基础知识之 CrawlSpiders:
    scrapy基础知识之 Logging:
    scrapy基础知识之将item 通过pipeline保存数据到mysql mongoDB:
    scrapy基础知识之 parse()方法的工作机制思考:
    scrapy基础知识之scrapy自动下载图片pipelines
    scrapy基础知识之将item写入JSON文件:
    scrapy基础知识之制作 Scrapy 爬虫 一共需要4步:
  • 原文地址:https://www.cnblogs.com/horizonli/p/5554892.html
Copyright © 2020-2023  润新知