Ask Your Question

brahimo's profile - activity

2019-12-26 01:49:20 -0600 received badge  Famous Question (source)
2019-12-26 01:49:20 -0600 received badge  Notable Question (source)
2019-12-24 18:33:40 -0600 received badge  Popular Question (source)
2019-12-20 10:24:55 -0600 asked a question openstack over openstack external network

Hello there.

Hope you are fine.

I am deploying openstack using kolla on top another openstack platform.
lets name the two platforms OSLe0 and OSLe1: OSLe1 is the OpenStack platform installed on top of OSle0 instances.
my own architecture is a clustered control plane with network nodes separated of controller nodes.
my network nodes have interfaces on an OSLe0 subnet (extnet): this subnet is expected to OSLe1 external network.

My own problem resides on the external network of OSLe1 : basically an instance inside OSLe1 cannot ping the external network which is here the gateway of extnet's subnet.

I have tried to ping inside the namespace from a qrouter inside OSLe1 to this gateway but it fails.

the external network is created as type flat on OSLe1.

Do you have any idea on some points that i should take into account about external network in the case of OpenStack over OpenStack

Thank you.

2018-10-23 07:34:23 -0600 received badge  Supporter (source)
2018-10-15 11:16:31 -0600 received badge  Good Question (source)
2018-09-21 09:25:06 -0600 received badge  Popular Question (source)
2018-09-17 09:34:19 -0600 asked a question what tool Openstack community uses to draw network diagrams

I like the network design diagrams used in OpenStack, I would like to know which tool is used to make such diagrams.

2017-01-29 10:44:02 -0600 received badge  Nice Question (source)
2015-11-30 11:11:11 -0600 received badge  Famous Question (source)
2015-11-20 03:49:06 -0600 received badge  Student (source)
2015-08-21 11:45:33 -0600 received badge  Taxonomist
2015-08-10 13:00:22 -0600 received badge  Notable Question (source)
2015-08-08 11:15:12 -0600 received badge  Popular Question (source)
2015-08-06 08:44:35 -0600 received badge  Editor (source)
2015-08-06 08:18:50 -0600 asked a question slow download from instances in Kilo release, 3 nodes version.

Hi everyone.
i need some help about slowness of wget from my instances. I have installed 3 nodes' KILO release of openstack on fedora 21 as described in the official documentation. everything is ok during the installation and verifications proposed at the docs.
right now i runned some instances based on fedora 22 cloud image .. but yum doesnot work correctly at the begining i thought it was a problem with repository but checked nothing appeared wrong then i choosed to download my rpm using wget but i noticed that it is too slow and if the file is just more than 10MB it interrupts before termnating download.
during the download by an instance form an external server I checked traffic im my external interface enp0s3 by tcpdump i see a lot of packets coming from external server of length 1420, in parallel with a tcpdump of router interface qg-xxxxxx i see one packet of length 1420 then a lot of packet with length 140 that come slowly then another packet of 1420 and so on.

on external interface enp0s3
-------------------------------------
external_serer.10361 > 10.0.2.103.50746 (my instance) :length 1420

on vRouter qg interface
--------------------------------
external_server.50280 > network.49281 : length 1420
network.ssh > 10.0.2.15.34502 : length 140


any help what could be the problem.

2015-06-21 00:16:57 -0600 received badge  Famous Question (source)
2015-05-20 01:37:15 -0600 received badge  Famous Question (source)
2015-05-05 02:31:19 -0600 received badge  Enthusiast
2015-05-04 10:46:36 -0600 received badge  Notable Question (source)
2015-05-04 10:46:36 -0600 received badge  Popular Question (source)
2015-05-04 01:04:40 -0600 received badge  Famous Question (source)
2015-04-30 07:49:41 -0600 received badge  Notable Question (source)
2015-04-30 01:55:21 -0600 received badge  Popular Question (source)
2015-04-29 13:11:45 -0600 answered a question cirros instance cannot get ip address

Further information.

[root@localhost ~(keystone_admin)]# nova list

