Github user syed commented on the pull request: https://github.com/apache/cloudstack/pull/1331#issuecomment-201355723 @kollyma This was happening for swift because the `template.properties` file was not correctly populated. So, when a management restart happens, it syncs data from the secondary storage to see which files are present and which files need to be downloaded and it is at this point that the managment server sets the templates in the DB to `not ready` state. I'm not sure if this is the case with pure NFS but you might want to look at your `template.properties` files on the NFS to make sure they are correct.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---