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

UCD does not work with configurable cloud VM #26

Open
markdryan opened this issue Feb 28, 2018 · 0 comments
Open

UCD does not work with configurable cloud VM #26

markdryan opened this issue Feb 28, 2018 · 0 comments

Comments

@markdryan
Copy link
Contributor

markdryan commented Feb 28, 2018

ccloudvm is a tool for building VM based development environments from cloud images, such as clear linux. Unfortunately, I'm having some issues getting it to work with Clearlinux.

Most of the issues are related to the bugs below

#24
#25
#27
#28
#29
#30

I'm adding this issue as a meta bug to track everything. It's also a good place to keep the instructions needed to reproduce the issues. And here they are.

Download and install Go

Go 1.8 or above should work. If you don't have Go installed run the following commands.

  1. wget https://dl.google.com/go/go1.10.linux-amd64.tar.gz
  2. sudo tar -C /usr/local -xzf go1.10.linux-amd64.tar.gz
  3. export PATH=$PATH:/usr/local/go/bin
  4. export PATH=$PATH:$(go env GOPATH)/bin

Build the ccloudvm branch that supports clearlinux

  1. go get -d github.com/intel/ccloudvm/...
  2. cd $(go env GOPATH)/src/github.com/intel/ccloudvm
  3. git checkout -b markdryan-clear master
  4. git pull https://github.com/markdryan/ccloudvm.git clear
  5. go install ./...
  6. ccloudvm setup

Create a clearlinux instance

  1. ccloudvm create --debug clear-20910

Note that the command will never complete. This is because the cloud-init file is not processed correctly. However, if you follow the on screen instructions you should see a command that will allow you to connect to the instance, i.e., you should see something like this.

Booting VM with 1024 MiB RAM and 1 cpus
To connect to the instance during its creation type

	ssh -q -F /dev/null -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o IdentitiesOnly=yes -i /home/user/.ccloudvm/id_rsa 127.3.232.1 -p 10022

Copy and paste that command into a new terminal and you should be able to connect to the instance. You may need to wait 10 seconds or so before the instance boots. Once connected to the instance you can check the ucd errors using journalctl.

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

1 participant