Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
When you create subnet without organization/location specified and create host using the subnet with organization/location, you are unable to configure organization/location for the subnet.
Version-Release number of selected component (if applicable):
Satellite-6.1.0-RHEL-6-20150210.0-Satellite-x86_64
How reproducible:
always
Steps to Reproduce:
1. Install Satellite (I have not created any extra organization/location
besides default ones)
2. Configure provisioning (in my case I have used libvirt)
3. Create subnet without organization/location specified
# hammer -u admin -p changeme subnet create --dhcp-id 1 --dns-id 1 \
--tftp-id 1 --domain-ids 1 --name jhutar3 --network 192.168.160.0 \
--mask 255.255.255.0
4. Create host using that subnet
5. Make sure you have "Default Organization@Default Location"
6. Look into Infrastructure -> Subnets
=> you can not see the subnet, which is expected
7. Switch to "Any Context"
8. Look into Infrastructure -> Subnets
=> you can see the subnet, which is expected
9. Attempt to set organization/location in Infrastructure -> Subnets
-> <your_subnet> -> Locations or Organizations
=> default org/loc are already at right side (tooltip says
"This is used by a host") and you can not configure it in any way
Actual results:
You can not configure it in any way
Expected results:
You should probably be able to configure it, or when it seems to be configured already (see step 9), it should appear with "Default Organization@Default Location" set as well.
Comment 1RHEL Program Management
2015-02-12 07:53:18 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.
Moving to POST since upstream bug http://projects.theforeman.org/issues/9391 has been closed
-------------
Shimon Shtein
Applied in changeset commit:8f695d94a2f32fea3363cc017fc59baf6ca15b17.
Looks like this is no longer an issue, as we can no longer create a host without subnet first being associated to a org/loc , neither via UI nor via hammer.
Can you please confirm this?
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2016:1500
Description of problem: When you create subnet without organization/location specified and create host using the subnet with organization/location, you are unable to configure organization/location for the subnet. Version-Release number of selected component (if applicable): Satellite-6.1.0-RHEL-6-20150210.0-Satellite-x86_64 How reproducible: always Steps to Reproduce: 1. Install Satellite (I have not created any extra organization/location besides default ones) 2. Configure provisioning (in my case I have used libvirt) 3. Create subnet without organization/location specified # hammer -u admin -p changeme subnet create --dhcp-id 1 --dns-id 1 \ --tftp-id 1 --domain-ids 1 --name jhutar3 --network 192.168.160.0 \ --mask 255.255.255.0 4. Create host using that subnet 5. Make sure you have "Default Organization@Default Location" 6. Look into Infrastructure -> Subnets => you can not see the subnet, which is expected 7. Switch to "Any Context" 8. Look into Infrastructure -> Subnets => you can see the subnet, which is expected 9. Attempt to set organization/location in Infrastructure -> Subnets -> <your_subnet> -> Locations or Organizations => default org/loc are already at right side (tooltip says "This is used by a host") and you can not configure it in any way Actual results: You can not configure it in any way Expected results: You should probably be able to configure it, or when it seems to be configured already (see step 9), it should appear with "Default Organization@Default Location" set as well.