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

Network does not work with ruby-rails, ruby-publify capstan image #430

Closed
syuu1228 opened this issue Jul 31, 2014 · 2 comments
Closed

Network does not work with ruby-rails, ruby-publify capstan image #430

syuu1228 opened this issue Jul 31, 2014 · 2 comments

Comments

@syuu1228
Copy link
Contributor

ruby-rails, ruby-publify images don't work with capstan build && capstan run.

I tested with following command, tried to send ping to 192.168.122.15, but I got Destination Host Unreachable.

$ capstan run -n 'bridge' -b virbr0 ruby-rails
Created instance: ruby-rails
OSv v0.11
eth0: 192.168.122.15
=> Booting WEBrick
=> Rails 4.1.4 application starting in development on http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
=> Notice: server is listening on all interfaces (0.0.0.0). Consider using 127.0.0.1 (--binding option)
=> Ctrl-C to shutdown server
[2014-07-31 18:30:35] INFO  WEBrick 1.3.1
[2014-07-31 18:30:35] INFO  ruby 2.1.2 (2014-05-08) [x86_64-linux]
[2014-07-31 18:30:35] INFO  WEBrick::HTTPServer#start: pid=0 port=3000
$ ping 192.168.122.15
PING 192.168.122.15 (192.168.122.15) 56(84) bytes of data.
From 192.168.122.1 icmp_seq=1 Destination Host Unreachable
From 192.168.122.1 icmp_seq=2 Destination Host Unreachable
From 192.168.122.1 icmp_seq=3 Destination Host Unreachable
From 192.168.122.1 icmp_seq=4 Destination Host Unreachable

I able to get ECHO reply from "osv" image.

$ capstan run -n 'bridge' -b virbr0 cloudius/osv
Created instance: cloudius-osv
OSv v0.11
eth0: 192.168.122.47

[/]% 
$ ping 192.168.122.47
PING 192.168.122.47 (192.168.122.47) 56(84) bytes of data.
64 bytes from 192.168.122.47: icmp_seq=1 ttl=64 time=0.129 ms
64 bytes from 192.168.122.47: icmp_seq=2 ttl=64 time=0.125 ms
64 bytes from 192.168.122.47: icmp_seq=3 ttl=64 time=0.067 ms

Actually, ruby-rails, ruby-publify are works finely with run.py, even on ECE/GCE as Minoru reported.

@slivne
Copy link
Contributor

slivne commented Oct 28, 2014

@syuu1228 is this still open - I know you have checked capstan with ruby recently

@syuu1228
Copy link
Contributor Author

syuu1228 commented Nov 1, 2014

Doesn't reproduce on latest capstan/osv.

@syuu1228 syuu1228 closed this as completed Nov 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants