Forum Widgets
Recent Discussions
Hi All. Do you have PoSH documentation about how to
Hi All. Do you have PoSH documentation about how to copy volumes from protection group snapshots and attach the copies to different VMs in a vVol environment? I found your docs about how to do it with regular volume snapshots, but not PG snapshots.adam_sennott2 years agoDay Hiker I800Views0likes44Comments<!here> I am facing a very weird issue. While using
!here I am facing a very weird issue. While using 2.x get volumes api with FlashArray I am getting a common volume called `pure-protocol-endpoint` even though I am not able to see the volume inside the array under volume listpratik_narode3 years agoNovice I599Views0likes36CommentsI'm attempting to use New-Pfa2Certificate to import
I'm attempting to use New-Pfa2Certificate to import an updated CA signed certificate: ```New-Pfa2Certificate -Certificate $cert1 -IntermediateCertificate $cert2 -Key $key -Passphrase $pp New-Pfa2Certificate: Missing or invalid parameter. (), https://ttpur002.gsm1900.org/api/2.17/certificates (POST)``` If I run it Verbose: ```VERBOSE: PureStorage.Rest Verbose: 13 : 2024-01-04T0322.8514223Z Error: Exception "PureRestException: HttpStatusCode = 'BadRequest', RestErrorCode = 'InvalidArgument', Details = '[{"context":,"message":"Missing or invalid parameter."},{"context":"POST","message":"https://arrayname/api/2.17/certificates"}]', InnerException = ''", StackTrace= at PureStorage.FlashArray.Rest.Api.CertificatesApi.Api224CertificatesPostWithHttpInfo(CertificatePost certificate, String authorization, String xRequestID, List`1 names, String apiVersion) at PureStorage.FlashArray.Rest.Rest2Api.c__DisplayClass133_0.Post_Certificatesb__0() at PureStorage.Rest.PureClient.DoRetries[T](String method, String path, String apiVersion, Func`1 retriable) VERBOSE: PureStorage.Rest Error: 12 : 2024-01-04T0322.8516374Z '"PureRestException: HttpStatusCode = 'BadRequest', RestErrorCode = 'InvalidArgument', Details = '[{"context":,"message":"Missing or invalid parameter."},{"context":"POST","message":"https://arrayname/api/2.17/certificates"}]', InnerException = ''"'``` I've also tried under SDK1 with Import-PfaCertificate (api 1.11) and Import-PfaNamedCertificate (api 1.12), but it chokes on importing the key: ```Import-PfaCertificate : [{"context": , "msg": "Failed to load the private key.\n", "ctx": "management"}] At line:1 char:1 + Import-PfaCertificate -Array $array -Certificate $cert1 -Intermediate ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Import-PfaCertificate], PureRestException + FullyQualifiedErrorId : PurePowerShell.ImportCertificateCmdlet``` I'm guessing I've flattened the key.pem incorrectly (adding line breaks and flattening it to single line same as the cert and intermediate cert). Any advice? Any other way to construct the key file for importing?clint_simmons542 years agoWanderer I300Views0likes16CommentsOkay, this has been great! Using the docs I was able
Okay, this has been great! Using the docs I was able to get a volume snapshot, create a reference object and use it to create a new volume, and assign the new volume to a host group. Client is happy, which means I'm happy! Step Two is to mount that new volume in the client's vSphere environment and assign the VMs to it... do I need to hop over into PowerCLI to accomplish that, or does your SDK have some nifty Cmdlets that make it nice and easy for me?justin_riggs3 years agoNovice I204Views0likes15CommentsI have another one actually simon - this time
I have another one actually simon - this time with `purefa_dsrole` - raising `AttributeError` when trying to set LDAP groups against builtin roles in the policy mapping section / directory service. The module is able to make changes and/or recognise no changes are required if values have already been populated manually in the GUI. but it's not able to set a Group Base and Group if no values are currently present. Using 1.33.1 of the module against Purity FA 6.7.2. Traceback error is in the thread.Solvedalex_storey5 months agoNovice I200Views0likes7CommentsHello All, I'm trying to get access token for Pure1
Hello All, I'm trying to get access token for Pure1 API through swagger API, but it failed to get the token. I've generated the private and public keys, and generated the API Key through Pure1 portal. TypeError: failed to fetch is the error Here is the screenshot, can someone please help herepavan_neela3 years agoNovice I199Views0likes10CommentsHello, I am getting an error in ansible .ansible/collections/ansible_collections/purestorage/flasharray/plugins/module_utils/purefa.py
Hello, I am getting an error in ansible .ansible/collections/ansible_collections/purestorage/flasharray/plugins/module_utils/purefa.py module when the following ansible-playbook is run ```- hosts: localhost gather_facts: true collections: - purestorage.flasharray vars: src_fa_url: <renamed-pure_name> src_api_token: <hidden> tasks: - name: Get source FlashArray info purefa_info: gather_subset: - minimum - network - interfaces fa_url: "{{ src_fa_url }}" api_token: "{{ src_api_token }}" register: src_array_info``` The code is breaking in “def get_system(module):” function in purefa.py The following code runs fine with PurityOS 5.3.12 but gives an error in 6.2.6 Is there any quick fix for this?? !channel Flasharray collection is VERSION = 1.4 USER_AGENT_BASE = “Ansible”gajanan_mudalia3 years agoNovice I199Views0likes9Comments