Bug 1305747
Summary: | Cannot dis-associate a Subnet from a Domain using Hammer | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | anerurka |
Component: | Hammer | Assignee: | Rahul Bajaj <rabajaj> |
Status: | CLOSED NOTABUG | QA Contact: | Katello QA List <katello-qa-list> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 6.1.6 | CC: | aagrawal, bkearney, rabajaj, sthirugn, tstrachota |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://projects.theforeman.org/issues/13994 | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-07-05 14:10:34 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
anerurka
2016-02-09 06:10:32 UTC
Created redmine issue http://projects.theforeman.org/issues/13994 from this bug Upstream bug component is Provisioning Upstream bug component is Hammer Upstream redmine comment: hammer subnet update --domain-ids '' works fine. hello, This is the expected behavior of subnet. If a subnet is associated with a domain then you cannot delete the same. To dis-associate a subnet from a domain, you might want to do something like: $ hammer subnet update --id '3' --domains "" $ hammer subnet delete --id '3' Basically you can disassociate a subnet form a domain by passing "" value. I am closing this issue as `NOTABUG`. Feel free to open it, if you feel I am missing something. @Rahul Bajaj, In Red Hat Satellite 6.2.12 following hammer command did not work as expected. $ hammer subnet update --id '3' --domains "" Instead of disassociating the subnet from the domain, it would associate subnet to all available domains. However, I can check in Red Hat Satellite and it is working as per expectation. Regards, Anand |