-
Notifications
You must be signed in to change notification settings - Fork 26
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
bare metal installation fails due to missing dependencies #117
Comments
Hi @crockercaria! Thanks for trying out knix. How did you obtain the knix source? Did you clone the repo or just downloaded it as a zip? The errors |
I used a quick shallow git clone (--depth=1). I will do a full clone and try again. Update: TASK [install riak if not present] ************************************************************************************************************************************************************************* Full log |
Update: TASK [install riak if not present] ************************************************************************************************************************************************************************* Full log above |
Thanks! I've also encountered a similar problem when I was trying to do an ansible installation with Ubuntu 20.04. The If you manually install this library from the above link, you should be able to move forward. Note that I obviously cannot give any guarantees whether this will cause any other errors with other stuff running on your computer (perhaps make this a VM dedicated for knix if you're testing things out?). As a personal data point, I am running 20.04 for about a year now and I have not seen any issues with the manually installed library. |
The ansible setup does not seem to work ! I have tried different branches (baster and develop) - same problems. I also tried some alterations to the Docker file (riak) - no luck either. I have tried compiling the helm chart targets - conatiners etc and there is no problem here. (however I do not have kubernetes set up) |
What are the error messages you see? What kind of alterations did you make to the Dockerfile? Did you try my suggestion about the |
The ansible Makefile also creates log files for each component in the same folder. You can also check those out. |
The suggestion about libssl on ubuntu 20.04 worked ok abd the riak images are built ok. I am in fact using a dedicated VM. Also the open ports are (except sshd) but maybe I should tun off ipv6 ? |
I assume that you run the curl command inside the VM? The elasticsearch build running 20+ doesn't sound right. What are the specs of your VM? |
I run curl inside the VM . i turned off ip6. |
Honestly speaking, 2GB memory might not be enough, but let us know. The build times depend on the spec you're building on: the more cpu and/or memory you have, the shorter. |
Thanks for the help . I have upped the memory to 6GB as I see that each java process is consuming at 1.2GB and total memory use for the build is currently about at 4GB. |
Any progress? |
I left it running remotely these days. |
|
Please check whether the management service is running by If not, then please go to the installation directory you specified in the settings file for ansible (by default, Then check again the management service and/or the browser. |
Dear iakkus. Many thanks for your help. I decided to have one last go and install a new VM - ubuntu18.04 LTS and assign all the memory to the VM and let Hyper-V dynamically manage the physical memory - it bumps along ok by assigning about 12GB of physical memory Other dependencies need to be installed seperately after checking the log files. Anyway it finaly finsihed the make process and I can run the qr code example. So you can close this issue. My recipe (ubuntu 18.04) is below sudo apt-get update ..setup ssh keys for ssh login without password sudo apt update sudo pip3 install --upgrade pip ##upgrade pip sudo pip3 install netaddr git clone knix ... |
Glad you could make it work and thanks for the steps you have taken. We need to update the installation steps to include the missing dependencies for rust ansible. Will close this when that's done. |
Dear iakkus. A few days ago, I did the experiment and I met some problems. When I made in the directory of knix/deploy/ansible, the screen shows some errors. The content of screen shows as follows: |
Hello, The package build-essential seems to be failing. It looks like it might have encountered a network error. Please try it again. If it still fails, then you can try:
Hope this helps. |
Was this issue resolved? I am also having issues using an ubuntu 20.04 target machine and seeing a To me it seems like libssl has a newer version on Ubuntu 20.04 and newer ( Edit: upon looking a little deeper, this seems to be due to the fact that riak is built using an ubuntu 18.04 docker image (using libssl1.0.0, see Line 26 in 8996023
Line 136 in 8996023
|
can confirm, setting up a new VM with ubuntu 18.04 seems to allow me to get past this issue |
I assume that I can install KNIX via an ansible installation on localhost as described in https://knix.io/documentation.html
However I am unable to and I am not able to see the reason why or solution.
Also why is there a repository on port 5000.
Perhaps the documentation is missing some information.
thanks
I have Ubuntu 20.04
I have fetched knix from git in order to get the cfg files and the code
After following the steps in the documentation.html without problem when I run make all I get is
vagrant@ubuntu2004:~/ansible/knix/deploy/ansible$ make
cd ../../riak && make lib/jiffy.tgz && cd -
make[1]: Entering directory '/home/vagrant/ansible/knix/riak'
fatal: No names found, cannot describe anything.
..
fatal: No names found, cannot describe anything.
mkdir -p lib
echo "Building jiffy"
Building jiffy
Error response from daemon: no such image: riak_libs_build:: invalid reference format
invalid reference format
Error parsing reference: "localhost:5000/riak_libs_build:" is not a valid repository/tag: invalid reference format
Error response from daemon: no such image: riak_libs_build:: invalid reference format
Dockerfile is newer than the container
invalid argument "riak_libs_build:" for "-t, --tag" flag: invalid reference format
The text was updated successfully, but these errors were encountered: