Revision history [back]

click to hide/show revision 1
initial version

Failed to discover available identity versions when contacting http://192.168.1.225:35357/v3. Attempting to parse version from URL. Unable to establish connection to http://192.168.1.225:35357/v3/auth/tokens

Hi,

I had just tried to installed openstack Train version on Ubuntu 18.04.4 on a virtualbox. I can login into horizon dashboard with the admin user on my host machine, as well as SSH into it with stack user. however when i try to issue any openstack CLI commands, i am faced with the above-mentioned error.

Details of admin-openrc file: Export OS_USERNAME=admin Export OS_PASSWORD=** Export OS_PROJECT_NAME=admin Export OS_USER_DOMAIN_NAME=Default Export OS_PROJECT_DOMAIN_NAME=Default Export OS_AUTH_URL=http://192.168.1.225:35357/v3 Export OS_IDENTITY_API_VERSION=3 Export OS_IMAGE_API-VERSION=2

i have sourced from the admin-openrc file. Please kindly advise what should I do to resolve the issue, Thanks.

Failed to discover available identity versions when contacting http://192.168.1.225:35357/v3. Attempting to parse version from URL. Unable to establish connection to http://192.168.1.225:35357/v3/auth/tokens

Hi,

I had just tried to installed openstack Train version on Ubuntu 18.04.4 on a virtualbox. I can login into horizon dashboard with the admin user on my host machine, as well as SSH into it with stack user. however when i try to issue any openstack CLI commands, i am faced with the above-mentioned error.

Details of admin-openrc file: Export OS_USERNAME=admin Export OS_PASSWORD=** Export OS_PROJECT_NAME=admin Export OS_USER_DOMAIN_NAME=Default Export OS_PROJECT_DOMAIN_NAME=Default Export OS_AUTH_URL=http://192.168.1.225:35357/v3 OS_AUTH_URL=http://192.168.1.225:5000/v3 Export OS_IDENTITY_API_VERSION=3 Export OS_IMAGE_API-VERSION=2

i have sourced from the admin-openrc file. and below are the steps that I had performed with output.

stack@controller:~$ keystone-manage --version 16.1.0

