Project

General

Profile

Bug #22547

Extend Zvol REST API not working for zvol with special character in Zvol name

Added by William Grzybowski over 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Critical
Assignee:
William Grzybowski
Category:
Middleware
Target version:
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

Calling extend zvol api on FreeNAS-9.10.2-U1 result in error as ,

{
"__all__":
[
"You must specify a new volume name or select an existing ZFS volume to append a virtual device"
]
}

Zvol Name: qa.VMFS-1

API: /api/v1.0/storage/volume/vol2/zvols/qa.VMFS-1

Extent API working fine for zvol with normal name.

Thanks,
Ram

Associated revisions

Revision d3a71771 (diff)
Added by William Grzybowski over 4 years ago

fix(api): regex to match zvols Ticket: #22547

Revision 3935f0ca (diff)
Added by William Grzybowski over 4 years ago

fix(api): regex to match zvols Ticket: #22547 (cherry picked from commit d3a71771418e806f54e2327ce471237fcd61ab35)

Revision 8241730d (diff)
Added by William Grzybowski over 4 years ago

fix(api): regex to match zvols Ticket: #22547 (cherry picked from commit d3a71771418e806f54e2327ce471237fcd61ab35)

History

#2 Updated by William Grzybowski over 4 years ago

  • Status changed from 15 to Resolved

#4 Avatar?id=14398&size=24x24 Updated by Kris Moore over 4 years ago

  • Target version changed from 9.10.3 to 11.0

#5 Updated by Vaibhav Chauhan about 4 years ago

  • Target version changed from 11.0 to 11.0-RC

Also available in: Atom PDF