diff --git a/manifests/deps.pp b/manifests/deps.pp
index 5cf6d40b..4dea006a 100644
--- a/manifests/deps.pp
+++ b/manifests/deps.pp
@@ -24,6 +24,10 @@ class glance::deps {
   ~> Service<| tag == 'glance-service' |>
   ~> anchor { 'glance::service::end': }
 
+  # all db settings should be applied and all packages should be installed
+  # before dbsync starts
+  Oslo::Db<||> -> Anchor['glance::dbsync::begin']
+
   # Ensure files are modified in the config block
   Anchor['glance::config::begin']
   -> File_line<| tag == 'glance-file-line' |>