stack@controller:~$ sudo lsof -i -P -n | grep LISTEN systemd-r 719 systemd-resolve 13u IPv4 15337 0t0 TCP 127.0.0.53:53 (LISTEN) uwsgi 802 stack 4u IPv4 21142 0t0 TCP 127.0.0.1:37789 (LISTEN) uwsgi 802 stack 5u IPv4 21143 0t0 TCP *:8775 (LISTEN) /usr/bin/ 803 stack 5u IPv4 32358 0t0 TCP *:9696 (LISTEN) /usr/bin/ 816 stack 7u IPv4 32818 0t0 TCP 127.0.0.1:6633 (LISTEN) uwsgi 900 stack 4u IPv4 21737 0t0 TCP 127.0.0.1:60999 (LISTEN) nova-novn 913 stack 3u IPv4 31689 0t0 TCP *:6080 (LISTEN) ovsdb-ser 1041 root 19u IPv4 21645 0t0 TCP 127.0.0.1:6640 (LISTEN) etcd 1220 root 5u IPv6 27191 0t0 TCP *:2380 (LISTEN) etcd 1220 root 6u IPv4 27192 0t0 TCP 192.168.1.225:2379 (LISTEN) memcached 1230 memcache 26u IPv4 25114 0t0 TCP 127.0.0.1:11211 (LISTEN) tgtd 1253 root 6u IPv4 24941 0t0 TCP *:3260 (LISTEN) tgtd 1253 root 7u IPv6 24942 0t0 TCP *:3260 (LISTEN) sshd 1254 root 3u IPv4 24924 0t0 TCP *:22 (LISTEN) sshd 1254 root 4u IPv6 24929 0t0 TCP *:22 (LISTEN) apache2 1578 root 4u IPv6 25355 0t0 TCP *:80 (LISTEN) apache2 1582 www-data 4u IPv6 25355 0t0 TCP *:80 (LISTEN) apache2 1583 www-data 4u IPv6 25355 0t0 TCP *:80 (LISTEN) epmd 1597 rabbitmq 3u IPv4 26004 0t0 TCP *:4369 (LISTEN) epmd 1597 rabbitmq 4u IPv6 26005 0t0 TCP *:4369 (LISTEN) mysqld 1604 mysql 20u IPv4 27146 0t0 TCP *:3306 (LISTEN) uwsgi 1844 stack 4u IPv4 21142 0t0 TCP 127.0.0.1:37789 (LISTEN) uwsgi 1845 stack 4u IPv4 21142 0t0 TCP 127.0.0.1:37789 (LISTEN) uwsgi 1846 stack 5u IPv4 21143 0t0 TCP *:8775 (LISTEN) uwsgi 1847 stack 4u IPv4 21737 0t0 TCP 127.0.0.1:60999 (LISTEN) uwsgi 1848 stack 4u IPv4 21737 0t0 TCP 127.0.0.1:60999 (LISTEN) beam.smp 2033 rabbitmq 44u IPv4 28241 0t0 TCP *:25672 (LISTEN) beam.smp 2033 rabbitmq 54u IPv6 28688 0t0 TCP *:5672 (LISTEN) dnsmasq 2086 libvirt-dnsmasq 6u IPv4 28051 0t0 TCP 192.168.122.1:53 (LISTEN) /usr/bin/ 2811 stack 5u IPv4 32358 0t0 TCP *:9696 (LISTEN) /usr/bin/ 2811 stack 7u IPv4 32358 0t0 TCP *:9696 (LISTEN) /usr/bin/ 2812 stack 5u IPv4 32358 0t0 TCP *:9696 (LISTEN) /usr/bin/ 2812 stack 7u IPv4 32358 0t0 TCP *:9696 (LISTEN) neutron-s 2813 stack 5u IPv4 32358 0t0 TCP *:9696 (LISTEN) neutron-s 2816 stack 5u IPv4 32358 0t0 TCP *:9696 (LISTEN)

stack@controller:~$ systemctl keystone status Unknown operation keystone.

stack@controller:~$ sudo service keystone status Unit keystone.service could not be found.

stack@controller:~$ ps -ef | grep keystone stack 916 1 0 02:08 ? 00:00:00 keystoneuWSGI master stack 1924 916 0 02:08 ? 00:00:02 keystoneuWSGI worker 1 stack 1925 916 0 02:08 ? 00:00:02 keystoneuWSGI worker 2 stack 3810 3079 0 02:17 pts/0 00:00:00 grep --color=auto keystone

Mysql -u root -p mysql> grant all privileges on keystone.* TO 'admin'@'192.168.1.225' identified by 'password'; mysql> grant all privileges on keystone.* TO 'admin'@'localhost' identified by 'password'; mysql> grant all privileges on keystone.* TO 'admin'@'%' identified by 'password';

su -s /bin/sh -c "keystone-manage db_sync" keystone

keystone-manage bootstrap --bootstrap-password password \ --bootstrap-admin-url http://192.168.1.225:5000/v3/ \ --bootstrap-internal-url http://192.168.1.225:5000/v3/ \ --bootstrap-public-url http://192.168.1.225:5000/v3/ \ --bootstrap-region-id RegionOne

Please kindly advise what should I do to resolve the issue, Thanks.

Failed to discover available identity versions when contacting http://192.168.1.225:35357/v3. Attempting to parse version from URL. Unable to establish connection to http://192.168.1.225:35357/v3/auth/tokens

Hi,

I had just tried to installed openstack Train version on Ubuntu 18.04.4 on a virtualbox. I can login into horizon dashboard with the admin user on my host machine, as well as SSH into it with stack user. however when i try to issue any openstack CLI commands, i am faced with the above-mentioned error.

