Ask Your Question

jbmolle's profile - activity

2015-05-04 14:10:31 -0500 received badge  Famous Question (source)
2015-05-04 07:10:33 -0500 answered a question Public IPv6 for tenant VMs with Kilo

Finally I managed to have my cloud working with IPv6. I followed Robert's Solution 1. I had to add the physical interface to br-ex and configure ml2 plugin on compute node with bridge_mappings=external:br-ex After that I could ping my VMs from the compute node but not from the internet. I don't control the upstream router which is provided by my ISP. I had to do the following on the compute node: ip neigh add proxy "IPv6 address of the VM" dev br-ex Hope it can help others!

2015-04-27 03:56:46 -0500 received badge  Notable Question (source)
2015-04-23 01:02:54 -0500 commented answer Public IPv6 for tenant VMs with Kilo

Thanks Robert! I'll try that in the next few days and let you know if I have any further problems.

2015-04-22 08:45:37 -0500 received badge  Popular Question (source)
2015-04-20 12:02:59 -0500 asked a question Public IPv6 for tenant VMs with Kilo

Hi,

I've installed OpenStack Kilo on a 3 node architecture and I have a /64 IPv6 public network. The controller node has 2001:dbd9:xxxx:xxxx::1/64 address, the network node 2001:dbd9:xxxx:xxxx::2/64 address and the compute node 2001:dbd9:xxxx:xxxx::3/64 address.

I have 2 tenants admin and user. With the admin tenant I create the shared flat external network: neutron net-create ext-net --shared --router:external --provider:physical_network external --provider:network_type flat

I would like to give public IPv6 access to my instances.

Solution 1: Create a IPv6 subnet neutron subnet-create ext-net --name ext-sub6 --ip-version 6 --ipv6_address_mode=slaac --ipv6_ra_mode=slaac --allocation-pool start=2001:dbd9:xxxx:xxxx::5,end=2001:dbd9:xxxx:xxxx::500 2001:dbd9:xxxx:xxxx::/64 Launch a VM from admin or user tenant: nova boot --image 1 --flavor 1 my-instance I get an error "No valid host was found" every time I tried to boot an instance directly on the provider network.

Solution 2: Create a IPv6 subnet, a user tenant network and subnet, a router to link the user tenant network and the provider network. neutron subnet-create ext-net --name ext-sub6 --ip-version 6 --ipv6_address_mode=slaac --ipv6_ra_mode=slaac --allocation-pool start=2001:dbd9:xxxx:xxxx::5,end=2001:dbd9:xxxx:xxxx::500 2001:dbd9:xxxx:xxxx::/64 source user-tenant.sh (to get the user tenant parameters) neutron net-create user-network neutron subnet-create user-network --name user-sub6 --ip-version 6 --ipv6_address_mode=slaac --ipv6_ra_mode=slaac fd01:dbd9:xxxx:xxxx::/64 neutron router-create user-router neutron router-interface-add user-router user-sub6 neutron router-gateway-set user-router ext-net nova boot --image 1 --flavor 1 my-instance This time the instance boots without any problem. But it's not possible to associate floating IPv6 so I can't reach the instance from the public network.

Solution 3: No subnet on external network. source user-tenant.sh (to get the user tenant parameters) neutron net-create user-network neutron subnet-create ext-net --name ext-sub6 --ip-version 6 --ipv6_address_mode=slaac --ipv6_ra_mode=slaac --allocation-pool start=2001:dbd9:xxxx:xxxx::5,end=2001:dbd9:xxxx:xxxx::500 2001:dbd9:xxxx:xxxx::/64 (I use my public IPv6 network for the subnet pool) neutron router-create user-router neutron router-interface-add user-router user-sub6 neutron router-gateway-set user-router ext-net nova boot --image 1 --flavor 1 my-instance The VM boots but I can't reach it from the internet.

Also if I create a port on the provider network, I can't attach it to my VM started on the user tenant private network.

Thanks a lot for any help I could get, JB

P.S: I've read Thiago Martins's guide but I can't attach a VM directly to the provider network in a 3 node architecture.

2015-04-20 11:09:21 -0500 received badge  Famous Question (source)
2014-11-25 16:10:03 -0500 received badge  Notable Question (source)
2014-11-24 08:32:03 -0500 received badge  Supporter (source)
2014-11-19 02:31:35 -0500 commented answer Floating IPv6

