This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

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.
Bug 1885234 - [RFE] Provisioning with disk requires storage_pod
Summary: [RFE] Provisioning with disk requires storage_pod
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Ansible Collection
Version: 6.7.0
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: stream
Assignee: Evgeni Golov
QA Contact: Griffin Sullivan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-05 13:37 UTC by Luka Bac
Modified: 2024-06-06 00:36 UTC (History)
6 users (show)

Fixed In Version: ansible-collection-redhat-satellite-4.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-06-06 00:36:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github theforeman foreman-ansible-modules pull 1154 0 None open lookup storage domains and pods 2021-02-24 14:57:11 UTC
Github theforeman foreman-ansible-modules pull 1686 0 None open issue 1247: storage_pod from 'id' to 'name' 2023-12-12 08:10:25 UTC

Description Luka Bac 2020-10-05 13:37:03 UTC
Description of problem:
When provisioning a new host, we need to specify a storage_pod or datastore to place the hard disk into.

redhat.satellite.host:
  [...]
  compute_attributes:
    volumes_attributes:
      '0':
        size_gb: '42'
        storage_pod: STORAGE_POD_NAME

However, we should allow the provider (VMware in this case) to give us a storage_pod to use for our cluster/datacenter.

If this is not feasible, then the collection should provide a facility to query for available storage_pods in the current compute_resource, similar to the https://satellite.server.com/api/compute_resources/:id/available_storage_pods API endpoint.


Example output of `hammer compute-resource storage-pods --id 1`
------------|---------
ID          | NAME    
------------|---------
group-p123  | DC-01-01
group-p234  | DC-01-02
------------|---------
Version-Release number of selected component (if applicable): 1.3.0


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Evgeni Golov 2021-03-08 12:04:27 UTC
upstream PR merged

Comment 3 Brad Buckingham 2022-09-02 20:25:18 UTC
Upon review of our valid but aging backlog the Satellite Team has concluded that this Bugzilla does not meet the criteria for a resolution in the near term, and are planning to close in a month. This message may be a repeat of a previous update and the bug is again being considered to be closed. If you have any concerns about this, please contact your Red Hat Account team.  Thank you.

Comment 4 Brad Buckingham 2022-09-05 22:56:27 UTC
Upon review of our valid but aging backlog the Satellite Team has concluded that this Bugzilla does not meet the criteria for a resolution in the near term, and are planning to close in a month. This message may be a repeat of a previous update and the bug is again being considered to be closed. If you have any concerns about this, please contact your Red Hat Account team.  Thank you.

Comment 6 Pranjal 2022-10-14 05:19:57 UTC
Hello Team,

We have another scenario where using "storage_pod" as direct value changes name to ID.
The Playbook in reference is to create "Compute Profile". Change in value affects deployment of new servers. 

Kindly consider this scenario for further check.

Comment 9 Griffin Sullivan 2024-05-29 15:18:41 UTC
See https://bugzilla.redhat.com/show_bug.cgi?id=2263706#c1 for Verification Notes

Comment 10 Griffin Sullivan 2024-05-29 15:22:44 UTC
BTW, I also ran those steps without specifying storage_pod and it worked the same.

Comment 11 Eric Helms 2024-06-06 00:36:04 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.

Due to differences in account names between systems, some fields were not replicated.  Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.

To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "SAT-" followed by an integer.  You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:

"Bugzilla Bug" = 1234567

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.


Note You need to log in before you can comment on or make changes to this bug.