+--------------------------------------+----------+--------+------------+-------------+---------------------------------------+
| ID                                   | Name     | Status | Task State | Power State | Networks                              |
+--------------------------------------+----------+--------+------------+-------------+---------------------------------------+
| 1937ae6a-faee-4972-979e-74be17a26e93 | ciros_in | ACTIVE | -          | Running     | private_net_admin=10.1.0.6, 10.0.2.18 |
+--------------------------------------+----------+--------+------------+-------------+---------------------------------------+


[root@localhost ~(keystone_admin)]# neutron router-port-list router
+--------------------------------------+------+-------------------+----------------------------------------------------------------------------------+
| id                                   | name | mac_address       | fixed_ips                                                                        |
+--------------------------------------+------+-------------------+----------------------------------------------------------------------------------+
| 0240c70a-acdf-4949-add1-9be5fbb9bd0f |      | fa:16:3e:de:a7:05 | {"subnet_id": "90a77aac-9fc3-4b4c-8e9f-79e4fd926253", "ip_address": "10.0.2.17"} |
| 682707d3-f3ef-4969-b4fc-c0efe59998e2 |      | fa:16:3e:e9:88:f4 | {"subnet_id": "081c47e9-5aca-4d27-987d-b9cdba15ea85", "ip_address": "10.1.0.1"}  |
+--------------------------------------+------+-------------------+----------------------------------------------------------------------------------+

[root@localhost ~(keystone_admin)]# neutron port-show  0240c70a-acdf-4949-add1-9be5fbb9bd0 | grep status
Unable to find port with name '0240c70a-acdf-4949-add1-9be5fbb9bd0'
<br>
[root@localhost ~(keystone_admin)]# neutron port-show  0240c70a-acdf-4949-add1-9be5fbb9bd0f | grep status
| status                | DOWN                                                                             |


the following commands show


[root@localhost log]# ip netns exec qrouter-6bb9233a-b047-4659-9b92-378da2d5a5b2 netstat -antp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:9697            0.0.0.0:*               LISTEN      3221/python

[root@localhost log]# ps -ef | grep 3221
root      3221     1  0 15:26 ?        00:00:00 /usr/bin/python /bin/neutron-ns-metadata-proxy --pid_file=/var/lib/neutron/external/pids/6bb9233a-b047-4659-9b92-378da2d5a5b2.pid --metadata_proxy_socket=/var/lib/neutron/metadata_proxy --router_id=6bb9233a-b047-4659-9b92-378da2d5a5b2 --state_path=/var/lib/neutron --metadata_port=9697 --verbose --log-file=neutron-ns-metadata-proxy-6bb9233a-b047-4659-9b92-378da2d5a5b2.log --log-dir=/var/log/neutron
root     11540  2388  0 20:09 pts/2    00:00:00 grep --color=auto 3221
2015-04-29 13:02:28 -0600 commented question cirros instance cannot get ip address

to SGPJ : I assigned a static ip i am now able to ping only the router interface from the instance nothing else. to dbaxps : the state of private network port is ACTIVE but public network is DOWN unless if i remove the gateway and create a simple interface to PUBLIC, but with no port for floating ip

2015-04-29 10:46:04 -0600 asked a question cirros instance cannot get ip address

Hi i am working in an all-in-one VM openstack Juno, i launched the cirros instance (private ip 10.1.0.6) and associate to it a floating ip address (10.0.2.18)
My external network is 10.0.2.0/24
the private network is 10.1.0.0/24
a router between the two networks
from the log of the instance it seems like a dhcp problem as it tried to discover the ip address but in vain.
here is the log :

Starting network...
udhcpc (v1.20.1) started
Sending discover...
Sending discover...
Sending discover...
Usage: /sbin/cirros-dhcpc <up|down>
No lease, failing
WARN: /etc/rc3.d/S40-network failed
cirros-ds 'net' up at 194.40
checking http://169.254.169.254/2009-04-04/instance-id
failed 1/20: up 194.85. request failed
failed 2/20: up 197.59. request failed
failed 3/20: up 200.13. request failed
failed 4/20: up 202.43. request failed
failed 5/20: up 204.68. request failed
failed 6/20: up 206.99. request failed
failed 7/20: up 209.60. request failed
failed 8/20: up 213.30. request failed
failed 9/20: up 215.56. request failed
failed 10/20: up 217.84. request failed
failed 11/20: up 220.14. request failed
failed 12/20: up 222.43. request failed
failed 13/20: up 224.70. request failed
failed 14/20: up 227.09. request failed
failed 15/20: up 229.56. request failed
failed 16/20: up 231.89. request failed
failed 17/20: up 234.22. request failed
failed 18/20: up 236.58. request failed
failed 19/20: up 238.88. request failed
failed 20/20: up 241.52. request failed
failed to read iid from metadata. tried 20
no results found for mode=net. up 244.38. searched: nocloud configdrive ec2
failed to get instance-id of datasource
Starting dropbear sshd: generating rsa key... generating dsa key... OK
=== system information ===
Platform: Fedora Project OpenStack Nova
Container: none
Arch: x86_64
CPU(s): 2 @ 2124.159 MHz
Cores/Sockets/Threads: 1/2/1
Virt-type: AMD-V
RAM Size: 995MB
Disks:
NAME MAJ:MIN        SIZE LABEL         MOUNTPOINT
vda  253:0   10737418240
vda1 253:1   10725765120 cirros-rootfs /
vdb  253:16    134217728
=== sshd host keys ===
-----BEGIN SSH HOST KEY KEYS-----

-----END SSH HOST KEY KEYS-----
=== network info ===
if-info: lo,up,127.0.0.1,8,::1
if-info: eth0,up,,8,fe80::f816:3eff:febe:2828
=== datasource: None None ===
=== cirros: current=0.3.3 uptime=249.88 ===
route: fscanf
=== pinging gateway failed, debugging connection ===
############ debug start ##############
### /etc/init.d/sshd start
Starting dropbear sshd: OK
route: fscanf
### ifconfig -a
eth0      Link encap:Ethernet  HWaddr FA:16:3E:BE:28:28
          inet6 addr: fe80::f816:3eff:febe:2828/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:17 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1358 (1.3 KiB)  TX bytes:1132 ...
(more)
2015-04-28 10:19:03 -0600 commented answer error : network_type_value 'flat' not supported while creating a new external network

Thank you ..

2015-04-28 10:17:16 -0600 received badge  Scholar (source)
2015-04-28 09:58:27 -0600 asked a question error : network_type_value 'flat' not supported while creating a new external network

HI everyone,
i installed Openstack juno all-in-one in a single VM using the RDO packstack. i configured the external bridge to meet the configuration of my environment then i wanted to create the external network from the begining so i deleted the default network and also the router. when i tried to create a new external network i encounter the error :

create failed (client error): Invalid input for operation: network_type value 'flat' not supported.


the log of network server shows

2015-04-28 15:44:06.994 2705 INFO oslo.messaging._drivers.impl_rabbit [req-bf689ebc-3cd7-416d-96bf-385783921998 ] Connected to AMQP server on 10.0.2.15:5672
2015-04-28 15:44:07.100 2705 INFO neutron.api.v2.resource [req-bf689ebc-3cd7-416d-96bf-385783921998 None] create failed (client error): Invalid input for operation: network_type value 'flat' not supported.
2015-04-28 15:44:07.106 2705 INFO neutron.wsgi [req-bf689ebc-3cd7-416d-96bf-385783921998 None] 10.0.2.15 - - [28/Apr/2015 15:44:07] "POST //v2.0/networks.json HTTP/1.1" 400 363 1.144523
2015-04-28 15:44:07.147 2705 INFO neutron.wsgi [-] (2705) accepted ('10.0.2.15', 45508)
2015-04-28 15:44:07.167 2705 INFO neutron.wsgi [req-8f28c53d-8245-4436-80a8-e82863db3dfe None] 10.0.2.15 - - [28/Apr/2015 15:44:07] "GET //v2.0/extensions.json HTTP/1.1" 200 4326 0.018893
2015-04-28 15:44:07.168 2705 INFO neutron.wsgi [-] (2705) accepted ('10.0.2.15', 45509)
2015-04-28 15:44:07.200 2705 INFO neutron.wsgi [req-dc9aee1e-79b1-436b-a71a-4a4150a232e7 None] 10.0.2.15 - - [28/Apr/2015 15:44:07] "GET //v2.0/networks.json HTTP/1.1" 200 229 0.030729
2015-04-28 15:44:07.212 2705 INFO neutron.wsgi [-] (2705) accepted ('10.0.2.15', 45510)
2015-04-28 15:44:07.270 2705 INFO neutron.wsgi [req-56e6ac00-ed90-4c72-a003-2f26e95cf9b4 None] 10.0.2.15 - - [28/Apr/2015 15:44:07] "GET //v2.0/subnets.json HTTP/1.1" 200 228 0.057074

my interfaces configuration is :

br-ex: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.0.2.15  netmask 255.255.255.0  broadcast 10.0.2.255
        inet6 fe80::9829:caff:fe2d:4844  prefixlen 64  scopeid 0x20<link>
        ether 08:00:27:4b:70:6f  txqueuelen 0  (Ethernet)
        RX packets 631  bytes 3421963 (3.2 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 571  bytes 101673 (99.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::a00:27ff:fe4b:706f  prefixlen 64  scopeid 0x20<link>
        ether 08:00:27:4b:70:6f  txqueuelen 1000  (Ethernet)
        RX packets 2843  bytes 3541411 (3.3 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 582  bytes 131573 (128.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

enp0s8: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.57.113  netmask 255.255.255.0  broadcast 192.168.57.255
        inet6 fe80::a00:27ff:fec9:7290  prefixlen 64  scopeid 0x20<link>
        ether 08:00:27:c9:72 ...
(more)
2015-04-16 12:57:30 -0600 received badge  Famous Question (source)
2015-04-14 03:06:45 -0600 received badge  Notable Question (source)
2015-04-10 14:14:32 -0600 received badge  Popular Question (source)
2015-04-08 08:53:54 -0600 answered a question start failure of openstack-nova-compute.service on the compute node

here are further infos
the status of RabbitMQ server.

systemctl status rabbitmq-server.service -l
rabbitmq-server.service - RabbitMQ broker
   Loaded: loaded (/usr/lib/systemd/system/rabbitmq-server.service; enabled)
   Active: active (running) since Wed 2015-04-08 13:47:55 CEST; 2h 3min ago
 Main PID: 747 (beam)
   CGroup: /system.slice/rabbitmq-server.service
           ├─ 747 /usr/lib64/erlang/erts-5.10.4/bin/beam -W w -K true -A30 -P 1048576 -- -root /usr/lib64/erlang -progname erl -- -home /var/lib/rabbitmq -- -pa /usr/lib/rabbitmq/lib/rabbitmq_server-3.1.5/sbin/../ebin -noshell -noinput -s rabbit boot -sname rabbit@localhost -boot start_sasl -kernel inet_default_connect_options [{nodelay,true}] -sasl errlog_type error -sasl sasl_error_logger false -rabbit error_logger {file,"/var/log/rabbitmq/rabbit@localhost.log"} -rabbit sasl_error_logger {file,"/var/log/rabbitmq/rabbit@localhost-sasl.log"} -rabbit enabled_plugins_file "/etc/rabbitmq/enabled_plugins" -rabbit plugins_dir "/usr/lib/rabbitmq/lib/rabbitmq_server-3.1.5/sbin/../plugins" -rabbit plugins_expand_dir "/var/lib/rabbitmq/mnesia/rabbit@localhost-plugins-expand" -os_mon start_cpu_sup false -os_mon start_disksup false -os_mon start_memsup false -mnesia dir "/var/lib/rabbitmq/mnesia/rabbit@localhost"
           ├─1018 /usr/lib64/erlang/erts-5.10.4/bin/epmd -daemon
           ├─1864 inet_gethost 4
           └─1865 inet_gethost 4

Apr 08 13:47:34 localhost.localdomain systemd[1]: rabbitmq-server.service: Got notification message from PID 1018, but reception only permitted for PID 747
Apr 08 13:47:39 localhost.localdomain systemd[1]: rabbitmq-server.service: Got notification message from PID 1495, but reception only permitted for PID 747
Apr 08 13:47:54 localhost.localdomain rabbitmq-server[747]: RabbitMQ 3.1.5. Copyright (C) 2007-2013 GoPivotal, Inc.
Apr 08 13:47:54 localhost.localdomain rabbitmq-server[747]: ##  ##      Licensed under the MPL.  See http://www.rabbitmq.com/
Apr 08 13:47:54 localhost.localdomain rabbitmq-server[747]: ##  ##
Apr 08 13:47:54 localhost.localdomain rabbitmq-server[747]: ##########  Logs: /var/log/rabbitmq/rabbit@localhost.log
Apr 08 13:47:54 localhost.localdomain rabbitmq-server[747]: ######  ##        /var/log/rabbitmq/rabbit@localhost-sasl.log
Apr 08 13:47:54 localhost.localdomain rabbitmq-server[747]: ##########
Apr 08 13:47:55 localhost.localdomain systemd[1]: Started RabbitMQ broker.
Apr 08 13:47:55 localhost.localdomain rabbitmq-server[747]: Starting broker... completed with 0 plugins.
2015-04-08 07:58:47 -0600 asked a question start failure of openstack-nova-compute.service on the compute node

Hi everyone,
i follow the steps given by the official documentation of the Openstack Juno release, i am using fedora 20. everything is ok until the step of starting the openstack-nova-compute.service in the compute node it takes time to start then it fails. this question is already asked but i didn't found any appropriate answer for my case.

with this systemctl start openstack-nova-compute.service, i got :

Job for openstack-nova-compute.service failed. See 'systemctl status openstack-nova-compute.service' and 'journalctl -xn' for details.


here is the output of journalctl -xn.

-- Logs begin at Thu 2015-04-02 17:13:31 CEST, end at Wed 2015-04-08 11:49:46 CE
Apr 08 11:48:16 localhost.localdomain systemd[1]: Unit openstack-nova-compute.se
Apr 08 11:48:16 localhost.localdomain systemd[1]: openstack-nova-compute.service
Apr 08 11:48:16 localhost.localdomain systemd[1]: Stopping OpenStack Nova Comput
-- Subject: Unit openstack-nova-compute.service has begun shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit openstack-nova-compute.service has begun shutting down.
Apr 08 11:48:16 localhost.localdomain systemd[1]: Starting OpenStack Nova Comput
-- Subject: Unit openstack-nova-compute.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit openstack-nova-compute.service has begun starting up.
Apr 08 11:49:46 localhost.localdomain systemd[1]: openstack-nova-compute.service
Apr 08 11:49:46 localhost.localdomain systemd[1]: Failed to start OpenStack Nova
-- Subject: Unit openstack-nova-compute.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit openstack-nova-compute.service has failed.
--
-- The result is failed.
Apr 08 11:49:46 localhost.localdomain systemd[1]: Unit openstack-nova-compute.se
Apr 08 11:49:46 localhost.localdomain systemd[1]: openstack-nova-compute.service
Apr 08 11:49:46 localhost.localdomain systemd[1]: Stopping OpenStack Nova Comput
-- Subject: Unit openstack-nova-compute.service has begun shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit openstack-nova-compute.service has begun shutting down.
Apr 08 11:49:46 localhost.localdomain systemd[1]: Starting OpenStack Nova Comput
-- Subject: Unit openstack-nova-compute.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit openstack-nova-compute.service has begun starting up.


and the status of the service gives.

[root@localhost ~]# systemctl status openstack-nova-compute.service -l
openstack-nova-compute.service - OpenStack Nova Compute Server
   Loaded: loaded (/usr/lib/systemd/system/openstack-nova-compute.service; enabled)
   Active: activating (start) since Wed 2015-04-08 11:54:17 CEST; 15s ago
 Main PID: 3980 (nova-compute)
   CGroup: /system.slice/openstack-nova-compute.service
           └─3980 /usr/bin/python /usr/bin/nova-compute

Apr 08 11:54:17 localhost.localdomain systemd[1]: Starting OpenStack Nova Compute Server...


in the controller node everything (rabbitmq, keystone, nova) works well.
the log of nova on the compute node shows this.

2015-04-08 14:50:03.152 2092 ERROR oslo.messaging._drivers.impl_rabbit [req-8af63ea0-2f93-4982-ac74-6ce2f5bd8658 ] AMQP server on controller:5672 is unreachable: [Errno 113] EHOSTUNREACH. Trying again in 5 seconds.
2015-04-08 14:50:08.155 2092 INFO oslo.messaging._drivers.impl_rabbit [req-8af63ea0-2f93-4982-ac74-6ce2f5bd8658 ] Delaying reconnect for 1.0 seconds...
2015-04-08 14:50:09.157 2092 INFO oslo.messaging ...
(more)
2015-04-02 01:55:24 -0600 received badge  Notable Question (source)
2015-04-01 18:17:20 -0600 commented answer Keystone problem : Authorization Failed: An unexpected error prevented the server from fulfilling your request. (HTTP 500)

then when i stop the service it returns the same output for the both passwords
[root@controller ~]# keystone --os-username admin --os-password admin_pass --os-auth-url http://localhost:35357/v2.0 token-get Authorization Failed: Unable to establish connection to http://localhost:35357/v2.0/tokens

2015-04-01 18:09:13 -0600 commented answer Keystone problem : Authorization Failed: An unexpected error prevented the server from fulfilling your request. (HTTP 500)

[root@controller ~]# keystone --os-username admin --os-password adminp --os-auth-url http://localhost:35357/v2.0 token-get
Authorization Failed: An unexpected error prevented the server from fulfilling your request. (HTTP 500)

2015-04-01 18:08:28 -0600 commented answer Keystone problem : Authorization Failed: An unexpected error prevented the server from fulfilling your request. (HTTP 500)

[root@controller ~]# keystone --os-username admin --os-password adminpxxx --os-auth-url http://localhost:35357/v2.0 token-get
The request you have made requires authentication. (HTTP 401)

2015-04-01 18:06:46 -0600 commented answer Keystone problem : Authorization Failed: An unexpected error prevented the server from fulfilling your request. (HTTP 500)

[root@controller ~]# keystone --os-username admin --os-password admin_pass --os-auth-url http://localhost:35357/v2.0 token-get
The request you have made requires authentication. (HTTP 401)

2015-04-01 16:23:13 -0600 commented answer Keystone problem : Authorization Failed: An unexpected error prevented the server from fulfilling your request. (HTTP 500)

now by running #keystone --os-username admin --os-password adminp --os-auth-url http://localhost:35357/v2.0 token-get i get: Authorization Failed: Unable to establish connection to http://localhost:35357/v2.0/tokens

2015-04-01 16:20:33 -0600 answered a question Keystone problem : Authorization Failed: An unexpected error prevented the server from fulfilling your request. (HTTP 500)

i stopped the service and started to run again without any environment variables, it returns a connection problem

[root@controller etc]# keystone --os-username admin --os-password adminp --os-auth-url http://localhost:35357/v2.0 token-get Authorization Failed: Unable to establish connection to http://localhost:35357/v2.0/tokens

when i reply the commend with debug option, it retuns this: [root@controller etc]# keystone --os-username admin --os-password adminp --os-auth-url http://localhost:35357/v2.0 --debug token-get DEBUG:keystoneclient.session:REQ: curl -i -X POST http://localhost:35357/v2.0/tokens -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-keystoneclient" -d '{"auth": {"passwordCredentials": {"username": "admin", "password": "adminp"}}}' INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): localhost Authorization Failed: Unable to establish connection to http://localhost:35357/v2.0/tokens

and nothing is added in the log file after running these commands.

2015-04-01 15:12:03 -0600 received badge  Popular Question (source)
2015-03-31 08:58:12 -0600 asked a question Keystone problem : Authorization Failed: An unexpected error prevented the server from fulfilling your request. (HTTP 500)

Hi everyone i have a problem with keystone, I am istalling openstack following this tutorial https://github.com/ChaimaGhribi/OpenStack-Icehouse-Installation/blob/master/OpenStack-Icehouse-Installation.rst (https://github.com/ChaimaGhribi/OpenS...) when i enset the environment variables OS_SERVICE_TOKEN and OS_SERVICE_ENDPOINT and load the credential file admin_creds, then when i started the command keystone user-list or keystone token-get i got the error :

Authorization Failed: An unexpected error prevented the server from fulfilling your request. (HTTP 500)

here the configuration i have: in /etc/keystone/keystone.conf

[database]
connection = mysql://keystone:KEYSTONE_DBPASS@localhost/keystone

[DEFAULT]
admin_token=ADMIN
log_dir=/var/log/keystone

when i set the environment variables to

OS_SERVICE_TOKEN=ADMIN
OS_SERVICE_ENDPOINT=http://controller:35357/v2.0

everything work but when i unset these variables and load the file

export OS_USERNAME=admin
export OS_PASSWORD=admin_pass
export OS_TENANT_NAME=admin
export OS_AUTH_URL=http://controller:35357/v2.0

then that error appears, can anyone help to know what is my problem ? here is the output of keystone debug

2015-03-31 09:02:57.275 4874 DEBUG keystone-all [-] ******************************************************************************** log_opt_values /usr/lib/python2.7/site-packages/oslo/config/cfg.py:1932
2015-03-31 09:02:57.276 4874 DEBUG keystone-all [-] Configuration options gathered from: log_opt_values /usr/lib/python2.7/site-packages/oslo/config/cfg.py:1933
2015-03-31 09:02:57.276 4874 DEBUG keystone-all [-] command line args: ['-d'] log_opt_values /usr/lib/python2.7/site-packages/oslo/config/cfg.py:1934
2015-03-31 09:02:57.277 4874 DEBUG keystone-all [-] config files: ['/usr/share/keystone/keystone-dist.conf', '/etc/keystone/keystone.conf'] log_opt_values /usr/lib/python2.7/site-packages/oslo/config/cfg.py:1935
2015-03-31 09:02:57.277 4874 DEBUG keystone-all [-] ================================================================================ log_opt_values /usr/lib/python2.7/site-packages/oslo/config/cfg.py:1936
2015-03-31 09:02:57.277 4874 DEBUG keystone-all [-] admin_bind_host                = 0.0.0.0 log_opt_values /usr/lib/python2.7/site-packages/oslo/config/cfg.py:1945
2015-03-31 09:02:57.277 4874 DEBUG keystone-all [-] admin_endpoint                 = None log_opt_values /usr/lib/python2.7/site-packages/oslo/config/cfg.py:1945
2015-03-31 09:02:57.278 4874 DEBUG keystone-all [-] admin_port                     = 35357 log_opt_values /usr/lib/python2.7/site-packages/oslo/config/cfg.py:1945
2015-03-31 09:02:57.278 4874 DEBUG keystone-all [-] admin_token                    = ***** log_opt_values /usr/lib/python2.7/site-packages/oslo/config/cfg.py:1945
2015-03-31 09:02:57.278 4874 DEBUG keystone-all [-] compute_port                   = 8774 log_opt_values /usr/lib/python2.7/site-packages/oslo/config/cfg.py:1945
2015-03-31 09:02:57.278 4874 DEBUG keystone-all [-] config_dir                     = None log_opt_values /usr/lib/python2.7/site-packages/oslo/config/cfg.py:1945
2015-03-31 09:02:57.279 4874 DEBUG keystone-all [-] config_file                    = ['/usr/share/keystone/keystone-dist.conf', '/etc/keystone/keystone.conf'] log_opt_values /usr/lib/python2.7/site-packages/oslo/config/cfg.py:1945
2015-03-31 09:02:57.279 4874 DEBUG keystone-all [-] crypt_strength                 = 40000 log_opt_values /usr/lib/python2.7/site-packages/oslo/config/cfg.py:1945
2015-03-31 09:02:57.279 4874 DEBUG keystone-all [-] debug                          = True log_opt_values /usr/lib/python2.7/site-packages/oslo/config/cfg.py:1945
2015-03-31 09:02:57.279 4874 DEBUG keystone-all [-] default_log_levels             = ['amqp=WARN', 'amqplib=WARN', 'boto=WARN', 'qpid=WARN', 'sqlalchemy=WARN', 'suds=INFO', 'iso8601=WARN', 'requests.packages.urllib3.connectionpool ...
(more)