Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Michał Suszko
@msuszko
and then recreate all environments
Michał Suszko
@msuszko
What is the status of #1914? Do you plan to merge is soon™?
✪ vi4m Marcin Kliks
@vi4m
yes, it's going to be merged asap
we need to add hypervisor field
it's the matter of couple days to merge
(tm)
why're you asking?
Michał Suszko
@msuszko
I'd like to migrate data from uCMDB
Pierre-Yves Dubreucq
@pydubreucq
Hi,
I've updated my ralph-core and I can't do ralph migrate, I have this error :

System check identified some issues:

WARNINGS:
?: (18.W001) The standalone TEMPLATE* settings were deprecated in Django 1.8 and the TEMPLATES dictionary takes precedence. You must put the values of the following settings into your default TEMPLATES dict: TEMPLATE_DEBUG.
Operations to perform:
Synchronize unmigrated apps: taggit_serializer, foundation, ralph_admin, table, rest_framework, humanize, messages, dc_view, import_export, staticfiles, mptt, permissions
Apply all migrations: accounts, domains, licences, transitions, data_importer, supports, sessions, attachments, sitetree, back_office, taggit, admin, reports, contenttypes, data_center, reversion, authtoken, assets, auth
Synchronizing apps without migrations:
Creating tables...
Running deferred SQL...
Installing custom SQL...
Running migrations:
Rendering model states... DONE
Applying assets.0007_auto_20151118_0804... OK
Applying assets.0008_asset_property_of... OK
Applying back_office.0007_copy_property_of... OK
Applying assets.0009_asset_property_of_rename... OK
Applying assets.0010_service_env_inherits_base_object...Traceback (most recent call last):
File "/opt/ralph/ralph-core/lib/python3.4/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "/opt/ralph/ralph-core/lib/python3.4/site-packages/django/db/backends/mysql/base.py", line 124, in execute
return self.cursor.execute(query, args)
File "/opt/ralph/ralph-core/lib/python3.4/site-packages/MySQLdb/cursors.py", line 220, in execute
self.errorhandler(self, exc, value)
File "/opt/ralph/ralph-core/lib/python3.4/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
raise errorvalue
File "/opt/ralph/ralph-core/lib/python3.4/site-packages/MySQLdb/cursors.py", line 209, in execute
r = self._query(query)
File "/opt/ralph/ralph-core/lib/python3.4/site-packages/MySQLdb/cursors.py", line 371, in _query
rowcount = self._do_query(q)
File "/opt/ralph/ralph-core/lib/python3.4/site-packages/MySQLdb/cursors.py", line 335, in _do_query
db.query(q)
File "/opt/ralph/ralph-core/lib/python3.4/site-packages/MySQLdb/connections.py", line 280, in query
_mysql.connection.query(self, query)
_mysql_exceptions.OperationalError: (1025, "Error on rename of './ralph/#sql-2b3_c6e3' to './ralph/assets_serviceenvironment' (errno: 150)")

The above exception was the direct cause of the following exception:

Michał Suszko
@msuszko
#2018 makes read-only text fields cover each other when there is more than one line
Viktor Ekmark
@fyxim
Hi, does ralph support multiple VRF environments?
✪ vi4m Marcin Kliks
@vi4m
@fyxim no
✪ vi4m Marcin Kliks
@vi4m
@pydubreucq probably it's because we squashed our migrations, @mkurek will know for sure
either way, the fastest way will be to reinitialize db if you don't have production data there
Pierre-Yves Dubreucq
@pydubreucq
ok thanks
I will do that
✪ vi4m Marcin Kliks
@vi4m
@pydubreucq i will issue new deb package for you
Maciek Kasprzyk
@mkasprzyk
Cześć, po wystartowaniu Ralpha Vagrantem mam 404 na wszystkich plikach statycznych, co mogło pójść nie tak :>
✪ vi4m Marcin Kliks
@vi4m
a jak startujesz ?
ok, jest błąd w instrukcji - brakuje stepu:
make install-js oraz bower install
po tym statici się pojawią
✪ vi4m Marcin Kliks
@vi4m
i've fixed this installation issue with allegro/ralph#2084
when merged, make install should install statics files as well
Maciek Kasprzyk
@mkasprzyk
Dzięki @vi4m ;-)
Michał Suszko
@msuszko
Should Autocomplete Widget work if I add ManyToMany field to raw_id_fields of an Admin?
Michał Suszko
@msuszko
RalphAutocompleteMixin has no formfield_for_manytomany, which means no...
Mateusz Kurek
@mkurek
@msuszko @szok is currently working on this: allegro/ralph#2100
Michał Suszko
@msuszko
@mkurek thanks, nice to know
Pierre-Yves Dubreucq
@pydubreucq
Hi all
I've the same error with a fresh install
django.db.utils.OperationalError: (1025, "Error on rename of './ralphy/#sql-2b3_11872' to './ralphy/assets_serviceenvironment' (errno: 150)")
Michał Suszko
@msuszko
What is the point rewriting autocomplete in coffeescript?
Arkadiusz Adamski
@ar4s
@msuszko We consider CoffeeScript (or ES6) to rewrite autocomplete cause we must add the new widget to ManyToMany fields. We choose CoffeeScript beacause we can easily inherit from AutocompleteWidget - in pure JS is ugly and painful.
damian1976
@damian1976
bez zmian. w 2 przegladrkach. zrestartowalem ralpha, przegladarki
damian1976
@damian1976
Zdrowych, Spokojnych Swiat dla Was wszystkich i do zobaczenia/uslyszenia w Nowym Roku / Merry Christmas and a Happy New Year to all of you!:)
✪ vi4m Marcin Kliks
@vi4m
Merry Christmas :)
Maciek Kasprzyk
@mkasprzyk
Udało się komuś uruchomić Ralpha na RHEL6/RHEL7? Docker nie wchodzi w grę.
Mateusz Kurek
@mkurek
@mkasprzyk który Ralph? 2 czy 3(NG)?
Maciek Kasprzyk
@mkasprzyk
NG
W sumie 2 też mnie ciekawi
Mateusz Kurek
@mkurek
i na czym utknąłeś?
Maciek Kasprzyk
@mkasprzyk
Bo obie chciałbym przetestowac
Po drodze miałem sporo problemów z plikami statycznymi i z migracją
Podczas migrowania sypało błędami powiązanymi z postgresem z tego co pamiętam. Siedziałem nad tym z 1/2 miesiąca temu i teraz trudno mi powiedzieć bo powoli wracam do tematu
Mateusz Kurek
@mkurek
to musiałbyś podesłać konkretne błędy
Maciek Kasprzyk
@mkasprzyk
Ok, w pojutrze siądę jeszcze raz do tematu i odezwę się z konkretnymi rzeczami :-) Dzięki @mkurek
Brian Choate
@brianchoate
I have a couple project related questions. If there is a better source for the answers please point me to it. I've been googling and not really finding solid answers for these questions.