[Bug 1426280] Re: Devstack (Libvirt driver) install on Ubuntu 14.04.2 floating IPs not working

2015-03-13 Thread Boris Derzhavets
Correct command is :-
$ iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
It keeps floating IPs 100% usable and security rules 100% effective
Command like :-
$ iptables -t nat -A POSTROUTING -s 172.24.4.0/24 -j MASQUERADE
disables floating IPs  if 172.24.4.0/24 is devstack public network

Thank you for cooperation.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1426280

Title:
  Devstack (Libvirt driver) install on Ubuntu 14.04.2  floating IPs not
  working

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1426280/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1426280] Re: Devstack (Libvirt driver) install on Ubuntu 14.04.2 floating IPs not working

2015-02-27 Thread Ubuntu Foundations Team Bug Bot
Thank you for taking the time to report this bug and helping to make
Ubuntu better.  It seems that your bug report is not filed about a
specific source package though, rather it is just filed against Ubuntu
in general.  It is important that bug reports be filed about source
packages so that people interested in the package can find the bugs
about it.  You can find some hints about determining what package your
bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage.
You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit
https://bugs.launchpad.net/ubuntu/+bug/1426280/+editstatus and add the
package name in the text box next to the word Package.

[This is an automated message.  I apologize if it reached you
inappropriately; please just reply to this message indicating so.]

** Tags added: bot-comment

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1426280

Title:
  Devstack (Libvirt driver) install on Ubuntu 14.04.2  floating IPs not
  working

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1426280/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1426280] Re: Devstack (Libvirt driver) install on Ubuntu 14.04.2 floating IPs not working

2015-02-27 Thread Boris Derzhavets
Bug update :- On "qbra7a715f5-02" ICMP replies from VM are already lost

** Description changed:

-   $ git clone https://git.openstack.org/openstack-dev/devstack
- $ cd devstack
- $ ./stack.sh
+ $ git clone https://git.openstack.org/openstack-dev/devstack
+ $ cd devstack
+ $ ./stack.sh
  
-  Tested on VMs (F21 KVM Hypervisor) 4 GB RAM , 2 VCPUs running stack.sh
+  Tested on VMs (F21 KVM Hypervisor) 4 GB RAM , 2 VCPUs running stack.sh
  instance with Ubuntu 14.04.2 (1).
  
-   My local.conf.
+   My local.conf.
  
- [[local|localrc]]
- HOST_IP=192.169.142.52
- ADMIN_PASSWORD=secret
- MYSQL_PASSWORD=secret
- RABBIT_PASSWORD=secret
- SERVICE_PASSWORD=secret
- FLOATING_RANGE=192.168.10.0/24
- FLAT_INTERFACE=eth0
- Q_FLOATING_ALLOCATION_POOL=start=192.168.10.150,end=192.168.10.254
- PUBLIC_NETWORK_GATEWAY=192.168.10.15
- SERVICE_TOKEN=super-secret-admin-token
+ [[local|localrc]]
+ HOST_IP=192.169.142.52
+ ADMIN_PASSWORD=secret
+ MYSQL_PASSWORD=secret
+ RABBIT_PASSWORD=secret
+ SERVICE_PASSWORD=secret
+ FLOATING_RANGE=192.168.10.0/24
+ FLAT_INTERFACE=eth0
+ Q_FLOATING_ALLOCATION_POOL=start=192.168.10.150,end=192.168.10.254
+ PUBLIC_NETWORK_GATEWAY=192.168.10.15
+ SERVICE_TOKEN=super-secret-admin-token
  
- DEST=$HOME/stack
- SERVICE_DIR=$DEST/status
- DATA_DIR=$DEST/data
- LOGFILE=$DEST/logs/stack.sh.log
- LOGDIR=$DEST/logs
+ DEST=$HOME/stack
+ SERVICE_DIR=$DEST/status
+ DATA_DIR=$DEST/data
+ LOGFILE=$DEST/logs/stack.sh.log
+ LOGDIR=$DEST/logs
  
- FIXED_RANGE=10.254.1.0/24
- NETWORK_GATEWAY=10.254.1.1
+ FIXED_RANGE=10.254.1.0/24
+ NETWORK_GATEWAY=10.254.1.1
  
