graphite-manage syncdb error on AIO

Bug #1282239 reported by Chris Ricker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cisco Openstack
New
Medium
Unassigned

Bug Description

I'm getting this error consistently on AIO installs from coi-development currently:

Debug: Exec[graphite-syncdb](provider=posix): Executing 'graphite-manage syncdb --noinput'
Debug: Executing 'graphite-manage syncdb --noinput'
Notice: /Stage[main]/Graphite/Exec[graphite-syncdb]/returns: /usr/lib/python2.7/dist-packages/graphite/settings.py:234: UserWarning: SECRET_KEY is set to an unsafe default. This should be set in local_settings.py for better security
Notice: /Stage[main]/Graphite/Exec[graphite-syncdb]/returns: warn('SECRET_KEY is set to an unsafe default. This should be set in local_settings.py for better security')
Notice: /Stage[main]/Graphite/Exec[graphite-syncdb]/returns: DatabaseError: database is locked
Notice: /Stage[main]/Graphite/Exec[graphite-syncdb]/returns: Creating tables ...
Notice: /Stage[main]/Graphite/Exec[graphite-syncdb]/returns: Creating table account_profile
Notice: /Stage[main]/Graphite/Exec[graphite-syncdb]/returns: Creating table account_variable
Notice: /Stage[main]/Graphite/Exec[graphite-syncdb]/returns: Creating table account_view
Notice: /Stage[main]/Graphite/Exec[graphite-syncdb]/returns: Creating table account_window
Notice: /Stage[main]/Graphite/Exec[graphite-syncdb]/returns: Creating table account_mygraph
Notice: /Stage[main]/Graphite/Exec[graphite-syncdb]/returns: Creating table dashboard_dashboard_owners
Notice: /Stage[main]/Graphite/Exec[graphite-syncdb]/returns: Creating table dashboard_dashboard
Notice: /Stage[main]/Graphite/Exec[graphite-syncdb]/returns: Creating table events_event
Notice: /Stage[main]/Graphite/Exec[graphite-syncdb]/returns: Creating table auth_permission
Notice: /Stage[main]/Graphite/Exec[graphite-syncdb]/returns: Creating table auth_group_permissions
Notice: /Stage[main]/Graphite/Exec[graphite-syncdb]/returns: Creating table auth_group
Notice: /Stage[main]/Graphite/Exec[graphite-syncdb]/returns: Creating table auth_user_groups
Notice: /Stage[main]/Graphite/Exec[graphite-syncdb]/returns: Creating table auth_user_user_permissions
Notice: /Stage[main]/Graphite/Exec[graphite-syncdb]/returns: Creating table auth_user
Notice: /Stage[main]/Graphite/Exec[graphite-syncdb]/returns: Creating table django_session
Notice: /Stage[main]/Graphite/Exec[graphite-syncdb]/returns: Creating table django_admin_log
Notice: /Stage[main]/Graphite/Exec[graphite-syncdb]/returns: Creating table django_content_type
Notice: /Stage[main]/Graphite/Exec[graphite-syncdb]/returns: Creating table tagging_tag
Notice: /Stage[main]/Graphite/Exec[graphite-syncdb]/returns: Creating table tagging_taggeditem
Error: graphite-manage syncdb --noinput returned 1 instead of one of [0]
Error: /Stage[main]/Graphite/Exec[graphite-syncdb]/returns: change from notrun to 0 failed: graphite-manage syncdb --noinput returned 1 instead of one of [0]

Revision history for this message
Chris Ricker (chris-ricker) wrote :

As a workaround, the 2nd puppet run on that AIO resolves the problem

Revision history for this message
Mark T. Voelker (mvoelker) wrote :

Looks an awful lot like Bug #1273342?

Changed in openstack-cisco:
milestone: h.2 → h.3
Changed in openstack-cisco:
milestone: h.3 → i.1
Changed in openstack-cisco:
milestone: i.1 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.