Skip to content
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

Unable to install/configure ZFS on ubuntu (EC2 AMI) #28

Open
jayfk opened this issue Aug 26, 2015 · 1 comment
Open

Unable to install/configure ZFS on ubuntu (EC2 AMI) #28

jayfk opened this issue Aug 26, 2015 · 1 comment

Comments

@jayfk
Copy link

jayfk commented Aug 26, 2015

Stacktrace:

configure: error: in `/var/lib/dkms/spl/0.6.4.2/build':
configure: error: C compiler cannot create executables
See `config.log' for more details
Error! Bad return status for module build on kernel: 3.13.0-48-generic (x86_64)
Consult /var/lib/dkms/spl/0.6.4.2/build/make.log for more information.
configure: error:
*** Please make sure the kmod spl devel <kernel> package for your
*** distribution is installed then try again.  If that fails you
*** can specify the location of the spl objects with the
*** '--with-spl-obj=PATH' option.
Error! Bad return status for module build on kernel: 3.13.0-48-generic (x86_64)
Consult /var/lib/dkms/zfs/0.6.4.2/build/make.log for more information.
Failed to load ZFS module stack.
Load the module manually by running 'insmod <location>/zfs.ko' as root.
Traceback (most recent call last):
  File "/Users/j/dev/.virtualenvs/flocker/bin/flocker-install", line 9, in <module>
load_entry_point('UnofficialFlockerTools==0.3', 'console_scripts', 'flocker-install')()
  File "/Users/j/dev/.virtualenvs/flocker/lib/python2.7/site-packages/unofficial_flocker_tools/install.py", line 52, in main
""")
  File "/Users/j/dev/.virtualenvs/flocker/lib/python2.7/site-packages/unofficial_flocker_tools/utils.py", line 17, in runSSH
return subprocess.check_output(command, shell=True)
  File "/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 573, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command 'ssh -o LogLevel=error -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i ~/.ssh/foo.pem [email protected] sh -c 'echo installing-zfs
add-apt-repository -y ppa:zfs-native/stable
apt-get update
apt-get -y --force-yes install libc6-dev zfsutils
mkdir -p /var/opt/flocker
truncate --size 10G /var/opt/flocker/pool-vdev
zpool create flocker /var/opt/flocker/pool-vdev
'' returned non-zero exit status 1
@lukemarsden
Copy link
Contributor

Hi @jayfk - thanks for trying this out and I'm sorry you had trouble with it. Which AMI exactly did you use? Was this Ubuntu 14.04? We'll try to reproduce the problem and get back to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants