Hello, I have a java app in which I'm trying to interface with a NetApp S3 API gateway in order to store large files there. It was pretty straightforward to make a connection with an S3Client. And I know that I set things up correctly because I'm able to do a listBuckets and it correctly lists all of the existing buckets. String accessKeyId = "MyAccessKeyID";
String secretAccesskey = "MySecretAccessKey";
String endpointUrl = "https://theendpointurltomynetappstoragegrid:10444";
StaticCredentialsProvider credentialsProvider = StaticCredentialsProvider.create(
AwsBasicCredentials.create(accessKeyId, secretAccesskey));
// Create S3 client
S3Client s3Client = S3Client.builder()
.credentialsProvider(credentialsProvider)
.region(Region.US_EAST_1)
.endpointOverride(URI.create(endpointUrl))
.overrideConfiguration(ClientOverrideConfiguration.builder()
.build())
.build();
//This actually works fine to list the buckets - indicating I am connecting fine
ListBucketsResponse listBucketsResponse = s3Client.listBuckets(); However it crashes with the UnknownHostException when I try to do a createBucket or postObject. CreateBucketRequest createBucketRequest = CreateBucketRequest.builder()
.bucket("testbucket11")
.build();
//However this always crashes with a SdkClientException: Received an UnknownHostException
s3Client.createBucket(createBucketRequest); BTW I am able to do a create-bucket through the aws command-line interface. This actually does create a bucket. aws --endpoint-url https://theendpointurltomynetappstoragegrid:10444 s3api create-bucket --bucket testbucket11 Any suggestions? Thank you.
... View more
Hello, we're trying to deploy and install a CA-signed ssl certificate on the admin vserver to get HTTPS when connecting to the cluster webgui. With the netapp.ontap.na_ontap_security_certificates module we have successfully deployed the certificate on the cluster, but it will not be used by the vserver. We somehow need to execute this command. security ssl modify -vserver [VSERVER] -serial [SERIAL] -ca [CA] Is this possible without using the na_ontap_ssh_command module? https://docs.ansible.com/ansible/latest/collections/netapp/ontap/na_ontap_security_certificates_module.html#ansible-collections-netapp-ontap-na-ontap-security-certificates-module
... View more
Hello Everyone, I'm trying to get my volume tags set via System Manager with the simple powershell cmdlet "get-ncVol", but "Tags" property is always empty. I've also try the cmdlet with "-zapiCall" parameter, but having the same empty result. powershell SDK 9.15.1.2407 powershell 5.1 Windows 2019 Ontap 9.14.1P8 thanks in advance. Yala
... View more
Hi Team, We have resolved the issue related to the code signing certificate, which is now valid until 2027. The versions that include this fix are 9.15.1.2410 and 9.10.1.2410. You can download them from the PowerShell Gallery. Please find the links to the packages below. PSTK Version: 9.15.1.2410 : Supports Rest and ZAPI both PSTK Version: 9.10.1.2410 : Supports ZAPI only If you have any questions, please send an email to ng-ontap-pstk-queries. Thanks, Saharsh Neema
... View more
As usual, PSTK has failed after the upgrade to 9.15.x. Get-NcSnapshot $Volname | where-object { $_.Dependency -NotMatch "snapmirror" } |Sort-Object -Property Created -Descending Get-NcSnapshot: The remote server returned an error: (400) Bad Request. Get-NcVol Get-NcVol: The remote server returned an error: (400) Bad Request. Works only on second attempt
... View more