Github user anshul1886 commented on the issue:

    https://github.com/apache/cloudstack/pull/1278
  
    @abhinandanprateek, Yes they are using same deployment planner. But VR was 
getting created in disabled Pod but not regular VM because for VR deployment 
system user context was getting set. In planner checks are not done/skipped for 
system user. So if you observe here fix is to use user from calling context 
instead of system user. Hope this clears your doubt.
    
    One such example:
    `if (!isRootAdmin(vmProfile)) {
                    List<Long> disabledPods = 
listDisabledPods(plan.getDataCenterId());
                    if (!disabledPods.isEmpty()) {
                        if (s_logger.isDebugEnabled()) {
                            s_logger.debug("Removing from the podId list these 
pods that are disabled: " + disabledPods);
                        }
                        podsWithCapacity.removeAll(disabledPods);
                    }
                }`


---
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.
---

Reply via email to