[ https://issues.apache.org/jira/browse/HDDS-3224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dinesh Chitlangia resolved HDDS-3224. ------------------------------------- Fix Version/s: 0.6.0 Resolution: Fixed Merged to master, thanks [~swagle] for the contribution! Thanks [~adoroszlai], [~Sammi], [~bharat], [~elek] for reviews/inputs. > Enforce volume and bucket name rule at create time > -------------------------------------------------- > > Key: HDDS-3224 > URL: https://issues.apache.org/jira/browse/HDDS-3224 > Project: Hadoop Distributed Data Store > Issue Type: Bug > Reporter: Sammi Chen > Assignee: Siddharth Wagle > Priority: Major > Labels: pull-request-available > Fix For: 0.6.0 > > Time Spent: 40m > Remaining Estimate: 0h > > After volume is created through API application, it cannot be listed through > CLI. > ozone sh volume list -u=admin > {noformat} > { > "metadata" : { }, > "name" : "instagram", > "admin" : "admin", > "owner" : "admin", > "creationTime" : "2020-03-04T07:18:38.183Z", > "acls" : [ ], > "quota" : 1152921504606846976 > } > { > "metadata" : { }, > "name" : "3", > "admin" : "admin", > "owner" : "admin", > "creationTime" : "2020-03-17T07:31:56.987Z", > "acls" : [ ], > "quota" : 1152921504606846976 > } > { > "metadata" : { }, > "name" : "333", > "admin" : "admin", > "owner" : "admin", > "creationTime" : "2020-03-17T07:34:18.361Z", > "acls" : [ ], > "quota" : 1152921504606846976 > } > {noformat} > ozone sh bucket list 3 > Bucket or Volume length is illegal, valid length is 3-63 characters > ozone sh bucket list 333 > Bucket or Volume name cannot be an IPv4 address or all numeric > We should enforece this rules at the create time. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org