You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@ambari.apache.org by Jonathan Hurley <jh...@hortonworks.com> on 2017/08/18 18:04:21 UTC

Review Request 61746: Prevent New Clusters from Being Provisioned With PATCH/MAINT Repos

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/61746/
-----------------------------------------------------------

Review request for Ambari, Dmytro Grinenko, Dmitro Lisnichenko, and Nate Cole.


Bugs: AMBARI-21758
    https://issues.apache.org/jira/browse/AMBARI-21758


Repository: ambari


Description
-------

New clusters should only be able to be provisioned using a {{STANDARD}} repository. 

STR:
- Register a 2.5.0.0-1234 {{STANDARD}} repo
- Register a 2.5.4.0-9999 {{MAINT} repo
- Use a blueprint go create a repo for 2.5.4.0-9999

The cluster is created and is in a weird state. We should reject these types of repos...


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java 60f5ccea67 
  ambari-server/src/main/java/org/apache/ambari/server/controller/ClusterRequest.java aea2072c65 
  ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ServiceResourceProvider.java 2b4bf3bba9 
  ambari-server/src/main/java/org/apache/ambari/server/orm/entities/RepositoryVersionEntity.java 27b1654fd3 
  ambari-server/src/main/java/org/apache/ambari/server/topology/AmbariContext.java d77d13c00b 


Diff: https://reviews.apache.org/r/61746/diff/1/


Testing
-------

PENDING...


Thanks,

Jonathan Hurley