Wednesday, 2017-05-03

openstackgerritDavid Moreau Simard proposed openstack/ara master: Move the tooltip for the playbook status so it's centered properly  https://review.openstack.org/46193200:02
*** harlowja has quit IRC00:04
*** iceyao has joined #ara00:11
openstackgerritMerged openstack/ara master: Add playbook parameters and metadata, handle task tags  https://review.openstack.org/46190700:14
*** iceyao has quit IRC00:16
openstackgerritMerged openstack/ara master: Move the tooltip for the playbook status so it's centered properly  https://review.openstack.org/46193200:30
*** iceyao has joined #ara00:39
openstackgerritDavid Moreau Simard proposed openstack/ara master: Only import ARA models in the SQL migrations  https://review.openstack.org/46194100:44
*** cuongnv has joined #ara00:51
openstackgerritDavid Moreau Simard proposed openstack/ara master: Don't try to uncompress if there's nothing to uncompress  https://review.openstack.org/46194300:56
openstackgerritDavid Moreau Simard proposed openstack/ara master: Fix bad column type for ara_record's value  https://review.openstack.org/46194400:56
*** iceyao_ has joined #ara00:58
*** iceyao has quit IRC00:58
openstackgerritMerged openstack/ara master: Only import ARA models in the SQL migrations  https://review.openstack.org/46194101:15
openstackgerritDavid Moreau Simard proposed openstack/ara master: Narrow a little bit the main container  https://review.openstack.org/46194701:21
openstackgerritDavid Moreau Simard proposed openstack/ara master: Don't try to uncompress if there's nothing to uncompress  https://review.openstack.org/46194301:22
openstackgerritMerged openstack/ara master: Don't try to uncompress if there's nothing to uncompress  https://review.openstack.org/46194302:23
openstackgerritDavid Moreau Simard proposed openstack/ara master: Fold tips into tooltips and resize panels accordingly  https://review.openstack.org/46195802:31
openstackgerritDavid Moreau Simard proposed openstack/ara master: Use drawCallback hook instead of fnInitComplete for datatables  https://review.openstack.org/46196002:33
openstackgerritDavid Moreau Simard proposed openstack/ara master: Fix bad column type for ara_record's value  https://review.openstack.org/46194402:34
openstackgerritDavid Moreau Simard proposed openstack/ara master: Narrow a little bit the main container  https://review.openstack.org/46194702:34
*** iceyao_ has quit IRC02:37
openstackgerritDavid Moreau Simard proposed openstack/ara master: Re-introduce the playbook path on mouse over playbook file  https://review.openstack.org/46196402:40
*** iceyao has joined #ara02:41
openstackgerritMerged openstack/ara master: Fold tips into tooltips and resize panels accordingly  https://review.openstack.org/46195803:05
openstackgerritMerged openstack/ara master: Use drawCallback hook instead of fnInitComplete for datatables  https://review.openstack.org/46196003:05
openstackgerritMerged openstack/ara master: Re-introduce the playbook path on mouse over playbook file  https://review.openstack.org/46196403:09
openstackgerritDavid Moreau Simard proposed openstack/ara master: Use get_name() methods for retrieving host and task names  https://review.openstack.org/46197403:10
*** iceyao has quit IRC03:48
*** iceyao has joined #ara04:10
*** iceyao has quit IRC04:15
*** iceyao has joined #ara04:29
*** iceyao has quit IRC04:33
*** iceyao has joined #ara04:35
*** iceyao has quit IRC05:23
*** cuongnv has quit IRC05:30
*** iceyao has joined #ara05:38
*** cuongnv has joined #ara05:38
*** iceyao has quit IRC05:42
*** iceyao has joined #ara07:42
*** iceyao has quit IRC07:46
*** iceyao has joined #ara08:26
*** iceyao has quit IRC08:30
*** iceyao has joined #ara08:48
*** iceyao has quit IRC08:53
*** iceyao_ has joined #ara09:13
*** iceyao_ has quit IRC09:18
*** cuongnv_ has joined #ara09:23
*** cuongnv has quit IRC09:24
*** cuongnv_ is now known as cuongnv09:34
*** iceyao has joined #ara09:58
*** iceyao has quit IRC10:03
*** cuongnv has quit IRC10:23
*** iceyao has joined #ara10:40
*** iceyao has quit IRC10:45
*** iceyao has joined #ara11:04
*** iceyao has quit IRC11:14
*** iceyao has joined #ara11:42
*** iceyao has quit IRC11:47
*** iceyao has joined #ara12:00
*** iceyao has quit IRC12:05
*** iceyao has joined #ara12:22
*** iceyao has quit IRC12:26
*** iceyao has joined #ara12:29
*** iceyao has quit IRC12:36
*** iceyao has joined #ara12:41
openstackgerritMerged openstack/ara master: Fix bad column type for ara_record's value  https://review.openstack.org/46194412:57
openstackgerritMerged openstack/ara master: Narrow a little bit the main container  https://review.openstack.org/46194712:59
openstackgerritDavid Moreau Simard proposed openstack/ara master: Use get_name() methods for retrieving host and task names  https://review.openstack.org/46197413:11
openstackgerritDavid Moreau Simard proposed openstack/ara master: Use get_name() methods for retrieving host and task names  https://review.openstack.org/46197413:11
*** tready has joined #ara13:14
treadyany ideas on why my remote client isn't able to send its ansible data to my ara server?  postgres logs say, "could not receive data from client: Connection reset by peer"13:16
treadyclient is able to connect to server using psql13:16
dmsimardtready: not sure, I haven't personally used postgre before. You followed the instructions from the docs ? They were written by a postgre ara user.13:17
treadyyes, I did.  let me read over them again, I guess13:18
dmsimardtready: _dev ^ maybe you know ?13:18
_devWhat does your $ARA_DATABASE environment variable read?13:20
_devI just woke up and am getting ready to head into my office, so I may be a little slow to reply13:20
treadyno worries13:20
treadyI'm using the ansible.cfg method13:21
treadythe only line in the [ara] section is:13:21
_devIt sounds like that the connection string is borked13:21
treadydatabase = postgresql+psycopg2://user:pass@server:5432/ara13:22
_devHm. That's looks right.13:22
_devCan you see the client attempting to connect server side?13:22
_devCheck in the Postgres server logs, and if that fails, use tcpdump to just make sure13:23
treadypostgres logs say, "could not receive data from client: Connection reset by peer"13:23
treadybut it's that connection attempting, yes13:23
treadythe local ara on the postgres server uses postgres w/o issue13:24
_devHm. I wonder if it's trying to use SSL by default?13:25
_devIs your Postgres server configured with ssl and do you have it set for that user in pg_hba.conf?13:25
treadyoooooohhhhh.... yes, psql does look like it connects w/ssl13:25
tready(from the remote client)13:26
_devSmells like psycopg2 is either trying to connect with ssl and the server isnt set up, or that psycopg2 is trying non-ssl and the server is expecting ssl13:27
_devTry changing your connection string to try an ssl connection?13:27
treadyhave you got a link for documentation on that?13:27
treadypsql login output:13:28
treadypsql (9.5.6, server 9.6.2)13:28
treadyWARNING: psql major version 9.5, server major version 9.6.13:28
tready         Some psql features might not work.13:28
treadySSL connection (protocol: TLSv1.2, cipher: ECDHE-RSA-AES256-GCM-SHA384, bits: 256, compression: off)13:28
treadyType "help" for help.13:28
treadyI assume I'll find what I'm looking for in the psycopg2 docs13:29
dmsimardtready: let me know if there's something we can improve in the docs if you figure it out13:38
treadyI'd think the docs would need to mention something like, "be sure to check to see if your server's expecting an SSL connection, otherwise you may see "connection reset by peer" in your postgres logs"13:39
treadybut yeah, I'll confirm that I've got it working once I get the SSL sorted out.  but it does seem the likely culprit13:39
dmsimardtready: so we have this documentation that does not exist (yet) around "known issues" https://storyboard.openstack.org/#!/story/200098413:41
*** karimb has joined #ara13:48
_devI didn't even think about the ssl thing since postgres only listens on a unix socket on our box13:49
_devDuh. My bad.13:49
*** infinitejest has joined #ara13:49
openstackgerritMerged openstack/ara master: Use get_name() methods for retrieving host and task names  https://review.openstack.org/46197414:09
*** openstackgerrit has quit IRC14:18
*** iceyao has quit IRC14:35
*** iceyao has joined #ara14:47
*** tready1 has joined #ara15:17
*** tready has quit IRC15:18
tready1_dev: I'm reading that I need to pass the sslmode param to the connection string, but am unsure of the formatting for ara?15:36
tready1although, documentation says that even w/SSL enabled, server should still negotiate normal connections15:43
dmsimardtready1: it's really not specific to ara, try to check with sqlalchemy documentation15:49
dmsimardit's really a sqlalchemy connection string15:49
tready1ok, I'll look at that15:49
tready1well... that may not be it15:51
tready1I was just able to connect from the machine w/the sslmode=disable flag15:51
tready1(via psql)15:51
tready1psql -h server -p 5432 -U user -W -d "dbname=ara sslmode=disable"15:52
*** dougbtv has quit IRC15:54
-dmsimard- ARA 0.13.0rc1 is tagged, release notes: https://github.com/openstack/ara/releases/tag/0.13.0rc1 ## To test: pip install git+https://git.openstack.org/openstack/ara@0.13.0rc115:55
_devyou could try16:09
_devpostgres+psycopg2://user:pass@host:5432/ara?sslmode=enforce16:09
_dever, s/enforce$/require/16:09
*** karimb has quit IRC16:30
*** tready1 has quit IRC16:34
*** infinitejest has quit IRC16:36
*** tready1 has joined #ara16:40
tready1same deal w/that string.  I'm wondering if it's the auth method?  do you know if psql MD5's its pwds by default?  b/c I've only got MD5 enabled for host in pg_hba.conf16:47
*** harlowja has joined #ara16:48
*** openstackgerrit has joined #ara17:04
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/ara master: [TEST] This is a test - do not merge  https://review.openstack.org/46222517:04
*** iceyao has quit IRC17:33
tready1whelp, that wasn't it, either.  I just passed it an md5 hash as a password, & didn't even get past authentication ("FATAL:  password authentication failed for user "blah")17:56
tready1so I guess that means that the connection is authenticating correctly w/o the hash - just getting reset17:57
dmsimardtready1: that's weird :(17:57
tready1which again could point back to SSL17:57
tready1gonna revisit that database string17:58
tready1though I can definitely use psql to connect from remote using either SSL or no SSL18:09
dmsimardtready1: what version of sqlalchemy is installed ?18:12
tready1looks like 1.0.1218:14
dmsimardtready1: I'm picking up sqlalchemy 1.1.9 from pypi, where are you picking it up from ?18:15
dmsimard1.0.12 is a bit more than a year old, perhaps there's been fixes since then18:18
tready1I'll update18:24
tready1it's pypi, iirc18:24
tready11.1.9 after upgrade.  same output18:27
dmsimardsame output no matter the different variations of the connection string ?18:27
tready1I can try disabling SSL again, if that's what you mean, but psql can connect from that host regardless of SSL on the connection18:28
dmsimardtready1: I get that, just trying to find what could be the problem with my abysmal knowledge of postgre18:31
tready1yep, no worries.  ok, same output with ?sslmode=require on the end18:33
*** tready1 has quit IRC18:39
*** tready1 has joined #ara18:40
tready1& again same output with ?sslmode=disable on the end18:46
-openstackstatus- NOTICE: Gerrit on review.openstack.org is being restarted to accomodate a memory leak in Gerrit. Service should return shortly.18:51
*** tready1 has quit IRC19:12
*** iceyao has joined #ara19:40
*** iceyao has quit IRC19:44
*** iceyao has joined #ara20:08
*** iceyao has quit IRC20:12
openstackgerritDavid Moreau Simard proposed openstack/ara master: Do not insert an include task for Ansible >=2.2.0  https://review.openstack.org/46229021:02
openstackgerritMerged openstack/ara master: Do not insert an include task for Ansible >=2.2.0  https://review.openstack.org/46229021:46
*** harlowja has quit IRC22:28
*** harlowja has joined #ara23:31
*** iceyao has joined #ara23:58

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!