-
Notifications
You must be signed in to change notification settings - Fork 523
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with auto-mounting on boot #207
Comments
this is strange, can you include the output of --debug_s3? |
Is there a way to pass debug_s3 as a flag via fstab? I wont be able to get you the debug log otherwise, because this happens during boot |
yup just do --debug_s3 like you would with --file-mode. |
i am running into the same issue when using chef. i can manually run
https://gist.github.com/chasebolt/a28bac3785d2df8d1685d60cf8f19421 |
using |
I haven't had the chance to spin up a cluster to try and repro this issue. I'll try and get to it next week. |
seems like retrieving the IAM role is erroring:
@chasebolt are you sure your IAM is setup correctly? What if you write a wrapper script for goofys and sleep a bit first? |
I am having the same issue on an AWS Ubuntu 14.04 server. I have been running goofys since 0.0.9 and it has been great. I recently upgraded to 0.0.17-3d40e98 and decided to finally add an entry to my
I have this bucket setup for use with
I added the
After upgrading to 0.0.17, I also noticed a zombie process which I had never seen before on this server. Here is the output of
Here is the output of
The output of Besides not mounting on boot, it works perfectly and I've been very happy with the performance uploading files through |
I have the same issue. The version is v0.0.9 with CentOS 6.9 x64 and golang 1.7.6 and fuse 2.8.3.
After rebooting OS , fstab does not work. not mounting s3bucket.
But I can manually run mount command
Also
so, what is wrong with my setting ? |
@jeff-kilbride |
I have the same issue on Ubuntu 14, mount -a works post reboot but if you reboot the box, bucket is not mounting. |
for people who have reported this, it's not clear to me that they are all the same problem. So could you please attach your syslog with |
Here's a gist with the full syslog output of my last reboot: https://gist.github.com/jeff-kilbride/984c72e702988172be24a3d36e4e585a I couldn't find anything in there related to goofys, even with the |
Literally the same is true for me. I cannot see anything in the syslog when it does not mount it. It just does not do it and nothing gets logged despite having debug options set. |
@cblackuk Do you also have a zombie goofys process after reboot? |
@jeff-kilbride I cannot see any zombie processes no... also 1 out of 10 reboots it will actually mount it... the other 9 times it will not and I am making NO changes to it whatsoever... it is just magically working or magically not working.... but when it is working it spams syslog with all the debug logs... |
@jeff-kilbride Actually... you are correct! When it does not mount I can see: |
do all of you use IAM or credential from |
I use ~/.aws/credentials -- as root. |
Same |
I still have no clue about this. For people who use |
I tried adding
I'm still getting a zombie process when I reboot and my mount point is not there:
|
Hi @kahing, I've read this thread and others and have also not been able to get fstab to mount my S3 drive on bootup either. If I boot my machine and then type (as root):
It works fine. My fstab is exactly what's in the README.md:
But nothings shows in /var/log/kernlog. It looks like it doesn't even try. I've added --debug_s3 to my fstab:
...and rebooted, but still nothing shows. Of course, I do have the /root/.aws/credentials file correct, which is why "mount /root/s3" works. Any breakthrough on this point? |
Same for me, fstab and autofs not working. debug shows:
but ls /mnt/goofys/panthermedia-test/ not returning |
Not working for me either. The fstab line is: The file /root/.aws/credentials has valid creds and I even tried various file and dir permissions on it. But on reboot, it's not working. I see the pending processes in pstree output: mountall,450 --daemon And the syslog has this: |
If you look into the environment, is $HOME set correctly? |
Yes, it's /root when I'm logged in as root.
However, I have no idea if it's even set during the boot process.
…On Fri, Aug 17, 2018 at 5:00 PM Ka-Hing Cheung ***@***.***> wrote:
If you look into the environment, is $HOME set correctly?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#207 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AFrvnI-s0McX-U7vlxRwvxP-VWBLig10ks5uRy7kgaJpZM4Oh6ji>
.
|
Just an update... I recently moved my |
If you see a stuck process after boot, you can look into /proc/pid/environ to see the environment variables |
Ah, right, that worked. root@:~# ps -ef|grep [6]40 root@:~# strings /proc/640/environ root@:~# strings /proc/642/environ root@:~# strace -p 642 root@:~# gdb -p 642 |
@kahing : does it ring a bell? Any other debugging I could try? |
The issue is gone after switching to Ubuntu 16.04 |
Working fine on Ubuntu 18.04 too. |
confirmed as well. issue is gone after upgrading from 14 to Ubuntu 16.04 |
AufoFS still not working for us on Ubuntu 16 and 18. If we call
Debug of AutoFS:
|
@cr-solutions fuse issue seems to be tracked in #230 This issue here contains a lot of valuable debug approaches though! |
Not sure if this is related or helpful, but for me, this works CLI (on Ubuntu 20.04):
But this does not in the fstab:
|
For anyone who still have problem, i follow tutorial on this site https://creodias.eu/-/a-9-18 and it's work using fstab More less what I implement
|
I'm using goofys to mount (on-demand) S3 buckets to Ubuntu 16.04 images (on AWS). I'm noticing the following issue on mount where the filesystem isn't mounted.
I have the right IAM permissions and have the following /etc/fstab entry
I can confirm goofys works if I try to manually mount after boot with
Is there a way to robustly get goofys to mount files on startup?
The text was updated successfully, but these errors were encountered: