Ask Your Question
0

public endpoint for orchestration service in RegionOne region not found

asked 2014-11-13 05:06:18 -0600

Pradip gravatar image

updated 2014-11-13 05:38:45 -0600

dbaxps gravatar image

Hello,

I am trying to see if the Heat is running.

ubuntu@ubuntu:~/devstack$ keystone --os-username=admin service-list
+----------------------------------+------------+------------+-----------------------------+
|                id                |    name    |    type    |         description         |
+----------------------------------+------------+------------+-----------------------------+
| 8e33e597feca4b37a2b6d6479d24715b | ceilometer |  metering  | OpenStack Telemetry Service |
| a75d6edff9f94de2a69b24577ceb5979 |   cinder   |   volume   |    Cinder Volume Service    |
| 6b7f5bccd1e04af2bbe42052349c19da |  cinderv2  |  volumev2  |   Cinder Volume Service V2  |
| cb179dfc8ab944ebb5467ab4ac698020 |    ec2     |    ec2     |   EC2 Compatibility Layer   |
| d17fd3f64aea49d7b8d1d362125e8328 |   glance   |   image    |     Glance Image Service    |
| 43e2c0691d7c4e75917f265c49faa43c |  keystone  |  identity  |  Keystone Identity Service  |
| 0cd9fbc22c8443e3bc73d1d14162f6ee |    nova    |  compute   |     Nova Compute Service    |
| e55e4955be33465281fd1c96d8e4b2dd |  novav21   | computev21 |  Nova Compute Service V2.1  |
+----------------------------------+------------+------------+-----------------------------+

ubuntu@ubuntu:~/devstack$ heat stack-list

public endpoint for orchestration service in RegionOne region not found

Any clue would be helpful.

Thanks in advance, Pradip

For bravity, my local.conf:


[[local|localrc]]
SERVICE_TOKEN=nova
ADMIN_PASSWORD=netapp1!
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
GUEST_PASSWORD=$ADMIN_PASSWORD
PUBLIC_INTERFACE=eth0
FLAT_INTERFACE=eth1
# FLOATING_RANGE=10.0.14.0/24
NET_MAN=FlatDHCPManager
MYSQL_HOST=127.0.0.1
MYSQL_USER=root
MYSQL_PASSWORD=$ADMIN_PASSWORD
RABBIT_HOST=127.0.0.1
LIBVIRT_TYPE=qemu
GLANCE_HOSTPORT=127.0.0.1:9292
SERVICE_PASSWORD=$ADMIN_PASSWORD

## With swift,cinder,ceilometer
# ENABLED_SERVICES=g-api,g-reg,key,n-api,n-crt,s-object,s-container,s-account,s-proxy,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,c-bak,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql,ceilometer-acompute,ceilometer-acentral,ceilometer-anotification,ceilometer-collector,eilometer-alarm-evaluator,ceilometer-alarm-notifier,ceilometer-api

## Without swift,ceilometer but with cinder
# ENABLED_SERVICES=g-api,g-reg,key,n-api,n-crt,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,c-bak,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql

## With cinder,ceilometer (but no swift)
ENABLED_SERVICES=g-api,g-reg,key,n-api,n-crt,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,c-bak,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql,ceilometer-acompute,ceilometer-acentral,ceilometer-anotification,ceilometer-collector,eilometer-alarm-evaluator,ceilometer-alarm-notifier,ceilometer-api

SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5
SWIFT_REPLICAS=1
SWIFT_DATA_DIR=$DEST/data/swift
LOGDAYS=1
LOGFILE=$DEST/devstack.log
SCREEN_LOGDIR=$DEST/logs/screen
RECLONE=yes
API_RATE_LIMIT=False



[[post-config|$CINDER_CONF]]
[DEFAULT]
my_ip=10.72.56.107
volume_name_template=myvolume-%s
verbose=True
debug=True
auth_strategy=keystone
enabled_backends = cmodeNFSBackend
default_volume_type =

## Cinder does not generate notifications by default for ceilometer monitoring
notification_driver=cinder.openstack.common.notifier.rabbit_notifier

## Driver's specification
[cmodeNFSBackend]
volume_backend_name=nfs_volume_netapp
volume_driver=cinder.volume.drivers.netapp.common.NetAppDriver
netapp_server_hostname=10.238.17.156
netapp_server_port=80
netapp_storage_protocol=nfs
netapp_storage_family=ontap_cluster
netapp_login=admin
netapp_password=netapp1!
netapp_vserver=my_vs1
nfs_shares_config=/home/ubuntu/nfs.shares

### Mostly required for ceilometer
[[post-config|$NOVA_CONF]]
[DEFAULT]

## Nova does not generate the periodic notifications for all known instances by default.
instance_usage_audit=true
---------------------------------------------------------------------------

ubuntu@ubuntu:~/devstack$ cat /home/ubuntu/nfs.shares
10.238.44.14:/vol1
edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted
1

answered 2014-11-13 09:11:38 -0600

rajiv-kumar gravatar image

updated 2017-01-04 10:26:15 -0600

zaneb gravatar image

Endpoint is simply a url for finding the particular service. Every service must have its endpoint registered with keystone so that if other service wants to talk to the service then it can contact the keystone for endpoint. And keystone returns the endpoint to the service. Now by looking at the service list provided by you, i think heat service is not registered to keystone. So, what you can do is, create a service and register the corresponding endpoint

create a service

keystone service-create --name=heat --type=orchestration --description="Orchestration"

Endpoint create

keystone endpoint-create \
--service-id=$(keystone service-list | awk '/ orchestration / {print $2}') \ 
--publicurl=http://controller.example.com:8004/v1/%\(tenant_id\)s \
--internalurl=http://controller.example.com:8004/v1/%\(tenant_id\)s \
--adminurl=http://controller.example.com:8004/v1/%\(tenant_id\)s
edit flag offensive delete link more

Comments

Thanks Raiv. It worked.

Pradip gravatar imagePradip ( 2014-11-14 00:30:21 -0600 )edit

with above try I am getting error

creating service is worked successfully but Endpoint creation giving error like

-bash: syntax error near unexpected token `('

I replaced tenant_id with my project Id and controller with my controller IP

Note: it is openstack mitaka

LohithRaj gravatar imageLohithRaj ( 2016-06-29 01:27:38 -0600 )edit

The parentheses are meant to be escaped with backslashes, but StackExchange was hiding them. I've fixed the formatting now. Also, note that you should not replace tenant_id with a project ID. Keystone does that for you because it's different for each project.

zaneb gravatar imagezaneb ( 2017-01-04 10:28:37 -0600 )edit
1

answered 2014-11-13 08:22:07 -0600

larsks gravatar image

The error seems pretty clear:

public endpoint for orchestration service in RegionOne region not found

And indeed, in the output you show from keystone service-list, there is no orchestration service. You will need to create an endpoint in the Keystone service catalog for Heat, just like you do for other services. You can find instructions for doing this in the documentation.

Separately, you will need to ensure that Heat is properly configured and running. You would typically do this by starting the various Heat services (heat-api, heat-engine, etc), making sure the corresponding processes are visible afterwards, and checking logs in /var/log/heat for errors.

edit flag offensive delete link more

Comments

Thanks larsks. It worked!

Pradip gravatar imagePradip ( 2014-11-14 00:29:57 -0600 )edit
1

answered 2014-11-14 00:31:48 -0600

Pradip gravatar image

updated 2017-01-04 10:29:48 -0600

zaneb gravatar image

Thanks all. For Heat, I've added the following lines in my local.conf (devstack):

## Enable Heat Orchestration service
ENABLED_SERVICES+=,heat,h-api,h-api-cfn,h-api-cw,h-eng

# Use this image when working with Orchestration (Heat)
IMAGE_URLS+=",http://fedorapeople.org/groups/heat/prebuilt-jeos-images/F17-x86_64-cfntools.qcow2"

stacking requires little time as it downloads the image. This solves the issue.

edit flag offensive delete link more

Comments

Pradip could you please help me... i have added the above lines in local.conf but it's not working

[[local|localrc]] ENABLED_SERVICES+=,heat,h-api,h-api-cfn,h-api-cw,h-eng IMAGE_URLS+=",http://fedorapeople.org/groups/heat/prebuilt-jeos-images/F17-x86_64-cfntools.qcow2"

Prasath gravatar imagePrasath ( 2015-11-12 13:50:59 -0600 )edit
0

answered 2017-01-01 16:44:25 -0600

Hossein gravatar image

updated 2017-01-04 10:30:33 -0600

zaneb gravatar image

I used the below config in the local.conf according to openstack website documentation http://docs.openstack.org/developer/h...

The issue was resolved and Heat is working now.

enable_service h-eng h-api h-api-cfn h-api-cw
enable_plugin heat https://git.openstack.org/openstack/heat stable/newton
IMAGE_URL_SITE="http://download.fedoraproject.org"
IMAGE_URL_PATH="/pub/fedora/linux/releases/25/CloudImages/x86_64/images/"
IMAGE_URL_FILE="Fedora-Cloud-Base-25-1.3.x86_64.qcow2"
IMAGE_URLS+=","$IMAGE_URL_SITE$IMAGE_URL_PATH$IMAGE_URL_FILE
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-11-13 05:06:18 -0600

Seen: 6,587 times

Last updated: Jan 04