I've already read this guide. Problem is when creating the neutron flat network: If I create sharednet1 without the options shared, network_type, physical_network, I can boot an instance Otherwise I can create and ping a router but when I start an instance the message is "No valid host was found"

2014-11-19 01:07:16 -0500 received badge  Popular Question (source)
2014-11-18 09:36:51 -0500 received badge  Famous Question (source)
2014-11-18 09:36:33 -0500 asked a question Floating IPv6

Hi,

I'm starting an instance and I would like to give it a public IPv6. When I'm doing it with IPv4 it works great. My network node has IP 10.10.30.1, the router 10.10.30.2 and my first instance 10.10.30.5.

When I do the same with IPv6, the network node can't ping a VM with publick floating IPv6. How can I advertize a VM on the public network and ping it from any computer on internet with IPv6 capabilities?

I'm using Openstack Juno.

Thanks, JB

2014-11-06 14:09:36 -0500 received badge  Notable Question (source)
2014-11-06 07:44:07 -0500 answered a question Memory state snapshot

Great! I thought suspending wasn't realising memory and vCPUs but it indeed does it. Thanks a lot JB

2014-11-06 07:41:38 -0500 received badge  Popular Question (source)
2014-11-06 05:25:02 -0500 asked a question Memory state snapshot

Hi,

I have installed Openstack Juno on Ubuntu 14.04 servers. I have 3 servers: controller, compute and network. I am developing a streaming cloud app on Android. When a user click on the app on his smartphone, it sends a message to the controller node so that it boots an Ubuntu server instance (with nova). After the booting process, a startup script opens a port on the instance. The Android app receives a response with the IP and port of the instance and start a TCP connection. Data are then streamed accordingly.

My problem is that the booting process is quite long (1 or 2 minutes). The instance is first created, then I need to wait for the Ubuntu boot process and finally the TCP port is opened. Is it possible to create a snapshot that is already in the TCP port opened state? It would be like the "Save State" of VirtualBox. Is it possible to save the memory state inside the snapshot and if yes how to do it and restore it in the instance?

Thanks for your help, JB

2014-08-20 08:41:56 -0500 received badge  Enthusiast
2014-08-16 08:43:19 -0500 received badge  Famous Question (source)
2014-08-12 11:31:33 -0500 received badge  Student (source)
2014-08-12 05:41:15 -0500 received badge  Notable Question (source)
2014-08-12 00:46:14 -0500 commented question WAN device to virtual instance on private network

Hi smaffulli, I changed the title to be more broad on the question

2014-08-12 00:44:59 -0500 edited question WAN device to virtual instance on private network

Hi all,

I'm working on an expiremental project using Android and OpenStack. For now we have 3 servers running Ubuntu Server 14.04 and OpenStack Icehouse, one is the controller node, one the network node and the last one the compute node.

The aim of the project is to create a kind of cloud gaming platform for Android users. Until now we managed to have the server / client software running. Suppose an Android tablet owner is at home behind his router and my server public ip is 200.20.20.20. When the user click on the app button on his Android tablet, a socket connection will be created and the tablet will connect to the server at the server ip and port 12345. The server is running the game and sending back the images through the socket. That works.

Now we want to scale the service. So instead of having one physical server, we would like to have instances on an OpenStack cloud. We managed to install the cloud following the OpenStack documentation for Ubuntu and we created 3 instances VM1, VM2, VM3 with private ip 192.168.1.11, 192.168.1.12, 192.168.1.13 so that up to 3 clients can play at the same time with their tablets.

The problem is that we don't have 3 public IPs but just one. How could we solve our problem? What we would like to do is the following: - We have a webservice on IP 200.20.20.20 - We have an OpenStack Neutron router on IP 200.20.20.21 When the tablet launches the app, it connects to the webservice. The webservice tells the controller node to start a virtual instance (let's say VM2). The webservice tells the tablet that it should connect to VM2(with address 192.168.1.12) behind the router at public address 200.20.20.21.

Thanks for your help! JB

2014-08-12 00:44:59 -0500 received badge  Editor (source)
2014-08-12 00:43:50 -0500 received badge  Popular Question (source)