Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 1CD17E00EF7; Wed, 20 Apr 2016 02:24:43 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [134.134.136.65 listed in list.dnswl.org] Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 57687E00F12 for ; Wed, 20 Apr 2016 02:24:25 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP; 20 Apr 2016 02:24:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,509,1455004800"; d="scan'208";a="936285301" Received: from irsmsx154.ger.corp.intel.com ([163.33.192.96]) by orsmga001.jf.intel.com with ESMTP; 20 Apr 2016 02:24:09 -0700 Received: from irsmsx110.ger.corp.intel.com ([169.254.15.10]) by IRSMSX154.ger.corp.intel.com ([169.254.12.173]) with mapi id 14.03.0248.002; Wed, 20 Apr 2016 10:24:07 +0100 From: "Barros Pena, Belen" To: "toaster@yoctoproject.org" Thread-Topic: Weird migration issue Thread-Index: AQHRmuZjj7301QliakiPUcV9M/ZoLg== Date: Wed, 20 Apr 2016 09:24:06 +0000 Message-ID: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.6.3.160329 x-originating-ip: [10.237.224.85] MIME-Version: 1.0 Cc: "Reinhard.Tartler@deshawresearch.com" Subject: Weird migration issue X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Apr 2016 09:24:43 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-ID: Content-Transfer-Encoding: quoted-printable I've been coming across a problem with migrations occasionally (and rather randomly) when I start Toaster. At the beginning it seemed I was the only one seeing this. But, while at ELC, someone came to me because they were having the same problem. His trace is below. Restarting the host seems to solve the problem for me. In his case, he tried a different host and everything worked.=20 It doesn't seem distro-related: his was CentOS, mine Ubuntu. That's all I know. Michael Wood looked at this briefly, so he might have something to add. It was not a problem when it was just me, but if other people are seeing this, then I am bit more worried. Any ideas on what could be causing it? Cheers Bel=E9n File=20 "/state/partition1/scratch/tartler/yocto-master/poky/bitbake/bin/../lib/toa ster/manage.py", line 10, in execute_from_command_line(sys.argv) File=20 "/state/partition1/scratch/tartler/yocto-master/poky/build/venv/lib/python2 .7/site-packages/django/core/management/__init__.py", line 354, in execute_from_command_line utility.execute() File=20 "/state/partition1/scratch/tartler/yocto-master/poky/build/venv/lib/python2 .7/site-packages/django/core/management/__init__.py", line 346, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File=20 "/state/partition1/scratch/tartler/yocto-master/poky/build/venv/lib/python2 .7/site-packages/django/core/management/base.py", line 394, in run_from_argv self.execute(*args, **cmd_options) File=20 "/state/partition1/scratch/tartler/yocto-master/poky/build/venv/lib/python2 .7/site-packages/django/core/management/base.py", line 445, in execute output =3D self.handle(*args, **options) File=20 "/state/partition1/scratch/tartler/yocto-master/poky/build/venv/lib/python2 .7/site-packages/django/core/management/commands/migrate.py", line 222, in handle executor.migrate(targets, plan, fake=3Dfake, fake_initial=3Dfake_initia= l) File=20 "/state/partition1/scratch/tartler/yocto-master/poky/build/venv/lib/python2 .7/site-packages/django/db/migrations/executor.py", line 110, in migrate self.apply_migration(states[migration], migration, fake=3Dfake, fake_initial=3Dfake_initial) File=20 "/state/partition1/scratch/tartler/yocto-master/poky/build/venv/lib/python2 .7/site-packages/django/db/migrations/executor.py", line 148, in apply_migration state =3D migration.apply(state, schema_editor) File=20 "/state/partition1/scratch/tartler/yocto-master/poky/build/venv/lib/python2 .7/site-packages/django/db/backends/base/schema.py", line 93, in __exit__ self.atomic.__exit__(exc_type, exc_value, traceback) File=20 "/state/partition1/scratch/tartler/yocto-master/poky/build/venv/lib/python2 .7/site-packages/django/db/transaction.py", line 228, in __exit__ connection.rollback() File=20 "/state/partition1/scratch/tartler/yocto-master/poky/build/venv/lib/python2 .7/site-packages/django/db/backends/base/base.py", line 183, in rollback self._rollback() File=20 "/state/partition1/scratch/tartler/yocto-master/poky/build/venv/lib/python2 .7/site-packages/django/db/backends/base/base.py", line 147, in _rollback return self.connection.rollback() File=20 "/state/partition1/scratch/tartler/yocto-master/poky/build/venv/lib/python2 .7/site-packages/django/db/utils.py", line 98, in __exit__ six.reraise(dj_exc_type, dj_exc_value, traceback) File=20 "/state/partition1/scratch/tartler/yocto-master/poky/build/venv/lib/python2 .7/site-packages/django/db/backends/base/base.py", line 147, in _rollback return self.connection.rollback() django.db.utils.OperationalError: cannot rollback - no transaction is active Failed migrations, aborting system start Failed start.