*"At least one set of repositories for OS should be provided"*
I would take a look in Ambari under Admin > Stacks and Versions > Versions
Tab
For the current version "Show Details", click Edit button this should list
the OS and repositories.
Are those valid from the host you are now running on?
True error maybe as below:
17 May 2018 20:33:46,103 ERROR [ambari-client-thread-78]
AbstractResourceProvider:343 - Caught AmbariException when modifying a resource
org.apache.ambari.server.AmbariException: At least one set of repositories for
OS should be provided
at
org.apache.ambari.server
Add some clue:
17 May 2018 16:17:33,861 ERROR [ambari-client-thread-233] Request:147 - Unable
to compile query predicate: Unexpected token encountered in query string. Last
Token Type=PROPERTY_OPERAND, Cur
rent Token[type=LOGICAL_OPERATOR, value='&']
org.apache.ambari.server.api.predicate.Inv