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

Missing /var/snap/subutai/common/lxc/ in 6.3.1 #173

Open
happyaron opened this issue Dec 20, 2017 · 2 comments
Open

Missing /var/snap/subutai/common/lxc/ in 6.3.1 #173

happyaron opened this issue Dec 20, 2017 · 2 comments
Labels

Comments

@happyaron
Copy link
Contributor

In a fresh installation of Ubuntu 16.04.3 RH, /var/snap/subutai/common/lxc/ does not exist, so that management container cannot be imported:

root@ubuntu:~# subutai import management
INFO[2017-12-20 19:20:57] Importing management
INFO[2017-12-20 19:20:59] CDN unreachable, retrying
INFO[2017-12-20 19:21:04] CDN unreachable, retrying
INFO[2017-12-20 19:21:09] Version: 6.3.1
INFO[2017-12-20 19:21:09] Template's owner signature verified
INFO[2017-12-20 19:21:09] Downloading management
FATA[2017-12-20 19:21:09] Creating file management-subutai-template_6.3.1_amd64.tar.gz, open /var/snap/subutai/common/lxc/tmpdir/management-subutai-template_6.3.1_amd64.tar.gz: no such file or directory

Creating the tmpdir manually can work around it:
mkdir -p /snap/subutai/common/lxc/tmpdir

@dilshat
Copy link
Member

dilshat commented Dec 21, 2017

For proper manual installation of snap one should consult this doco: https://github.com/subutai-io/snap/wiki/Installation-of-Subutai-snap-package

Specifically it is mentioned there:
Initialization of BTRFS storage volume for Subutai

The appropriate partition (or disk), say /dev/sdb, should be present prior to running the btrfsinit script

Otherwise, one could benefit from using either one of our Vagrant boxes or autobuild.sh script

@dilshat
Copy link
Member

dilshat commented Dec 21, 2017

Creating the tmpdir manually can work around it:
mkdir -p /snap/subutai/common/lxc/tmpdir

This is not a good solution for fresh installs since BTRFS won't be inited in this case
This works for already existing peers where for some reason the aforementioned folder is missing

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

No branches or pull requests

2 participants