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]
As a workaround, the 2nd puppet run on that AIO resolves the problem