WCLI: Can not set Metadata of the Container
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Openstack-cli-powershell |
New
|
Undecided
|
Unassigned |
Bug Description
1. Download the latest wincli file from production Console and install the same
2. Launch Powershell and create a container
cd hpcs:
syntax: New-Container testcont
3. Run the below cmd to set the Metadata of the above container
Syntax: Set-Metadata -sp "con3" "Author|Tom", "Editor|Sam"
4. Run Get-Metadata to display the above added metadata
Get-Metadata -cn "con3"
Issue:
Newly added metadata is not getting displayed
Please see the screenshot details
Comment
Ranjit Ray added a comment - 19/Nov/13 09:20 AM UTC
Tested with Latest version 1.3.5.7 an foloowed the syntax mentioned by Travis, able to add the metadata and same new value is not getting listed.
Also got new issue : Getting message while listing the metadata for Storage Container. CDN Enable container works fine.
Please see the screenshot
Travis Plummer added a comment - 30/Oct/13 07:10 PM UTC
You are using the wrong parameters. The -sp stands for SourcePath meaning it's a path to a file. You should use -c (for Container) when using Set-Metadata with respect to Containers. Please see the supplied screenshot for an example of this working.
Ranjit Ray added a comment - 07/Mar/13 11:42 AM UTC
Tested with 1.3.3.7 and same issue.