New Question
0

ERROR logging error 1596 3972 AsyncLoopThread [Errno socket error]

asked 2016-09-22 03:46:53 +0200

ADarkDividedGem gravatar image

updated 2016-10-06 04:00:03 +0200

After downloading and installing the latest version of v-magine and at the end of the installation I got a simple error screen with no further information other than an error occurred. Looking at the v-magine.log file shows some error messages e.g.

2016-10-05 17:34:46,612 WARNING logging warning 1612 2140 AsyncLoopThread Exception occurred, retrying: [Errno socket error] [Errno 1] ssl.c:510: error:140773E8:SSL routines:SSL23GETSERVERHELLO:reason(1000)

2016-10-05 17:34:46,684 ERROR logging error 1596 2140 AsyncLoopThread [Errno socket error] [Errno 1] ssl.c:510: error:140773E8:SSL routines:SSL23GETSERVERHELLO:reason(1000)

Would someone be able to shed more light on what caused the error?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
1

answered 2016-09-22 13:46:41 +0200

danardelean gravatar image

Hi, can you please paste in something like paste.openstack.org some more info from the logfile? It would be nice to have 50 lines before and after the ERROR appears. Thank you.

edit flag offensive delete link more

Comments

I did, it's in the link to v-magine.log

ADarkDividedGem gravatar imageADarkDividedGem ( 2016-09-22 13:50:57 +0200 )edit

Ah ok, sorry. Does this happen every time you rerun the install? What Windows version do you have? Thanks.

danardelean gravatar imagedanardelean ( 2016-09-22 14:28:41 +0200 )edit

This is the error that interests us http://paste.openstack.org/show/582563/ Does the user "Graeme" you runned the installer with have administrator rights? Also, can you please check and tell me if the user 'FreeRDP' is in 'Remote desktop users' group? Thank you.

danardelean gravatar imagedanardelean ( 2016-09-22 14:41:45 +0200 )edit

This happens on Microsoft Hyper-V Server 2012 R2 and the "Graeme" username is a member of both the "Administrators" and "Hyper-V Administrators" groups and the "FreeRDP-WebConnect" username is a member of "Remote Desktop Users". I will run the installer again to see if it happens again.

ADarkDividedGem gravatar imageADarkDividedGem ( 2016-09-22 14:57:15 +0200 )edit

Retrying the installation doesn't help

ADarkDividedGem gravatar imageADarkDividedGem ( 2016-09-22 16:02:10 +0200 )edit

Hi, if you go on the VM console and do a 'neutron agent-list --debug' what does it say? Source the keystone_adminrc before found in root home. Thanks.

danardelean gravatar imagedanardelean ( 2016-09-22 16:52:36 +0200 )edit

The output from `neutron agent-list --debug` can be seen here http://paste.openstack.org/show/a5odkVnjEWEPBqDG9GJb/ I am not what you mean by "Source the keystone_adminrc" but it exits /root/keystonerc_admin and contains the following http://paste.openstack.org/show/qv6dzAAMuuuufDmwIpaS/ .

ADarkDividedGem gravatar imageADarkDividedGem ( 2016-09-22 22:05:12 +0200 )edit

So these are the steps: 1. run 'source /root/keystonerc_admin' 2. run 'neutron agent-list' Also, can you please run this script and tell me how it behaves? http://paste.openstack.org/show/582753/ Thank you.

danardelean gravatar imagedanardelean ( 2016-09-23 16:54:33 +0200 )edit

Thanks the output from `neutron agent-list --debug` can be seen here http://paste.openstack.org/show/kLSXUG3OnC8EmthqUbw5/ and your script simply returns "Done!" http://paste.openstack.org/show/582761/ after it correctly downloads `cirros.vhdx.gz`.

ADarkDividedGem gravatar imageADarkDividedGem ( 2016-09-23 17:16:48 +0200 )edit

Do you use a proxy?

danardelean gravatar imagedanardelean ( 2016-09-28 14:12:23 +0200 )edit

No but my ISP does have DNS redirection so any domain with a dot in it that doesn't exist will get resolved to an IP address which loads a search page https://en.wikipedia.org/wiki/DNS_hijacking#Manipulation_by_ISPs

ADarkDividedGem gravatar imageADarkDividedGem ( 2016-09-28 17:50:25 +0200 )edit

I see, however I don't think this is the issue because the installer successfully installs packets. For some reason the installer fails to download the Cirros image needed for the VM inside Openstack. It fails in a TCP handshake. Will investigate more.

danardelean gravatar imagedanardelean ( 2016-09-29 13:09:22 +0200 )edit

The installation does result in a usable dashboard but I forgot I changed the network adapter after I finished the installation so I have made sure to run the tests on the same network the installer used and the python script ran fine and the agent-list is here http://paste.openstack.org/show/583573

ADarkDividedGem gravatar imageADarkDividedGem ( 2016-09-30 05:52:47 +0200 )edit

Can you please try to install v-magine on another machine inside your environment, maybe a VM WS 2012 R2? This way we can see if the network is the issue. Thanks.

danardelean gravatar imagedanardelean ( 2016-10-03 13:55:00 +0200 )edit

Turns out it was a DNS issue, performing a `nslookup` on raw.githubusercontent.com returned the wrong IP resulting in a bad SSL handshake. After adding Google's DNS Server to Hyper-V it resolved correctly http://paste.openstack.org/show/584593/ and v-magine installed correctly without further errors

ADarkDividedGem gravatar imageADarkDividedGem ( 2016-10-06 04:06:37 +0200 )edit

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-09-22 03:46:53 +0200

Seen: 463 times

Last updated: Oct 06 '16