Monday, 2015-04-27

*** iraw_ has joined #openstack-community02:23
*** iraw_ has quit IRC02:26
*** sarob has joined #openstack-community04:01
*** sarob has quit IRC04:28
*** sarob has joined #openstack-community04:29
*** sarob has quit IRC04:34
*** coolsvap|afk is now known as coolsvap04:47
*** yfauser has joined #openstack-community05:19
*** yfauser has left #openstack-community05:21
*** subscope_ has joined #openstack-community05:30
*** subscope_ has quit IRC05:31
*** marcoceppi has quit IRC05:55
*** marcoceppi has joined #openstack-community05:56
*** neeti has joined #openstack-community06:32
*** marcoceppi has quit IRC06:41
*** marcoceppi has joined #openstack-community06:47
*** marcoceppi has quit IRC06:51
*** marcoceppi has joined #openstack-community06:52
*** marcoceppi has joined #openstack-community06:52
*** marcoceppi has quit IRC06:52
*** marcoceppi has joined #openstack-community06:52
*** marcoceppi has joined #openstack-community06:52
*** marcoceppi has quit IRC06:58
*** marcoceppi has joined #openstack-community07:04
*** jcoufal has joined #openstack-community07:06
*** jcoufal is now known as 7JTAAIHSL07:06
*** jcoufal has joined #openstack-community07:06
*** jcoufal has quit IRC07:06
*** jcoufal has joined #openstack-community07:06
*** jcoufal has quit IRC07:06
*** yfauser has joined #openstack-community07:15
*** openstackstatus has joined #openstack-community08:06
*** ChanServ sets mode: +v openstackstatus08:06
-openstackstatus- NOTICE: Restarting gerrit because it stopped sending events (ETA 15 mins)08:09
*** sarob has joined #openstack-community08:19
*** sarob has quit IRC08:24
*** jtomasek has joined #openstack-community08:27
*** yfauser has left #openstack-community09:23
*** marcoceppi has quit IRC09:39
*** marcoceppi has joined #openstack-community09:46
*** marcoceppi has joined #openstack-community09:46
*** GonZoPT has quit IRC10:00
*** sarob has joined #openstack-community10:08
*** sarob has quit IRC10:13
*** marcoceppi has quit IRC11:04
*** marcoceppi has joined #openstack-community11:11
*** marcoceppi has quit IRC11:14
*** marcoceppi has joined #openstack-community11:14
*** marcoceppi has joined #openstack-community11:14
*** cdent has joined #openstack-community11:23
*** marcoceppi has quit IRC11:25
*** coolsvap is now known as coolsvap|afk11:27
*** marcoceppi has joined #openstack-community11:33
*** marcoceppi has joined #openstack-community11:33
*** mrmartin has joined #openstack-community11:45
*** mwagner_lap has quit IRC11:48
*** dizquierdo has joined #openstack-community12:01
*** marcoceppi has quit IRC12:05
*** marcoceppi has joined #openstack-community12:11
*** jehb has joined #openstack-community12:16
*** yfauser has joined #openstack-community12:18
*** yfauser has left #openstack-community12:24
*** yfauser has joined #openstack-community13:20
*** yfauser has left #openstack-community13:20
*** tiswanso has joined #openstack-community13:21
*** marcoceppi has quit IRC13:24
*** 7JTAAIHSL has quit IRC13:26
*** marcoceppi has joined #openstack-community13:30
*** neeti has quit IRC13:31
-openstackstatus- NOTICE: gerrit has been restarted to clear a problem with its event stream. change events between 13:09 and 13:36 utc should be rechecked or have approval votes reapplied as needed to trigger jobs13:46
*** yfauser has joined #openstack-community13:55
*** yfauser has left #openstack-community13:56
*** mwagner_lap has joined #openstack-community13:57
*** jtomasek has quit IRC13:57
*** wznoinsk has joined #openstack-community14:03
*** mattgriffin has joined #openstack-community14:09
*** yfauser has joined #openstack-community14:16
*** yfauser has left #openstack-community14:16
*** tiswanso has quit IRC14:24
*** tiswanso has joined #openstack-community14:34
*** annegentle has joined #openstack-community14:51
*** sarob has joined #openstack-community14:59
*** tiswanso has quit IRC15:04
*** tiswanso has joined #openstack-community15:12
*** annegentle has quit IRC15:12
*** Piet has joined #openstack-community15:17
*** dizquierdo has quit IRC15:19
*** electrocucaracha has joined #openstack-community15:24
*** Marga_ has joined #openstack-community15:29
*** Marga__ has joined #openstack-community15:29
*** Marga_ has quit IRC15:33
*** Marga__ has quit IRC15:37
*** jtomasek has joined #openstack-community15:54
*** jcoufal has joined #openstack-community16:15
*** dizquierdo has joined #openstack-community16:30
*** tiswanso has quit IRC16:32
*** tiswanso_ has joined #openstack-community16:33
reedhello16:47
mrmartinhi16:50
reedhi mrmartin16:51
mrmartinhttps://github.com/mkissam/puppet-askbot16:51
mrmartinthe refactored askbot puppet16:52
mrmartinstill have some rough edges, but basically works16:52
mrmartinand consume directly from askbot-devel github16:52
reedneat16:52
*** logan2 has quit IRC17:05
*** EmilienM is now known as EmilienM|afk17:17
mrmartinso yes, I was talking with them, and did a review on the spec17:22
mrmartinit is not so bad, but need to work on the 2nd part which defines the tasks17:22
mrmartinwhere we can identify which task depends on whom, and where we need infra help17:22
reedok17:24
reedthanks17:24
*** salvorapi has joined #openstack-community17:24
mrmartinit was the run of the failed puppet: http://paste.openstack.org/show/208632/17:26
mrmartinthe box with 7.53 askbot is building meanwhile17:26
* reed checks17:27
mrmartinlooks like it is missing a python import, but I don't know why, that was running well before today17:27
mrmartinand I see no change on askbot-devel repo17:27
reedis this the upgrade from master?17:28
mrmartinoh I've an idea, I'll try to rebuild this instance quickly17:29
mrmartinwhat I've noticed today, that the header was broken, and we had two language selectors there17:30
reedthe html header?17:32
mrmartinyeap17:32
mrmartinso we have a chance, that this theme patch will solve that issue17:32
reedcheck it out :)17:32
salvorapimrmartin: Have you try to do a manage.py syncdb --database=otherdbname ?17:35
mrmartinsalvorapi, no thanks, I guess I found the issue17:35
salvorapiah ok :)17:35
mrmartinI think it was a dependency problem between a pip and source deployment.17:36
reedmrmartin, what sort of dependency?17:36
mrmartinI've misconfigured the askbot-puppet module, because I put a symlink to the latest gitrepo into a wrong place, and initially deployed the askbot from pip, then tried from github repo src directly.17:38
mrmartinI hope17:38
*** electrocucaracha has quit IRC17:38
*** salvorapi has quit IRC17:39
*** Piet has quit IRC17:39
*** jtomasek has quit IRC17:42
mrmartindo you know where can I find the previous askbot packages at pypi site?17:45
*** cdent has quit IRC17:51
reedno, sorry18:05
mrmartinthe cloud instance failed with the same error. UnknownMigration: Migration 'auth:0001_initial' probably doesn't exist.18:05
mrmartinI'll try that against a mysql db to exclude pgsql issue here18:05
reedhttps://pypi.python.org/pypi/askbot/0.7.5018:06
*** EmilienM|afk is now known as EmilienM18:06
mrmartinah, so we don't have 0.7.5118:07
mrmartinbut 0.7.52 exists18:08
mrmartinAskbot patches `auth_user` table. The migration script will automatically add missing columns, however it will not overwrite any existing columns. Please do back up your database before adding askbot to an existing site.18:08
mrmartinin 0.7.5218:08
reedevgeny is coming18:09
*** GonZo2K has joined #openstack-community18:10
reedso the issue is because you were skipping a version18:10
reed?18:10
*** evgeny has joined #openstack-community18:10
evgenymrmartin: hello, sorry I missed the time18:11
mrmartinhi evgeny18:11
mrmartinit seems to be I've two failing deployments now :)18:11
evgenyupgrade django to 1.5.1218:11
mrmartinrequirements.txt: django>=1.3.1,<1.618:12
evgenypip uninstall django-avatar django-celery django-redis-cache django-countries18:12
evgenythen pip install18:12
evgenyyes, there are issues with that currently18:12
mrmartinreed: the prod testing puppet is failed, but it happend due a missing config line only:18:12
mrmartinadd to TEMPLATE_CONTEXT_PROCESSORS in settings.py:18:12
mrmartin    'askbot.deps.group_messaging.context.group_messaging_context',18:12
evgenyi.e. reinstnall the modules18:12
evgenyyes18:13
mrmartinok, so this is one18:13
mrmartinthe interesting issue is that: http://paste.openstack.org/show/208632/18:13
evgenythe best is to update manually and in parallel update the recipe18:13
mrmartinit is a clean deployment with github master branch18:14
evgenyAfter everything is installed a python manage.py migrate  is necellary18:14
evgenynecessary18:14
mrmartinwhat is that doing anyway: askbot.deps.group_messaging.context.group_messaging_context ?18:15
evgenypython manage.py syncdb --migrate --noinput18:15
evgenythis command will also migrate the tables, not all are made by syncdb18:15
mrmartincan I use this --migrate option for new deployments?18:16
evgenyyes18:16
evgenyre: migrate ^18:16
evgenyregarding the context processor - not doing anything yet b/c private messaging is disabled atm18:16
evgenybut will be enabled in the future18:16
*** Piet has joined #openstack-community18:19
*** jcoufal has quit IRC18:20
*** tiswanso_ has quit IRC18:23
*** tiswanso has joined #openstack-community18:23
mrmartinevgeny: python manage.py syncdb --migrate --noinput18:27
mrmartinSyncing...18:27
mrmartinCreating tables ...18:27
mrmartinDatabaseError: (1146, "Table 'askbotdb.django_content_type' doesn't exist")18:27
mrmartindjango is 1.5.1218:27
evgenydo you have     'django.contrib.contenttypes', in settings.INSTALLED_APPS?18:28
mrmartinI have18:31
mrmartinreed: don't we have a pic sharing service in openstack infra similar to paste.o.o ?18:33
reedmrmartin, no18:33
mrmartinI'm sending on skype18:33
mrmartinevgeny, where I did the upgrade with production puppet, the language selector appears twice18:34
mrmartinreed: it is a clean deployment, without db and static files restore18:34
mrmartinevgeny: am I need to do any other config change related to new package?18:36
*** electrocucaracha has joined #openstack-community18:36
evgenymrmartin: yes, sorry this one: django-followit (the same - reinstall)18:37
evgenyalso you might need to delete the cache18:38
reedhttp://imgur.com/l6lDsH718:38
evgenyreed: I see, testing now18:39
mrmartinpip freeze | grep followit18:39
mrmartindjango-followit==0.0.718:39
mrmartinit is 0.0.7 by default, am I need to do anything with that?18:39
evgenymrmartin: add AVATAR_AUTO_GENERATE_SIZES = (16, 32, 48, 128) to settings.py18:41
evgenymrmartin: if it's older version on production then update, otherwise no18:42
mrmartinI'm trying to redeploy in vagrant, this strange db sync issue appeared a few hours ago, and I need to find out what was changed18:44
mrmartinmaybe some dependent package or lib is doing that18:44
evgenymrmartin: have you done "python manage.py collectstatic --noinput"?18:50
mrmartinI'm used to18:50
mrmartinit is part of the puppet manifests18:50
evgenyregarding the migration issue - I'm not sure, could be due to some dependency library.18:51
evgenyI haven't seen that specific error yet18:51
mrmartinevgeny, yeah, I have the same idea, I never met with this error before18:53
mrmartinI did at least 20 deployments today18:53
mrmartinif it turns out that a pypi dependency changed and causing that error, than we need to pin the pip dependencies in requirements.txt to exact versions18:54
evgenyyes18:58
evgenymrmartin: could you send me frozen requirements and I'll try to reproduce here?18:59
mrmartinsure: http://paste.openstack.org/show/208746/18:59
mrmartinit is not db related, I can reproduce this with mysql and pgsql too19:00
mrmartinhttp://stackoverflow.com/questions/29602219/django-db-utils-databaseerror-1146-table-test-xxx-django-content-type-does19:02
*** dizquierdo has quit IRC19:04
mrmartinevgeny: a traceback for django content type issue: http://paste.openstack.org/show/208758/19:08
evgenymrmartin: why is it in mysql module/19:09
evgenymrmartin: why is it in mysql module?19:09
mrmartini've switched back to mysql, but can create one pgsql too19:09
evgenythe issue causing this might still be relevant, but mysql library should not be used19:09
evgenyok19:10
evgenygoing to mysql is not an option here19:10
reedmrmartin, how are things going?19:19
mrmartinwe are still trying to find out what's wrong here19:19
mrmartinI'm just doing a pip freeze diff19:20
mrmartinbecause in my local vagrant everything seems to be perfect, but the instance in hpcloud based on a ubuntu precise image is totally dead19:20
mrmartinand as I see, it is adding a lot of extra python packages, like boto, cloud-init19:21
*** jcoufal has joined #openstack-community19:21
reedgeez19:21
reedwho adds more packages?19:21
mrmartinso I guess one of the packages we are not using anyway, broke the db sync19:21
reedare you saying that the base ubuntu image is different?19:21
mrmartinbasically it is included in the hp's ubuntu image, because it contains the cloud-init that is fetching info's used for provisioning19:22
reedgeez19:22
mrmartinI'll try to deploy a cloud-init into vagrant to see what happens19:22
mrmartin:D19:22
mrmartindon't worry, we used to find the solution.19:22
mrmartinare we running ask.o.o in rackspace or from hp?19:23
clarkbrax19:23
mrmartinawesome19:23
mrmartinpip freeze output can be handy19:23
mrmartinclarkb or fungi, can you make me a pip freeze on ask.o.o ?19:24
clarkbI am running an errand now but can in an hour or two19:24
clarkbfungi is likely quicker19:24
mrmartintwo packages are suspicious here, cloud-init and euca2ools19:25
*** annegentle has joined #openstack-community19:27
*** electroc_ has joined #openstack-community19:28
evgenymrmartin: I'm stuck on pip install chardet==2.0.119:28
evgenyno such version, so I'll try the latest. It may not even be used19:29
mrmartinwe don't have such a package19:29
mrmartinwe have19:30
evgenymaybe a bunch of modules from the freeze you gave me are not used with askbot19:30
mrmartinit doesn't exist in vagrant19:30
mrmartinyes, I guess it comes from a tool predeployed by the cloud package ubuntu image19:30
mrmartinand it breaks everything19:30
*** electrocucaracha has quit IRC19:31
evgenyI'm just runnig 'pip install -r req.txt' on your freeze19:31
evgenyI don't know what breaks things yet, just trying to build the environment19:31
evgenybut yes, if package deployment fails with pip install - then all sorts of errors may pop up19:32
mrmartinyeah, but pip-install seems to be ok: Notice: /Stage[main]/Askbot::Install/Exec[pip-requirements-install]: Triggered 'refresh' from 1 events19:33
mrmartindjango-threaded-multihost==1.4-1 in local and django-threaded-multihost==1.4.post1 in remote19:36
evgenymrmartin: I have to be offline for about an hour, will be back after that.19:37
mrmartinok feel free19:37
*** evgeny has quit IRC19:41
mrmartinevgeny: a virtualenv deployment could solve this dependency issue?19:48
*** jcoufal has quit IRC19:55
mrmartinok, I'm sure that the base image I'm using in HP have a lot of python- dependency predeployed, and one of them broke things20:25
mrmartinthis is the rax output, looks much-much better: http://paste.openstack.org/show/208853/20:25
*** tiswanso has quit IRC20:32
*** mattgriffin has quit IRC20:35
*** rbowen has quit IRC20:35
*** rbowen has joined #openstack-community20:35
*** dizquierdo has joined #openstack-community20:36
*** annegentle has quit IRC20:36
*** mwagner_lap has quit IRC20:37
mrmartinreed: are you here?20:38
reedyes20:38
mrmartinok, so after some investigation it seems to be that the rax images we are using in production, different from hp cloud images20:38
reedubuntu is not ubuntu everywhere, eh? depressing20:38
mrmartinyes :D20:38
mrmartinexactly20:38
mrmartinhp adds some extra python packages20:38
reedand those extra packages break askbot? it makes no sense20:39
reedbut i don't need the details20:39
reedif it works on RAX then that's enough20:39
mrmartinyes, so it is good to know, that it happens, we were lucky last time we deploy the production :)20:39
mrmartinok, but you need to try out, because askbot-staging instance create could take much more time20:40
mrmartinso I see two options here:20:40
mrmartina, quickly upload a custom image that works20:40
mrmartinb, refactor to virtualenv, with very specific packages20:40
mrmartinbecause as I see even in local deployment, which works, that the theme is broken, and I guess this base.html removal not solves everything.20:41
reedwe need the staging server20:42
mrmartinyeah20:42
reedshall we ask fungi and clarkb to estimate when it may be available?20:42
reedor do you aready have an idea?20:42
mrmartina basic server can get available quickly, the review is there, it have two comments20:43
mrmartinone is related to ssl params, and the other is minor naming issue20:44
mrmartinmy experience, if we get approval, it can be deployed on this friday20:44
reedso late?20:44
reeddamn20:44
mrmartinbut it depends on the load of the infra20:44
reedit's a bad week this one20:45
mrmartinthat's my experience based on previous deployments20:45
reedlet's ask on infra20:45
reedwhat's the change #?20:45
reedmrmartin, can you respond to the comments from clark first?20:47
*** Marga_ has joined #openstack-community20:47
mrmartinhttps://review.openstack.org/#/c/172880/120:47
mrmartinok, so I try to arrange that tomorrow and bring that patch into an approvable state.20:53
mrmartinand try to hack this hpcloud image thing, it shouldn't take so much time.20:54
mrmartinI can do it quickly, and we can test the UX of ask20:54
reedok20:58
reedthanks marton20:59
*** Marga_ has quit IRC20:59
*** electrocucaracha has joined #openstack-community21:04
*** annegent_ has joined #openstack-community21:07
*** electroc_ has quit IRC21:08
*** mrmartin has quit IRC21:33
*** Marga_ has joined #openstack-community21:47
*** sarob has quit IRC21:52
*** sarob has joined #openstack-community21:52
*** electrocucaracha has quit IRC21:56
*** Marga_ has quit IRC22:01
*** dizquierdo has quit IRC22:23
*** Piet has quit IRC22:32
*** evgeny has joined #openstack-community22:49
*** annegent_ has quit IRC22:51
*** mwagner_lap has joined #openstack-community22:54
*** Marga_ has joined #openstack-community23:32
*** annegentle has joined #openstack-community23:33
*** annegentle has quit IRC23:35
*** evgeny has quit IRC23:48
*** sarob has quit IRC23:51
*** sarob has joined #openstack-community23:54

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