Skip to content

Commit

Permalink
Revert "storage: fix private templates are not copied to new image st…
Browse files Browse the repository at this point in the history
…ore (#9206)" (#9839)

This reverts commit e06f80e.
  • Loading branch information
weizhouapache authored Nov 13, 2024
1 parent 03bdf11 commit adbf370
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,11 @@ public void handleTemplateSync(DataStore store) {
s_logger.info("Skip downloading template " + tmplt.getUniqueName() + " since no url is specified.");
continue;
}
// if this is private template, skip sync to a new image store
if (isSkipTemplateStoreDownload(tmplt, zoneId)) {
s_logger.info("Skip sync downloading private template " + tmplt.getUniqueName() + " to a new image store");
continue;
}

// if this is a region store, and there is already an DOWNLOADED entry there without install_path information, which
// means that this is a duplicate entry from migration of previous NFS to staging.
Expand Down

0 comments on commit adbf370

Please sign in to comment.