-
Notifications
You must be signed in to change notification settings - Fork 24
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
Running L3AFD on Azure VMs #38
Comments
@sanfern do you know the answer to the above question? |
Replace port 18080 with 8080, since in vagrant port forwarding rules have been enabled. In this case, we are in the same virtual machine. There is no need for port forwarding, we should use the same port as specified in the vagrant file. Are you successful in running go build or go install, if not please install go. |
@sanfern Hi Santhosh, I just tried running the go install . command but was unable to find ~/go/bin in the directory. Is this the wrong command? How should I proceed? |
Can you execute |
@sanfern I was able to find ~/go/bin in the directory. However, after continuing with the installation process, I ran the sudo ./l3afd --config /vagrant/cfg/l3afd.cfg command and received the following errors: Additionally, after I ran curl -X POST http://localhost:37080/l3af/configs/v1/update -d "@cfg/payload.json", I also received these following errors: How do I resolve both of these errors? |
Provisioning on Linux VMs is supported |
What I did:
Error distribution:
[200] Get "http://localhost:18080": dial tcp 127.0.0.1:18080: connect: connection refused
Issues:
Due to the above error message, where is the server 18080 coming from and how do I start it?
I saw that in config.yaml, there is a port 18080. Then, I saw that config.yaml is referenced in the Vagrantfile, where I found that the cfg variable, which is joined to config.yaml, is referenced in the following line of code:
config.vm.synced_folder cfg['host_l3afd_code_dir'], "/home/vagrant/code/l3afd"
The above directory does not exist because I am not using a Vagrant VM, I am using an Azure VM.
How should I proceed?
In the instruction "On the VM, go to ~/code/l3afd and run go install ." the ~/code/l3afd directory does not exist because I am using an Azure VM. Additionally, in the instruction "On the VM, go to ~/go/bin and run l3afd as root: sudo ./l3afd --config /vagrant/cfg/l3afd.cfg", the ~/go/bin directory also does not exist.
The text was updated successfully, but these errors were encountered: