Ask Your Question
1

client cannot connect to the Marconi service

asked 2013-12-05 05:09:07 -0500

gvdm gravatar image

updated 2013-12-06 14:36:23 -0500

smaffulli gravatar image

I'm trying Marconi on a Ubuntu 12.04 VM by following these instructions. In particular I downloaded this devstack fork writing the following localrc file (as stated here )

SERVICE_TOKEN=secrete
ADMIN_PASSWORD=secrete
MYSQL_PASSWORD=secrete
RABBIT_PASSWORD=secrete
SERVICE_PASSWORD=secrete

disable_all_services
enable_service qpid
enable_service key
enable_service mysql
enable_service marconi-server

When I run stack.sh all goes well and running the command

keystone --os-auth-url http://<myIP>:5000/v2.0 --os-tenant-name admin --os-password secrete --os-username admin catalog

gives me the following output

  Service: identity
+-------------+----------------------------------+
|   Property  |              Value               |
+-------------+----------------------------------+
|   adminURL  |  http://<myIP>:35357/v2.0        |
|      id     | 2d667914882748ea989deb460f888d55 |
| internalURL |  http://<myIP>:5000/v2.0         |
|  publicURL  |  http://<myIP>:5000/v2.0         |
|    region   |            RegionOne             |
+-------------+----------------------------------+
Service: queuing
+-------------+----------------------------------+
|   Property  |              Value               |
+-------------+----------------------------------+
|   adminURL  |     http://<myIP>:8888           |
|      id     | 946edd93e35443518340477105678e9d |
| internalURL |     http://<myIP>:8888           |
|  publicURL  |     http://<myIP>:8888           |
|    region   |            RegionOne             |
+-------------+----------------------------------+

So the Marconi's endpoint is on. The problem is that the Marconi service doesn't work,. Indeed if I run a GET request to the http://10.30.16.180:8888/v1 endpoint (using Postman for Chrome) the client cannot connect to the service. Moreover, if I run the Marconi.sh test (which you can find here in the Patch set 8) the test fails with the following output:

+++ dirname ./exercises/marconi.sh
++ cd ./exercises
++ secrete
+ EXERCISE_DIR=/home/user/devstack-marconi/exercises
++ cd /home/user/devstack-marconi/exercises/..
++ secrete
+ TOP_DIR=/home/user/devstack-marconi
+ source /home/user/devstack-marconi/functions
+++ set +o
+++ grep xtrace
++ XTRACE='set -o xtrace'
++ set +o xtrace
+ source /home/user/devstack-marconi/openrc
++ [[ -n '' ]]
++ [[ -n '' ]]
++++ dirname /home/user/devstack-marconi/openrc
+++ cd /home/user/devstack-marconi
+++ secrete
++ RC_DIR=/home/user/devstack-marconi
++ source /home/user/devstack-marconi/functions
++++ grep xtrace
++++ set +o
+++ XTRACE='set -o xtrace'
+++ set +o xtrace
++ source /home/user/devstack-marconi/stackrc
+++++ dirname /home/user/devstack-marconi/stackrc
++++ cd /home/user/devstack-marconi
++++ secrete
+++ RC_DIR=/home/user/devstack-marconi
+++ DEST=/opt/stack
+++ DATA_DIR=/opt/stack/data
+++ [[ 1000 -eq 0 ]]
++++ whoami
+++ STACK_USER=user
+++ ENABLED_SERVICES=g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql
+++ NOVA_ENABLED_APIS=ec2,osapi_compute,metadata
+++ IDENTITY_API_VERSION=2.0
+++ USE_SCREEN=True
+++ '[' -f /home/user/devstack-marconi/localrc ']'
+++ source /home/user/devstack-marconi/localrc
++++ SERVICE_TOKEN=secrete
++++ ADMIN_PASSWORD=secrete
++++ MYSQL_PASSWORD=secrete
++++ RABBIT_PASSWORD=secrete
++++ SERVICE_PASSWORD=secrete
++++ disable_all_services
++++ ENABLED_SERVICES=
++++ enable_service qpid
++++ local tmpsvcs=
++++ for service in '$@'
++++ is_service_enabled qpid
++++ services=qpid
++++ for service in '${services}'
++++ [[ ,, =~ ,qpid, ]]
++++ [[ qpid == n-cell-* ]]
++++ [[ qpid == \n\o\v\a ]]
++++ [[ qpid == \c\i\n\d\e\r ]]
++++ [[ qpid == \c\e\i\l\o\m\e\t\e\r ]]
++++ [[ qpid == \g\l\a\n\c\e ]]
++++ [[ qpid == \n\e\u\t\r\o\n ]]
++++ [[ qpid == \t\r\o\v\e ]]
++++ [[ qpid == \s\w\i\f\t ]]
++++ [[ qpid == s-* ]]
++++ return 1
++++ tmpsvcs+=,qpid
+++++ _cleanup_service_list ,qpid
+++++ echo ,qpid
+++++ sed -e '
        s/,,/,/g;
        s/^,//;
        s/,$//
    '
++++ ENABLED_SERVICES=qpid
++++ disable_negated_services
++++ local tmpsvcs=qpid
++++ local service
++++ for service in '${tmpsvcs//,/ }'
++++ [[ qpid == -* ]]
+++++ _cleanup_service_list qpid
+++++ echo qpid
+++++ sed -e '
        s/,,/,/g;
        s/^,//;
        s/,$//
    '
++++ ENABLED_SERVICES=qpid
++++ enable_service key
++++ local tmpsvcs=qpid
++++ for service in '$@'
++++ is_service_enabled key
++++ services=key
++++ for service in '${services}'
++++ [[ ,qpid, =~ ,key, ]]
++++ [[ key == n-cell-* ]]
++++ [[ key == \n\o\v\a ]]
++++ [[ key == \c\i\n\d\e\r ]]
++++ [[ key == \c\e\i ...
(more)
edit retag flag offensive close delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-03-18 13:05:17 -0500

Hi there, the team has done a lot of work on devstack lately, so it should work for you now. Note also that if you are just spinning up marconi to kick the tires, you can simply pip install and run marconi-server per the README.

edit flag offensive delete publish link more

Your Answer

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

Add Answer

[hide preview]

Question Tools

Follow
1 follower

Stats

Asked: 2013-12-05 05:09:07 -0500

Seen: 115 times

Last updated: Mar 18