Cannot delete user SATP rule - 3PAR - ESXi

Post Reply
pasha_t
Posts: 4
Joined: Wed Nov 30, 2022 1:02 am

Cannot delete user SATP rule - 3PAR - ESXi

Post by pasha_t »

Hi,
ESXi 7.0 U2

esxcli storage nmp satp rule list | grep -i 3PAR
VMW_SATP_ALUA 3PARdata VV throttle_sll system tpgs_on VMW_PSP_RR policy=latency
VMW_SATP_ALUA 3PARdata VV user tpgs_on VMW_PSP_RR policy=iops;iops=1; HPE 3PAR Custom Rule

esxcli storage nmp satp rule remove -V 3PARdata -M VV -s VMW_SATP_ALUA -P VMW_PSP_RR -O "iops;iops=1" -c tpgs_on -e "HPE 3PAR Custom Rule"

Error deleting SATP rule: No rule matching the given options found, nothing to delete. Specify all options for the rule to delete it successfully.: Not found

Maybe you can help?
MammaGutt
Posts: 1584
Joined: Mon Sep 21, 2015 2:11 pm
Location: Europe

Re: Cannot delete user SATP rule - 3PAR - ESXi

Post by MammaGutt »

pasha_t wrote:Hi,
ESXi 7.0 U2

esxcli storage nmp satp rule list | grep -i 3PAR
VMW_SATP_ALUA 3PARdata VV throttle_sll system tpgs_on VMW_PSP_RR policy=latency
VMW_SATP_ALUA 3PARdata VV user tpgs_on VMW_PSP_RR policy=iops;iops=1; HPE 3PAR Custom Rule

esxcli storage nmp satp rule remove -V 3PARdata -M VV -s VMW_SATP_ALUA -P VMW_PSP_RR -O "iops;iops=1" -c tpgs_on -e "HPE 3PAR Custom Rule"

Error deleting SATP rule: No rule matching the given options found, nothing to delete. Specify all options for the rule to delete it successfully.: Not found

Maybe you can help?

3PARdata should have quotation marks
VV should have quotation marks
VMW_SATP_ALUA should have quotation marks
VMW_PSP_RR should have quotation marks
tpgs_on should have quotation marks

https://support.hpe.com/hpesc/public/do ... 2E516.html
The views and opinions expressed are my own and do not necessarily reflect those of my current or previous employers.
pasha_t
Posts: 4
Joined: Wed Nov 30, 2022 1:02 am

Re: Cannot delete user SATP rule - 3PAR - ESXi

Post by pasha_t »

MammaGutt, did not help

esxcli storage nmp satp rule remove -s "VMW_SATP_ALUA" -P "VMW_PSP_RR" -O "iops=1" -c "tpgs_on" -V "3PARdata" -M "VV" -e "HPE 3PAR Custom Rule"
Error deleting SATP rule: No rule matching the given options found, nothing to delete. Specify all options for the rule to delete it successfully.: Not found

esxcli storage nmp satp rule remove -s "VMW_SATP_ALUA" -P "VMW_PSP_RR" -O "iops;iops=1" -c "tpgs_on" -V "3PARdata" -M "VV" -e "HPE 3PAR Custom Rule"
Error deleting SATP rule: No rule matching the given options found, nothing to delete. Specify all options for the rule to delete it successfully.: Not found
MammaGutt
Posts: 1584
Joined: Mon Sep 21, 2015 2:11 pm
Location: Europe

Re: Cannot delete user SATP rule - 3PAR - ESXi

Post by MammaGutt »

pasha_t wrote:MammaGutt, did not help

esxcli storage nmp satp rule remove -s "VMW_SATP_ALUA" -P "VMW_PSP_RR" -O "iops=1" -c "tpgs_on" -V "3PARdata" -M "VV" -e "HPE 3PAR Custom Rule"
Error deleting SATP rule: No rule matching the given options found, nothing to delete. Specify all options for the rule to delete it successfully.: Not found

esxcli storage nmp satp rule remove -s "VMW_SATP_ALUA" -P "VMW_PSP_RR" -O "iops;iops=1" -c "tpgs_on" -V "3PARdata" -M "VV" -e "HPE 3PAR Custom Rule"
Error deleting SATP rule: No rule matching the given options found, nothing to delete. Specify all options for the rule to delete it successfully.: Not found


Just checking. That HPE 3PAR Custom Rule has been added by you? I know that from 7.0U2 there are some SATP settings added for 3PAR by default from Vmware.
The views and opinions expressed are my own and do not necessarily reflect those of my current or previous employers.
pasha_t
Posts: 4
Joined: Wed Nov 30, 2022 1:02 am

Re: Cannot delete user SATP rule - 3PAR - ESXi

Post by pasha_t »

Yes, user rule was added for version 6.7. Now this rule is not needed for 7.0 U2. But I cannot do it :-(
pasha_t
Posts: 4
Joined: Wed Nov 30, 2022 1:02 am

Re: Cannot delete user SATP rule - 3PAR - ESXi

Post by pasha_t »

Hi
Found the right combination

esxcli storage nmp satp rule remove -s "VMW_SATP_ALUA" -P "VMW_PSP_RR" -O "policy=iops;iops=1;" -c "tpgs_on" -V "3PARdata" -M "VV" -e "HPE 3PAR Custom Rule"
Post Reply