Project

General

Profile

Bug #28508

Fix winacl issue in minio

Added by Francois Beaudoin about 1 year ago. Updated 10 months ago.

Status:
Done
Priority:
Nice to have
Assignee:
John Hixson
Category:
Middleware
Target version:
Seen in:
Severity:
Medium
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

Minio doesn't start when using special characters in Access Key (like @,& etc)

S3-minioNoStart-2018-07-02.png (34.4 KB) S3-minioNoStart-2018-07-02.png Michael Reynolds, 07/02/2018 11:23 AM
rc.d-minio.txt (2.47 KB) rc.d-minio.txt Michael Reynolds, 07/03/2018 01:58 PM
minio-debug.txt (19.3 KB) minio-debug.txt Michael Reynolds, 07/05/2018 07:54 AM
20123

Associated revisions

Revision b766e133 (diff)
Added by John Hixson about 1 year ago

Off by one

Ticket: #28508

Revision 35b2158d (diff)
Added by John Hixson about 1 year ago

Off by one

Ticket: #28508
(cherry picked from commit b766e13384149704857f6c88ab69f6ae0705ab28)

History

#1 Updated by Dru Lavigne about 1 year ago

  • Private changed from No to Yes
  • Reason for Blocked set to Need additional information

Francois: please attach a debug to this ticket (System -> Advanced -> Save Debug).

#2 Updated by Francois Beaudoin about 1 year ago

  • File debug-s3-20180214154735.tgz added

#3 Updated by Dru Lavigne about 1 year ago

  • Assignee changed from Release Council to Alexander Motin
  • Target version set to 11.2-RC2
  • Seen in changed from 11.1-U1 to 11.1-U1
  • Reason for Blocked deleted (Need additional information)

Sasha: please load balance. The error is in minio.log.

#4 Avatar?id=14398&size=24x24 Updated by Kris Moore about 1 year ago

  • Assignee changed from Alexander Motin to Brandon Schneider
  • Severity set to Medium

Probably needs some escaping or something in rc.conf. Sending this over to Brandon to investigate.

#5 Avatar?id=13649&size=24x24 Updated by Ben Gadd about 1 year ago

  • Due date set to 07/16/2018

#6 Updated by Brandon Schneider about 1 year ago

  • Status changed from Not Started to Blocked
  • Reason for Blocked set to Other: make note in comments

It seems S3 is more broken beyond just this. Pinged John and he's on it.

#7 Updated by John Hixson about 1 year ago

  • Reason for Blocked deleted (Other: make note in comments)

#8 Avatar?id=13649&size=24x24 Updated by Ben Gadd about 1 year ago

  • Category changed from OS to Middleware

#9 Updated by Brandon Schneider about 1 year ago

  • Status changed from Blocked to Not Started

#10 Updated by Dru Lavigne about 1 year ago

  • File deleted (debug-s3-20180214154735.tgz)

#11 Updated by Dru Lavigne about 1 year ago

  • Subject changed from minio to Fix winacl issue in minio
  • Status changed from Not Started to Ready for Testing
  • Assignee changed from Brandon Schneider to John Hixson
  • Target version changed from 11.2-RC2 to 11.2-BETA1
  • Private changed from Yes to No
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#14 Updated by Michael Reynolds 10 months ago

PS /var/log/minio.log is empty

#15 Updated by Michael Reynolds 10 months ago

John advised to add 'set -x' right after the shebang in the minio rc file and then attempt to
start the service again.

See full output in the attachment minio-debug.txt

I looked through the file and the issue seems to be .

+ [ -d /usr/local/etc/minio -a 40775 '!=' 40775 ]
+ [ ! -d '' ]
+ install -d -o minio -g minio ''
install: mkdir : No such file or directory
+ _return=71
+ [ 71 -ne 0 ]
+ [ -z '' ]
+ return 1
+ warn 'failed precmd routine for minio'
+ [ -x /usr/bin/logger ]
+ logger '/usr/local/etc/rc.d/minio: WARNING: failed precmd routine for minio'
+ echo '/usr/local/etc/rc.d/minio: WARNING: failed precmd routine for minio'
/usr/local/etc/rc.d/minio: WARNING: failed precmd routine for minio
+ return 1

there is an error stating "install: mkdir : No such file or directory"
however
[root@freenas ~]# ls -lad /usr/local/etc/minio/
drwxrwxr-x 2 minio minio 0 Jul 5 07:34 /usr/local/etc/minio/

Pinged John with results

#16 Updated by Michael Reynolds 10 months ago

  • Status changed from In Progress to Ready for Testing

Flipped back to Ready for Testing to avoid confusion

#17 Updated by Michael Reynolds 10 months ago

  • Status changed from Ready for Testing to Passed Testing
  • Needs QA changed from Yes to No

Re-tested this using INTERNAL17
I was able to create/set up/and log in to a minio share

#18 Updated by Dru Lavigne 10 months ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF