Squashed migrations for edx/course-discovery

43 views
Skip to first unread message

Clinton Blackburn

unread,
Nov 6, 2016, 2:26:56 PM11/6/16
to edx-...@googlegroups.com
Howdy,

While we have not officially released the Catalog Service, we recognize that there are a few early adopters making use of it. I write to let you know that we recently merged a commit that squashes many of the migrations. If you are an early adopter, please pull the tag release-2016-11-04 and run migrations before pulling any later releases. Failure to do so may cause issues with future migrations.

After running migrations, you should see a few new rows in the django_migrations table that include the names of the squashed migration files.

We are excited that many of you are interested in the Catalog Service and anxious to start using it. We are working to get it into the Ficus release, and will keep you updated on that development.

Thanks,
Clinton Blackburn, Tech Lead
edX E-Commerce Engineering

Pierre Mailhot

unread,
Nov 8, 2016, 3:14:30 PM11/8/16
to General Open edX discussion
Hi Clinton,

Can I bug you with a small question? I did checkout the tag release-2016-11-04.
When I try running "make migrate", I get these error messages. Any suggestions?


Regards,
Pierre

Renzo Lucioni

unread,
Nov 8, 2016, 5:29:35 PM11/8/16
to General Open edX discussion
Pierre,

Your logs suggest you don't have Elasticsearch running. You need to have it running for migrations to succeed.

Renzo

Pierre Mailhot

unread,
Nov 8, 2016, 5:31:00 PM11/8/16
to General Open edX discussion
elasticsearch is running.
I am able to run the search for courses and the posts in the forums.

Pierre Mailhot

unread,
Nov 8, 2016, 5:35:03 PM11/8/16
to General Open edX discussion
Renzo, proof that elasticsearch is running: it creates an entry for catalog_* in /var/lib/elasticsearch/elasticsearch/nodes/0/indices every time I try to run "make migration".

ubuntu@ip-10-0-0-178:/var/lib/elasticsearch/elasticsearch/nodes/0/indices$ ls -l

total 72

drwxr-xr-x 8 elasticsearch elasticsearch 4096 Nov  1 15:24 catalog_20161101192450

drwxr-xr-x 8 elasticsearch elasticsearch 4096 Nov  1 17:32 catalog_20161101213259

drwxr-xr-x 8 elasticsearch elasticsearch 4096 Nov  1 17:42 catalog_20161101214244

drwxr-xr-x 8 elasticsearch elasticsearch 4096 Nov  1 17:45 catalog_20161101214505

drwxr-xr-x 8 elasticsearch elasticsearch 4096 Nov  1 18:00 catalog_20161101220011

drwxr-xr-x 8 elasticsearch elasticsearch 4096 Nov  1 18:37 catalog_20161101223740

drwxr-xr-x 8 elasticsearch elasticsearch 4096 Nov  3 15:49 catalog_20161103194957

drwxr-xr-x 8 elasticsearch elasticsearch 4096 Nov  4 17:03 catalog_20161104210312

drwxr-xr-x 8 elasticsearch elasticsearch 4096 Nov  8 10:43 catalog_20161108154322

drwxr-xr-x 8 elasticsearch elasticsearch 4096 Nov  1 18:13 catalog_test_20160621_000000

drwxr-xr-x 8 elasticsearch elasticsearch 4096 Nov  1 18:13 catalog_test_20161101221304

drwxr-xr-x 8 elasticsearch elasticsearch 4096 Nov  1 18:13 catalog_test_20161101221308

drwxr-xr-x 8 elasticsearch elasticsearch 4096 Nov  1 18:13 catalog_test_20161101221311

drwxr-xr-x 8 elasticsearch elasticsearch 4096 Nov  1 18:13 catalog_test_20161101221312

drwxr-xr-x 8 elasticsearch elasticsearch 4096 Nov  1 18:13 catalog_test_20161101221327

drwxr-xr-x 8 elasticsearch elasticsearch 4096 Feb 27  2015 content

drwxr-xr-x 8 elasticsearch elasticsearch 4096 Aug 28  2015 courseware_index

drwxr-xr-x 8 elasticsearch elasticsearch 4096 Mar  1  2016 library_index

Reply all
Reply to author
Forward
0 new messages