Details of admin-openrc file: Export OS_USERNAME=admin Export OS_PASSWORD=** Export OS_PROJECT_NAME=admin Export OS_USER_DOMAIN_NAME=Default Export OS_PROJECT_DOMAIN_NAME=Default Export OS_AUTH_URL=http://192.168.1.225:5000/v3 Export OS_IDENTITY_API_VERSION=3 Export OS_IMAGE_API-VERSION=2

i have sourced from the admin-openrc file. and below are the steps that I had performed with output.

stack@controller:~$ keystone-manage --version 16.1.0

stack@controller:~$ sudo lsof -i -P -n | grep LISTEN systemd-r 719 systemd-resolve 13u IPv4 15337 0t0 TCP 127.0.0.53:53 (LISTEN) uwsgi 802 stack 4u IPv4 21142 0t0 TCP 127.0.0.1:37789 (LISTEN) uwsgi 802 stack 5u IPv4 21143 0t0 TCP *:8775 (LISTEN) /usr/bin/ 803 stack 5u IPv4 32358 0t0 TCP *:9696 (LISTEN) /usr/bin/ 816 stack 7u IPv4 32818 0t0 TCP 127.0.0.1:6633 (LISTEN) uwsgi 900 stack 4u IPv4 21737 0t0 TCP 127.0.0.1:60999 (LISTEN) nova-novn 913 stack 3u IPv4 31689 0t0 TCP *:6080 (LISTEN) ovsdb-ser 1041 root 19u IPv4 21645 0t0 TCP 127.0.0.1:6640 (LISTEN) etcd 1220 root 5u IPv6 27191 0t0 TCP *:2380 (LISTEN) etcd 1220 root 6u IPv4 27192 0t0 TCP 192.168.1.225:2379 (LISTEN) memcached 1230 memcache 26u IPv4 25114 0t0 TCP 127.0.0.1:11211 (LISTEN) tgtd 1253 root 6u IPv4 24941 0t0 TCP *:3260 (LISTEN) tgtd 1253 root 7u IPv6 24942 0t0 TCP *:3260 (LISTEN) sshd 1254 root 3u IPv4 24924 0t0 TCP *:22 (LISTEN) sshd 1254 root 4u IPv6 24929 0t0 TCP *:22 (LISTEN) apache2 1578 root 4u IPv6 25355 0t0 TCP *:80 (LISTEN) apache2 1582 www-data 4u IPv6 25355 0t0 TCP *:80 (LISTEN) apache2 1583 www-data 4u IPv6 25355 0t0 TCP *:80 (LISTEN) epmd 1597 rabbitmq 3u IPv4 26004 0t0 TCP *:4369 (LISTEN) epmd 1597 rabbitmq 4u IPv6 26005 0t0 TCP *:4369 (LISTEN) mysqld 1604 mysql 20u IPv4 27146 0t0 TCP *:3306 (LISTEN) uwsgi 1844 stack 4u IPv4 21142 0t0 TCP 127.0.0.1:37789 (LISTEN) uwsgi 1845 stack 4u IPv4 21142 0t0 TCP 127.0.0.1:37789 (LISTEN) uwsgi 1846 stack 5u IPv4 21143 0t0 TCP *:8775 (LISTEN) uwsgi 1847 stack 4u IPv4 21737 0t0 TCP 127.0.0.1:60999 (LISTEN) uwsgi 1848 stack 4u IPv4 21737 0t0 TCP 127.0.0.1:60999 (LISTEN) beam.smp 2033 rabbitmq 44u IPv4 28241 0t0 TCP *:25672 (LISTEN) beam.smp 2033 rabbitmq 54u IPv6 28688 0t0 TCP *:5672 (LISTEN) dnsmasq 2086 libvirt-dnsmasq 6u IPv4 28051 0t0 TCP 192.168.122.1:53 (LISTEN) /usr/bin/ 2811 stack 5u IPv4 32358 0t0 TCP *:9696 (LISTEN) /usr/bin/ 2811 stack 7u IPv4 32358 0t0 TCP *:9696 (LISTEN) /usr/bin/ 2812 stack 5u IPv4 32358 0t0 TCP *:9696 (LISTEN) /usr/bin/ 2812 stack 7u IPv4 32358 0t0 TCP *:9696 (LISTEN) neutron-s 2813 stack 5u IPv4 32358 0t0 TCP *:9696 (LISTEN) neutron-s 2816 stack 5u IPv4 32358 0t0 TCP *:9696 (LISTEN)

stack@controller:~$ systemctl keystone status Unknown operation keystone.

stack@controller:~$ sudo service keystone status Unit keystone.service could not be found.

stack@controller:~$ ps -ef | grep keystone stack 916 1 0 02:08 ? 00:00:00 keystoneuWSGI master stack 1924 916 0 02:08 ? 00:00:02 keystoneuWSGI worker 1 stack 1925 916 0 02:08 ? 00:00:02 keystoneuWSGI worker 2 stack 3810 3079 0 02:17 pts/0 00:00:00 grep --color=auto keystone

Mysql -u root -p mysql> grant all privileges on keystone.* TO 'admin'@'192.168.1.225' identified by 'password'; mysql> grant all privileges on keystone.* TO 'admin'@'localhost' identified by 'password'; mysql> grant all privileges on keystone.* TO 'admin'@'%' identified by 'password';

su -s /bin/sh -c "keystone-manage db_sync" keystone

keystone-manage bootstrap --bootstrap-password password \ --bootstrap-admin-url http://192.168.1.225:5000/v3/ \ --bootstrap-internal-url http://192.168.1.225:5000/v3/ \ --bootstrap-public-url http://192.168.1.225:5000/v3/ \ --bootstrap-region-id RegionOne

Please kindly advise what should I do to resolve the issue, Thanks.

Failed to discover available identity versions when contacting http://192.168.1.225:35357/v3. http://192.168.1.225:5000/v3. Attempting to parse version from URL. Unable to establish connection to http://192.168.1.225:35357/v3/auth/tokenshttp://192.168.1.225:5000/v3/auth/tokens

Hi,

I had just tried to installed openstack Train version on Ubuntu 18.04.4 on a virtualbox. I can login into horizon dashboard with the admin user on my host machine, as well as SSH into it with stack user. however when i try to issue any openstack CLI commands, i am faced with the above-mentioned error.

Details of admin-openrc file: Export OS_USERNAME=admin Export OS_PASSWORD=** Export OS_PROJECT_NAME=admin Export OS_USER_DOMAIN_NAME=Default Export OS_PROJECT_DOMAIN_NAME=Default Export OS_AUTH_URL=http://192.168.1.225:5000/v3 Export OS_IDENTITY_API_VERSION=3 Export OS_IMAGE_API-VERSION=2

i have sourced from the admin-openrc file. and below are the steps that I had performed with output.

stack@controller:~$ keystone-manage --version
16.1.0

