Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
MarcinJanowski
@MarcinJanowski
ok, now making ;)
Mateusz Kurek
@mkurek
should be -U :)
MarcinJanowski
@MarcinJanowski
@mkurek : oughhh... http://wklej.org/id/1805372/
Mateusz Kurek
@mkurek
please send once again result of pip freeze
MarcinJanowski
@MarcinJanowski
Mateusz Kurek
@mkurek
I don't get it - you have python-keystoneclient==0.11.0 installed according to pip freeze but at the same time you have error pkg_resources.DistributionNotFound: python-keystoneclient==0.11.0
MarcinJanowski
@MarcinJanowski
hmmm, interesting...
i think about remove all virtual python environment
Mateusz Kurek
@mkurek
it's probably good idea - start from scratch - install ralph and ralph_assets from develop, don't install scrooge for now
MarcinJanowski
@MarcinJanowski
@mkurek: new errors: http://wklej.org/id/1805385/
Mateusz Kurek
@mkurek
try pip install distribute
MarcinJanowski
@MarcinJanowski
@mkurek: http://wklej.org/id/1805392/ new error ;)
Mateusz Kurek
@mkurek
@MarcinJanowski i've got to go right now - i'll be there back about 5pm
MarcinJanowski
@MarcinJanowski
@mkurek : ok, but i work from 8:00 to 4pm ;) so see you tomorrow
MarcinJanowski
@MarcinJanowski
@mkurek: after start gunicorn from init and go to :8000: http://wklej.org/id/1805399/
MarcinJanowski
@MarcinJanowski
@mkurek : If you are, please contact
MarcinJanowski
@MarcinJanowski
hello, anyone can help me?
✪ vi4m Marcin Kliks
@vi4m
@damian1976 could you update known bugs somewhere for build 27 ?
e.g virtual servers not displaying correctly and so on?
✪ vi4m Marcin Kliks
@vi4m
@MarcinJanowski maybe just stick with 3.x - it's more comfortable to install and use
and we eventually are going to port missing functionality
MarcinJanowski
@MarcinJanowski
@vi4m: But i want to show my chef full functionally ralph, to decide what we want deploy
✪ vi4m Marcin Kliks
@vi4m
ok, so docker should be enough for this
MarcinJanowski
@MarcinJanowski
oughhh... ok ;)
Michał Suszko
@msuszko
You lost JS on logon page
allegro/ralph@6896eb5 this commit removed {{ media.js }} from admin/templates/base.html
Michał Suszko
@msuszko
and now admin/templates/login.html renders with no jQuery
hm, actually {{ media.js }} was included in this commit, but logon page view doesn't set it
Michał Suszko
@msuszko
Hm, this JS code on logon page is useless, but because ralphs login.html extends base_site.html which extends base.html it includes ralphs base.html
and apparently it suppose to include djangos base.html instead
✪ vi4m Marcin Kliks
@vi4m
@damian1976 did you change (in old ralph) the way how ssh_linux plugin works?
without relying on snmp plugin?
because @MarcinJanowski has the same issue (snmp is not enabled probably, thus, ssh_linux won't fire at all)
MarcinJanowski
@MarcinJanowski
;)
✪ vi4m Marcin Kliks
@vi4m
so the thing is, we require snmp enabled, even when you just want to use ssh_linux ordinary plugin
but it's just our company policy, you can easily change this behavior
damian1976
@damian1976
@v4m No, I did it only locally. Anyway I commented out lines 247...263 @ ./src/ralph/scan/plugins/ssh_linux.py
Michał Suszko
@msuszko
How to set default value with new filters?
Mateusz Kurek
@mkurek
@msuszko what kind of filter? choice, date, text etc?
Michał Suszko
@msuszko
I used to have custom ChoiceFilter with default value
using overloaded value method
It seems to be possible to register custom filter before register_custom_filters but there must be a better way ;-)
Mateusz Kurek
@mkurek
@msuszko it's now raw django approach to admin filters - we're only overwriting default filters classes for some fields types. Your custom filter should work fine now (maybe you should inherit from other class than before). See https://docs.djangoproject.com/en/1.8/ref/contrib/admin/#django.contrib.admin.ModelAdmin.list_filter for details
✪ vi4m Marcin Kliks
@vi4m
we removed Ralph.* prefix from filters classes, you can subclass as documented above
Michał Suszko
@msuszko
When you register filter using FieldListFilter.register with take_priority=True I have no way to use subclassed filter in my app
Mateusz Kurek
@mkurek
yes, but you filter will be specified by class, not by field name, so our registration doesn't matter here
Michał Suszko
@msuszko
@mkurek I've used list_filter = [('field_name', MyCustomChoicesListFilter)] but had to fix AdminSearchFieldsMixin (#1823)
och
Mateusz Kurek
@mkurek
Wouldn't list_filter = [MyCustomChoicesListFilter] work?