Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello community,
we are using Snapcenter Powershell Cmdlets to deploy on-demand Flexclones of our ERP database for testing purposes.
After updating our Snapcenter installation to version 4.6, the cmdlet "Add-SmCloneJob" fails with error message:
--
Add-SmCloneJob : Operation unauthorized. The user you are trying to operate does not have a valid token.
In Zeile:1 Zeichen:15
+ ... mclonejob = Add-SmCloneJob $instance -PluginCode SMSQL -ClonetoInstan ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (SnapManager.Client.PSModule.AddCloneJob:AddCloneJob) [Add-SmCloneJob], Exception
+ FullyQualifiedErrorId : -1,SnapManager.Client.PSModule.AddCloneJob
--
Resourcegroup is created in Snapcenter - but no clone operations are triggered. No authentication error, while login to Snapcenter via Powershell. Username and password are correct.
Do you have any ideas? Im not sure what's meant with "token" in this context.
All this works in further versions of Snapcenter.
Greets
Tobi
Solved! See The Solution
1 ACCEPTED SOLUTION
tbshpgn has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @hmoubra,
we are not using SCV in our environment.
We could fix the issue yesterday with NetApp tech support. The solution was to install the whole Snapcenter Plugin for Windows on the host running the script.
Seems like NetApp improved something with version 4.6. In earlier version it was sufficient to install the Snapcenter Powershell Toolkit.
Greets,
tbshpgn
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @tbshpgn
Are you able to perform a clone from the Snapcenter GUI or only erroring out when doing it via powershell?
For security, a token is usually passed with each request and in used in all API calls for client validation. You would need to refresh that by pushing the server credentials within Snapcenter.
- Login to the SnapCenter webpage
- Selects Hosts
- Click the SCV hostname
- Check the box to Push server credentials
- Click Submit
Hope this answer your question.
Thanks
tbshpgn has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @hmoubra,
we are not using SCV in our environment.
We could fix the issue yesterday with NetApp tech support. The solution was to install the whole Snapcenter Plugin for Windows on the host running the script.
Seems like NetApp improved something with version 4.6. In earlier version it was sufficient to install the Snapcenter Powershell Toolkit.
Greets,
tbshpgn