These are chat archives for getredash/redash

7th
Dec 2016
Allen Short
@washort
Dec 07 2016 09:39
@arikfr Trying to decide how much more test coverage to push for, just starting up the app and clicking around i've found a few more bugs in the sqlalchemy branch
I might just say that trivially discovered bugs are trivial, and fix them without fooling with the tests much more.
Arik Fraimovich
@arikfr
Dec 07 2016 09:41
@washort for things that seemed trivial I was just adding a test that triggers the route, but not really testing the logic. for other things I invested more.
but at this point we can skip this as well :)
Allen Short
@washort
Dec 07 2016 09:47
haven't touched celery tasks yet, that'll need some attention
anyway, past my bedtime, i'll give it more attention tomorrow. :)
Arik Fraimovich
@arikfr
Dec 07 2016 09:48
I updated the alerts one yesterday. The queries ones seem to work, but I will verify
good night :D
cheesemarathon
@cheesemarathon
Dec 07 2016 15:42
fab -H192.168.1.135 -uben deploy_latest_release
[192.168.1.135] Executing task 'deploy_latest_release'
Deploying version: redash.0.12.0.b2449
Downloading latest version...
[192.168.1.135] Login password for 'ben':
oops
can anyone help
i run the update but it just hangs there
any ideas what im doing wrong?
yes i have entered my password but nothing happens after that point
eddyueue
@eddyueue
Dec 07 2016 15:45
no internet access?
Arik Fraimovich
@arikfr
Dec 07 2016 15:46
@cheesemarathon try passing the password as a parameter to fab (-p)
cheesemarathon
@cheesemarathon
Dec 07 2016 16:02
@arikfr hangs at downloading latest version..... but doesnt ask for a password
Arik Fraimovich
@arikfr
Dec 07 2016 16:05
firewall issues?
cheesemarathon
@cheesemarathon
Dec 07 2016 16:07
@arikfr ah must be as its running in a vm, however its got access to a network bridge and i havnt intentionally blocked anything. deffo has internet access because im SSH'd into it. what do i need to open up for it to work?
Arik Fraimovich
@arikfr
Dec 07 2016 16:08
try running curl github.com from the vm and see if it works
cheesemarathon
@cheesemarathon
Dec 07 2016 16:13
@arikfr curl github.com returned nothing but curl https://gist.githubusercontent.com/arikfr/440d1403b4aeb76ebaf8/raw/ea1e3955f660b4448db7af8f69dc27ac0993abfd/fabfile.py gave me the contents of the fabfile
sunand chakradhar
@sunandchakradhar
Dec 07 2016 16:15
what would be default concurrency for a queue ?
Arik Fraimovich
@arikfr
Dec 07 2016 16:15
if you used the bootstrap script/our images - 2 for scheduled queries and 2 for adhoc
sunand chakradhar
@sunandchakradhar
Dec 07 2016 16:15
is there a way i can map a data source to multiple queues ?
Arik Fraimovich
@arikfr
Dec 07 2016 16:15
@cheesemarathon strange
cheesemarathon
@cheesemarathon
Dec 07 2016 16:15
its an issue with github.com
@arikfr i ran curl www.example.com and got the html of the site
@arikfr but curl www.github.com and nothing
@arikfr also tried curl http://github.com and nothing
cheesemarathon
@cheesemarathon
Dec 07 2016 16:24
@arikfr ok https does work here says you must use https
sunand chakradhar
@sunandchakradhar
Dec 07 2016 16:24
Running Queries  Redash.png
can anyone point me on how to debug this ?
cheesemarathon
@cheesemarathon
Dec 07 2016 16:29
@arikfr maybe im getting stuck at a redirect ?
@arikfr hmm maybe not, i just ran curl on all the URL's in the fab file and they ran ok. soo confused now
Arik Fraimovich
@arikfr
Dec 07 2016 16:40
@cheesemarathon try checking what URL it hangs on and then try it manually
(the last URL is a dynamic one that is a result of the other calls)
@sunandchakradhar ?
sunand chakradhar
@sunandchakradhar
Dec 07 2016 16:42
hi @arikfr
for some reason queries are stuck in "in progress" state
if i restart celery, at times next queries are moving to "in progress" at times they are stuck in waiting state itself
can you point me on what can be the issue ?
cheesemarathon
@cheesemarathon
Dec 07 2016 17:00
@arikfr struggling to work out if and where it hangs. i ran curl https://api.github.com/repos/getredash/redash/releases/latest and curl https://api.github.com/repos/getredash/redash/releases and both ran ok. not sure about the dynamic url in the fabfile. i did just run the fabfile and it didnt produce any errors but nor did it produce any output at all
Allen Short
@washort
Dec 07 2016 19:18
@arikfr turns out those test_cli failures were easy to fix
Arik Fraimovich
@arikfr
Dec 07 2016 19:20
@washort I see the fix now. Sort of makes sense although it's weird :/