- # Services
- disable_service n-net
- enable_service q-svc
- enable_service q-agt
- enable_service q-dhcp
- enable_service q-l3
- enable_service q-meta
- enable_service horizon
- disable_service tempest
+ # Services
+ disable_service n-net
+ enable_service q-svc
+ enable_service q-agt
+ enable_service q-dhcp
+ enable_service q-l3
+ enable_service q-meta
+ enable_service horizon
+ disable_service tempest
  
  Security rules ( demo tenant, I ran `cd dev* && . openrc demo` )
  
- ubuntu@ubuntu-vm:~/devstack$ nova secgroup-list-rules default
- +-+---+-+---+--+
- | IP Protocol | From Port | To Port | IP Range | Source Group |
- +-+---+-+---+--+
- | | | | | default |
- | icmp | -1 | -1 | 0.0.0.0/0 | |
- | | | | | default |
- | tcp | 22 | 22 | 0.0.0.0/0 | |
- +-+---+-+---+--+
+ ubuntu@ubuntu-vm:~/devstack$ nova secgroup-list-rules default
+ +-+---+-+---+--+
+ | IP Protocol | From Port | To Port | IP Range | Source Group |
+ +-+---+-+---+--+
+ | | | | | default |
+ | icmp | -1 | -1 | 0.0.0.0/0 | |
+ | | | | | default |
+ | tcp | 22 | 22 | 0.0.0.0/0 | |
+ +-+---+-+---+--+
  
  I can login to VF21 instance only via qdhcp-namespace
  
- ubuntu@ubuntu-vm:~/devstack$ . openrc demo
- ubuntu@ubuntu-vm:~/devstack$ sudo ip netns exec 
qdhcp-94d8a1e6-89bf-4162-9fc3-061a9bc17737 ssh -i osxkey.pem fedora@10.254.1.4
- Last login: Wed Feb 25 22:01:09 2015 from 10.254.1.3
- [fedora@vf21rsx01 ~]$ uname -a
- Linux vf21rsx01.novalocal 3.18.7-200.fc21.x86_64 #1 SMP Wed Feb 11 
21:53:17 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
+ ubuntu@ubuntu-vm:~/devstack$ . openrc demo
+ ubuntu@ubuntu-vm:~/devstack$ sudo ip netns exec 
qdhcp-94d8a1e6-89bf-4162-9fc3-061a9bc17737 ssh -i osxkey.pem fedora@10.254.1.4
+ Last login: Wed Feb 25 22:01:09 2015 from 10.254.1.3
+ [fedora@vf21rsx01 ~]$ uname -a
+ Linux vf21rsx01.novalocal 3.18.7-200.fc21.x86_64 #1 SMP Wed Feb 11 
21:53:17 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
  
-  I have internet access && can run yum -y update.
+  I have internet access && can run yum -y update.
  
  I ping from 192.169.142.153 (host running stack.sh instance ) floating
  IP 192.168.10.154 ( private IP 50.0.0.13) . `tcpdump -vv -i eth0` is
  running inside VM (192.168.10.154, 50.0.0.13)
  
- 20:19:34.729398 IP (tos 0x0, ttl 63, id 42021, offset 0, flags [DF], 
proto ICMP (1), length 84)
- ip-192-169-142-53.ip.secureserver.net > 50-0-0-13.static.sonic.net: 
ICMP echo request, id 8588, seq 560, length 64
- 20:19:34.729696 IP (tos 0x0, ttl 64, id 41602, offset 0, flags [none], 
proto ICMP (1), length 84)
- 50-0-0-13.static.sonic.net > ip-192-169-142-53.ip.secureserver.net: 
ICMP echo reply, id 8588, seq 560, length 64
- 20:19:35.729432 IP (tos 0x0, ttl 63, id 42096, offset 0, flags [DF], 
proto ICMP (1), length 84)
- ip

[Bug 1426280] Re: Devstack (Libvirt driver) install on Ubuntu 14.04.2 floating IPs not working

2015-02-27 Thread Boris Derzhavets
Typo here, should be :-
I ping from 192.169.142.53 (host running stack.sh instance ) floating IP 
192.168.10.154 ( private IP 50.0.0.13) . `tcpdump -vv -i eth0` is running 
inside VM (192.168.10.154, 50.0.0.13)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1426280

Title:
  Devstack (Libvirt driver) install on Ubuntu 14.04.2  floating IPs not
  working

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1426280/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs