Bug 2101559
| Summary: | ERROR manila.share.manager manila.exception.NetAppException: No aggregates are available to Vserver svm-iscsi for provisioning shares. | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | swogat pradhan <swogatpradhan22> |
| Component: | openstack-manila | Assignee: | OpenStack Manila Bugzilla Bot <openstack-manila-bugs> |
| Status: | CLOSED NOTABUG | QA Contact: | vhariria |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 17.1 (Wallaby) | CC: | gouthamr, tkajinam, vimartin |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-07-19 10:40:08 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
swogat pradhan
2022-06-27 19:59:05 UTC
Please describe the version of RHOSP and RHEL you are using. In case you are using RDO + CentOS then please report the bug to upstream launchpad instead of bugzilla. bugzilla is used to track any problem with downstream product, not upstream distributions. The regular expression used for the "netapp_aggregate_name_search_pattern" seems incorrect. If you'd like the driver to pick up the two aggregates you created (DM5000H_01_X and DM5000H_02_X), specifying the regex as "^DM5000H.*$" would do; the negative lookahead (?!) makes it so that aggregates named "^DM5000H.*$" are not matched. i changed the regex to the one you specified but i am still getting the same error. i am not usre what i am missing: [tripleo_netapp_manila] share_driver=manila.share.drivers.netapp.common.NetAppDriver netapp_login=admin netapp_password=P@ssw0rd netapp_server_hostname=172.25.202.25 share_backend_name=tripleo_netapp_manila netapp_transport_type=http netapp_storage_family=ontap_cluster netapp_server_port=80 #netapp_volume_name_template=share_%(share_id)s netapp_vserver=svm-iscsi #netapp_vserver_name_template=os_%s #netapp_lif_name_template=os_%(net_allocation_id)s #netapp_port_name_search_pattern=(.*) driver_handles_share_servers=False netapp_aggregate_name_search_pattern="^DM5000H.*$" #netapp_root_volume_aggregate= #netapp_root_volume=root #netapp_trace_flags= Swogat, This doesn't seem to be an issue with the configuration then. As the user "admin", execute the following on your ONTAP cluster: > vserver show svm-iscsi -fields aggr-list This is what the driver is doing to fetch the list of aggregates assigned to the vserver. Next, since you're using the "admin" user, i presume you have cluster-wide access - the driver tries to eliminate "root aggregates" from the list of assigned aggregates; you can find the list with: > aggr show -has-mroot true Finally, the search pattern is applied against the aggregates that remain. As Takashi mentioned, please report a bug against upstream's openstack/manila if this isn't a RHEL OSP deployment: https://bugs.launchpad.net/manila Seems this is not an RHEL OSP deployment and we should follow this on the upstream tracker. Closing this bug now. |