Comments (20)
(I am not an expert in Vagrant.)
What is your base OS? I know that it works on a mac with vagrant 1.8.5. I would check your vagrant version.
from ovn-kubernetes.
I am on ubuntu 16.04, with vagrant version 1.8.1, maybe it needs the latest, I will update and report back, thanks!
from ovn-kubernetes.
The fact that vagrant ssh does not work for you makes me believe that something is wrong with the "routes" that vagrant sets up. May be there is some conflict with the IP address that vagrant uses with your host routing table? I would also look at "route -n" to see whether there is conflicts.
from ovn-kubernetes.
And only do "vagrant up k8s-master" to save on time.
from ovn-kubernetes.
vagrant is trying to ssh, though local net 127.0.0.1 I would not see any profound conflict.
I also checked my route -n and do not see any 127.0.0.1 conflicts, I will try some other images also, see if they work.
from ovn-kubernetes.
Also when I try to ssh in the VM, the ubuntu/combination does not work, what is the password?
from ovn-kubernetes.
Doesn't using "vagrant ssh k8s-master" from the vagrant directory not work (I think it uses SSH keys)? I think using ssh via password is disabled. But let me check to make sure by spinning up a vagrant env.
from ovn-kubernetes.
May be you are hitting this?
https://bugs.launchpad.net/cloud-images/+bug/1569237
from ovn-kubernetes.
yes this is probable, however I tried some other images and the ssh never seems to work, it is strange..
I did a tcpdump and they seem to communicate with each other. And on the ubuntu/xenial image it just asks the password.
Shouldn't the ubuntu/ubuntu combination just work?
from ovn-kubernetes.
Shouldn't the ubuntu/ubuntu combination just work?
No. Nobody apparently knows the password for username "ubuntu". Just to make sure, doesn't "vagrant ssh k8s-master" not work from the vagrant directory?
from ovn-kubernetes.
No, it just asks for the unknown password, I also tried the bce13c362bdf6d1518510c23, which someone mentions with no luck.
For you the "vagrant ssh k8s-master" does not ask for a password right?
from ovn-kubernetes.
For you the "vagrant ssh k8s-master" does not ask for a password right?
No. It does not ask for a password. Did you upgrade your vagrant to atleast 1.8.5?
from ovn-kubernetes.
Yes i upgraded to 1.9.1
from ovn-kubernetes.
Yes i upgraded to 1.9.1
I don't know whether upgrading the virtualbox too will help. I am trying to see if trusty64 works.
from ovn-kubernetes.
Ok i somehow, managed to ssh into the VM
-
changed the image to bento/ubuntu-16.04
-
add the ssh_key part to the Vagrantfile
config.ssh.private_key_path = "~/.ssh/id_rsa"
config.ssh.forward_agent = true
- when you ssh, it again requests a password, with "vagrant" you get in.
However, vagrant up still cannot connect, and so the VM remains emtpy, as it does not execute any script further. And sidenote, although I have told it to use a private key, it still resorts to password method (??)
Would it make sense to run the scripts from inside the VM?
PS: This is with virtualbox 5.1, also upgraded.
from ovn-kubernetes.
Would it make sense to run the scripts from inside the VM?
It should work.
from ovn-kubernetes.
Btwn, I am available as "shettyg" in openvswitch IRC channel, if you prefer faster turnarounds.
from ovn-kubernetes.
Ok good to know, I will ping you from there, I will do a dry run on a Mac tomorrow, and let you know
Thanks for the support!
from ovn-kubernetes.
Surprisingly, I was able to "vagrant ssh k8s-master" on a Ubuntu 16.04 host with vagrant 1.9.1
from ovn-kubernetes.
I did a dry run on vagrant windows 10 works like a charm, then tried a fresh install on ubuntu 16.04 and it works!
NOTE: Always run vagrant with sudo (!!!)
from ovn-kubernetes.
Related Issues (20)
- node deletion results stale lsps and IP leaking on layer2/localnet networks HOT 1
- UT Flake: `handles a HO node is switched to a OVN node` is flaking HOT 3
- Flake e2e: ACL Logging for NetworkPolicy when the namespace's ACL logging annotation is updated
- Load Balancer Service Tests with MetalLB [It] Should ensure load balancer service works with 0 node ports when ETP=local
- Cleanup Hardware Offload docs
- Cleanup DPU Support/Acceleration docs
- Cleanup Kubevirt Live Migration docs HOT 2
- Cleanup MultiNetworking Docs HOT 2
- Cleanup DNS name resolver docs HOT 1
- Add proper docs for observability, grafana dashboards, metrics
- Fix the PR labeler action
- FLAKE: External Gateway With Admin Policy Based External Route CRs e2e multiple external gateway validation Should validate ICMP connectivity to multiple external gateways for an ECMP scenario IPV4 HOT 2
- Flake: should work on secondary node interfaces for ETP=local and ETP=cluster when backend pods are also served by EgressIP HOT 2
- ovn-kube-f and ovn-kube-u image renaming was incomplete HOT 1
- Support EgressIP for user defined networks
- Flake: [FAIL] External Gateway With Admin Policy Based External Route CRs e2e non-vxlan external gateway through a gateway pod Should validate ICMP connectivity to an external gateway's loopback address via a gateway pod [It] ipv4 HOT 3
- [FAIL] e2e egress firewall policy validation with external containers [It] Should validate the egress firewall policy functionality for allowed IP HOT 7
- Upgrades tests operation cancelled
- e2e EgressQoS validation -- account for single stack cluster
- Transit switch subnet overlap check is missing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ovn-kubernetes.