16.1.0 stack@controller:~$ sudo lsof -i -P -n | grep LISTEN systemd-r 719 systemd-resolve 13u IPv4 15337 0t0 TCP 127.0.0.53:53 (LISTEN) uwsgi 802 stack 4u IPv4 21142 0t0 TCP 127.0.0.1:37789 (LISTEN) uwsgi 802 stack 5u IPv4 21143 0t0 TCP *:8775 (LISTEN) /usr/bin/ 803 stack 5u IPv4 32358 0t0 TCP *:9696 (LISTEN) /usr/bin/ 816 stack 7u IPv4 32818 0t0 TCP 127.0.0.1:6633 (LISTEN) uwsgi 900 stack 4u IPv4 21737 0t0 TCP 127.0.0.1:60999 (LISTEN) nova-novn 913 stack 3u IPv4 31689 0t0 TCP *:6080 (LISTEN) ovsdb-ser 1041 root 19u IPv4 21645 0t0 TCP 127.0.0.1:6640 (LISTEN) etcd 1220 root 5u IPv6 27191 0t0 TCP *:2380 (LISTEN) etcd 1220 root 6u IPv4 27192 0t0 TCP 192.168.1.225:2379 (LISTEN) memcached 1230 memcache 26u IPv4 25114 0t0 TCP 127.0.0.1:11211 (LISTEN) tgtd 1253 root 6u IPv4 24941 0t0 TCP *:3260 (LISTEN) tgtd 1253 root 7u IPv6 24942 0t0 TCP *:3260 (LISTEN) sshd 1254 root 3u IPv4 24924 0t0 TCP *:22 (LISTEN) sshd 1254 root 4u IPv6 24929 0t0 TCP *:22 (LISTEN) apache2 1578 root 4u IPv6 25355 0t0 TCP *:80 (LISTEN) apache2 1582 www-data 4u IPv6 25355 0t0 TCP *:80 (LISTEN) apache2 1583 www-data 4u IPv6 25355 0t0 TCP *:80 (LISTEN) epmd 1597 rabbitmq 3u IPv4 26004 0t0 TCP *:4369 (LISTEN) epmd 1597 rabbitmq 4u IPv6 26005 0t0 TCP *:4369 (LISTEN) mysqld 1604 mysql 20u IPv4 27146 0t0 TCP *:3306 (LISTEN) uwsgi 1844 stack 4u IPv4 21142 0t0 TCP 127.0.0.1:37789 (LISTEN) uwsgi 1845 stack 4u IPv4 21142 0t0 TCP 127.0.0.1:37789 (LISTEN) uwsgi 1846 stack 5u IPv4 21143 0t0 TCP *:8775 (LISTEN) uwsgi 1847 stack 4u IPv4 21737 0t0 TCP 127.0.0.1:60999 (LISTEN) uwsgi 1848 stack 4u IPv4 21737 0t0 TCP 127.0.0.1:60999 (LISTEN) beam.smp 2033 rabbitmq 44u IPv4 28241 0t0 TCP *:25672 (LISTEN) beam.smp 2033 rabbitmq 54u IPv6 28688 0t0 TCP *:5672 (LISTEN) dnsmasq 2086 libvirt-dnsmasq 6u IPv4 28051 0t0 TCP 192.168.122.1:53 (LISTEN) /usr/bin/ 2811 stack 5u IPv4 32358 0t0 TCP *:9696 (LISTEN) /usr/bin/ 2811 stack 7u IPv4 32358 0t0 TCP *:9696 (LISTEN) /usr/bin/ 2812 stack 5u IPv4 32358 0t0 TCP *:9696 (LISTEN) /usr/bin/ 2812 stack 7u IPv4 32358 0t0 TCP *:9696 (LISTEN) neutron-s 2813 stack 5u IPv4 32358 0t0 TCP *:9696 (LISTEN) neutron-s 2816 stack 5u IPv4 32358 0t0 TCP *:9696 (LISTEN)

(LISTEN) stack@controller:~$ systemctl keystone status Unknown operation keystone.

keystone. stack@controller:~$ sudo service keystone status Unit keystone.service could not be found.

found. stack@controller:~$ ps -ef | grep keystone stack 916 1 0 02:08 ? 00:00:00 keystoneuWSGI master stack 1924 916 0 02:08 ? 00:00:02 keystoneuWSGI worker 1 stack 1925 916 0 02:08 ? 00:00:02 keystoneuWSGI worker 2 stack 3810 3079 0 02:17 pts/0 00:00:00 grep --color=auto keystone

keystone Mysql -u root -p mysql> grant all privileges on keystone.* TO 'admin'@'192.168.1.225' identified by 'password'; mysql> grant all privileges on keystone.* TO 'admin'@'localhost' identified by 'password'; mysql> grant all privileges on keystone.* TO 'admin'@'%' identified by 'password';

'password'; su -s /bin/sh -c "keystone-manage db_sync" keystone

keystone keystone-manage bootstrap --bootstrap-password password \ --bootstrap-admin-url http://192.168.1.225:5000/v3/ \ --bootstrap-internal-url http://192.168.1.225:5000/v3/ \ --bootstrap-public-url http://192.168.1.225:5000/v3/ \ --bootstrap-region-id RegionOne

RegionOne

Please kindly advise what should I do to resolve the issue, Thanks.