service 和endpoint的关系
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了service 和endpoint的关系相关的知识,希望对你有一定的参考价值。
参考技术A 创建svc的时候如果有 标签选择器,则会直接创建endpoints关联后端的pod端口列表如果取消这个标签选择器的话,需要手动创建endpoints关联
ERROR: publicURL endpoint for volumev service not found
1、ERROR: publicURL endpoint for volumev3 service not found
问题一,volumev3卷没找到
解决办法创建volumev3卷即可
openstack endpoint create --region RegionOne volumev3 public http://ct:8776/v3/%\\(project_id\\)s
openstack endpoint create --region RegionOne volumev3 internal http://ct:8776/v3/%\\(project_id\\)s
openstack endpoint create --region RegionOne volumev3 admin http://ct:8776/v3/%\\(project_id\\)s
2、Multiple service matches found for ‘volumev3’, use an ID to be more specific.
问题二,找到多个服务匹配的“volumev2”,使用一个ID更具体。
解决办法
[root@ct ~] # openstack service list
+----------------------------------+-----------+-----------+
| ID | Name | Type |
+----------------------------------+-----------+-----------+
| 07b0b486ece14784b5190a568001fef3 | keystone | identity |
| 154c853808db432c9120be3037deacbd | cinderv3 | volumev3 |
| 3baeb7cf072d4a41a0a59311dafdc8df | neutron | network |
| 4bef6cc2bcd94c788263ea82e4e52b20 | cinderv2 | volumev2 |
| 554ffa93bd2c4a99bd9dec3f234fbde2 | cinderv3 | volumev3 |
| 76f2003276584cd5b51887f4e06a21d3 | glance | image |
| 84480eb35abf40e8943ff9e8e864beea | cinderv2 | volumev2 |
| cfa8d2949c5543f699e30190bb61e96f | placement | placement |
| e8f6c7659157422e979964a58a9095b6 | nova | compute |
+----------------------------------+-----------+-----------+
[root@ct ~] # openstack service delete 554ffa93bd2c4a99bd9dec3f234fbde2
[root@ct ~] # openstack service delete 84480eb35abf40e8943ff9e8e864beea
[root@ct ~] # openstack endpoint list
以上是关于service 和endpoint的关系的主要内容,如果未能解决你的问题,请参考以下文章
[kubernetes] Endpoint 和 Service介绍与应用
115 flask的路由, 蓝图, flask实例配置, flask对象配置, 特殊装饰器
openstack-kilo--issue WARNING: nova has no endpoint in ! Available endpoints for this service:(示例(代码