Thursday, 2017-08-31

*** cliles has quit IRC02:54
*** resmo has joined #ara07:25
*** resmo has quit IRC07:27
*** openstackgerrit has quit IRC08:17
*** tbielawa has joined #ara12:34
*** sgr has joined #ara13:51
sgrhello! is anybody familiar with ARA and multiple ansible clients? (a centralized mysql database)13:54
dmsimardsgr: o/13:55
dmsimardIronically I've been wanting to stand up something like that myself but unfortunately haven't got around to it yet. I can surely help though, and I know of a particular user that does this at scale13:55
*** tbielawa is now known as tbielawa|mtg13:58
sgrIt looks like the database is not multi-user aware. the "alembic_version" entry will be overwritten. the other clients receive an exeption: Can't locate revision identified by 'xyz123'13:59
dmsimardAh, yes, there is a configuration parameter to disable automatic SQL migrations, hang on14:03
dmsimardTurns out it's missing from the documentation (oops) but it's definitely here: https://github.com/openstack/ara/blob/eb171f195fcdd80071d39f4538ea91438fbf801e/ara/config.py#L9514:04
dmsimardIt defaults to true, so you'll want to set it to false14:04
dmsimardeither through the env var ARA_AUTOCREATE_DATABASE or autocreate_database under the [ara] block of your ansible.cfg file14:04
dmsimardThat will disable automatic database creation and migration so you'll need to do them manually as required -- but that shouldn't be much of an issue because there's no SQL migrations after 0.14.0.14:06
dmsimardThe next major release (1.0) is shipping with a significant schema refactor and there is no migration path from a <1.0 database schema to >=1.014:07
dmsimardsgr: ^14:11
sgryay! thanks for your input. its working now! gracias!14:18
dmsimardsgr: yay, let us know if there's anything else -- and do make note of that 1.0 caveat14:19
dmsimardIt mostly means you'll have to start your database from scratch, but otherwise it will work14:20
*** tbielawa|mtg is now known as tbielawa|d3m015:00
*** sebiwi has joined #ara15:24
*** tbielawa|d3m0 is now known as tbielawa15:51
*** tbielawa is now known as tbielawa|lunch15:51
*** sebiwi has quit IRC15:55
*** sshnaidm is now known as sshnaidm|off17:09
*** tbielawa|lunch is now known as tbielawa17:11
*** themurph has quit IRC17:31
*** themurph has joined #ara17:32
*** themurph has quit IRC21:15
*** tbielawa has quit IRC22:32

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