Ask Your Question

capzulu's profile - activity

2016-12-03 11:19:05 -0500 received badge  Famous Question (source)
2016-03-07 15:38:47 -0500 received badge  Famous Question (source)
2016-02-01 11:54:35 -0500 received badge  Notable Question (source)
2016-02-01 11:54:35 -0500 received badge  Popular Question (source)
2015-10-22 13:31:57 -0500 answered a question HEAT OS::Nova::Flavor doesn't exist in Kilo

I found the solution here https://github.com/openstack/heat/tree/stable/kilo/contrib/nova_flavor (https://github.com/openstack/heat/tre...)

2015-10-22 07:00:08 -0500 asked a question HEAT OS::Nova::Flavor doesn't exist in Kilo

Hello,

According to the HEAT resources http://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Nova::Flavor (documentation), in the Kilo version HEAT supports the OS::Nova::Flavor resource.

But in my OpenStack (Kilo version) I don't see that resource at the "Resource Types" listing and when I try to create a stack with a template using that resource, Heat shows "ERROR: Unknown resource Type : OS::Nova::Flavor".

Is the documentation correct? Do I need to do something to enable this resource?

Thanks

2015-05-18 00:58:49 -0500 received badge  Notable Question (source)
2015-05-14 01:37:54 -0500 received badge  Popular Question (source)
2015-05-13 13:44:22 -0500 asked a question Update floating ip pool range

I need to add more floating IPs to the external network pool, but I don't want to mess with the already allocated floating IPs.

It's possible to add more floating IPs to the external network pool without deleting it or deallocate the already allocated floating IPs?

2014-12-26 10:06:40 -0500 received badge  Famous Question (source)
2014-11-12 09:43:32 -0500 received badge  Notable Question (source)
2014-11-12 05:33:51 -0500 received badge  Scholar (source)
2014-11-12 05:33:16 -0500 received badge  Supporter (source)
2014-11-07 04:50:53 -0500 received badge  Popular Question (source)
2014-11-06 09:52:22 -0500 asked a question Is there a OpenVPN driver for VPNaaS?

The title says it all.

I'm using the Openswan driver. Is there an OpenVPN driver?

Where can I see list of available drivers for VPNaaS?

2014-10-13 07:22:20 -0500 commented answer Set up devstack with two ethernet interfaces

I guess that this problem is regarding communication with VLAN and your guide doesn't cover that.

2014-10-13 07:20:09 -0500 commented question Set up devstack with two ethernet interfaces

I installed Wireshark and checked that when I ping from the physical machine to the router/ VM inside devstack there is an ARP communication (request and reply) and my physical machine stores the MAC address inside the arp table. But the ICMP PING or other kind of communication, doesn't get through

2014-10-08 05:20:50 -0500 received badge  Famous Question (source)
2014-10-07 02:06:14 -0500 received badge  Notable Question (source)
2014-10-04 21:02:46 -0500 received badge  Popular Question (source)
2014-10-03 11:00:15 -0500 asked a question Set up devstack with two ethernet interfaces

I'm trying to setup a devstack VM using virt-manager. The VM must have two interfaces: 1 interface to internet (eth0) and 1 interface to connect to another physical machine (eth1). I setup this at my local.conf:

[[local|localrc]]

DEST=/opt/stack

FLAT_INTERFACE=eth0

# Passwords and token
ADMIN_PASSWORD=admin
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
SERVICE_TOKEN=a682f596-76f3-11e3-b3b2-e716f9080d50

# Fixed and floating subnets
FIXED_RANGE=10.100.27.0/24
#FLOATING_RANGE=192.168.200.0/24
NETWORK_GATEWAY=10.100.27.1
PUBLIC_NETWORK_GATEWAY=172.24.4.225
Q_FLOATING_ALLOCATION_POOL=start=172.24.4.226,end=172.24.4.231

# Reclone each time
RECLONE=yes

# Disable Nova Networking
disable_service n-net

# Neutron - Networking Service
enable_service q-svc
enable_service q-agt
enable_service q-dhcp
enable_service q-l3
enable_service q-meta
enable_service q-metering
enable_service neutron

# Neutron - VPN as a Service
enable_service q-vpn

Q_PLUGIN=ml2
Q_ML2_PLUGIN_MECHANISM_DRIVERS=openvswitch
Q_ML2_PLUGIN_TYPE_DRIVERS=flat,vlan
ML2_VLAN_RANGES=physnet0:2000:2999,physnet1:3000:3999
ENABLE_TENANT_VLANS=True
PHYSICAL_NETWORK=physnet0
OVS_PHYSICAL_BRIDGE=br-eth0
OVS_BRIDGE_MAPPINGS=physnet0:br-eth0,physnet1:br-eth1

The devstack buildss successfuly. The instances created in openstack have internet communication. I then create a provider network that maps with physnet1:

neutron net-create provider --shared --provider:network_type vlan --provider:physical_network physnet1 --provider:segmentation_id 3500

And create a subnet:

neutron subnet-create --name provider_subnet provider 10.100.28.0/24

I launch a VM and a router in this new network and they ping each other. Then I add eth1 to br-eth1 with:

ovs-vsctl add-br br-eth1 eth1

So that network maps in the eth1 interface. Then I connect a physical machine to eth1 with a network cable and set the the vlan ID 3500 for the interface. When I try to ping from the physical machine to the router or the VM inside devstack I don't get communication.

Is there any missing configuration in devstack local.conf?

Thank you

2014-10-03 10:59:58 -0500 received badge  Editor (source)
2014-04-28 00:58:46 -0500 received badge  Famous Question (source)
2014-04-14 04:32:26 -0500 received badge  Notable Question (source)
2014-02-26 10:44:05 -0500 commented question Problem with bridging two networks with a VM

So, do I need to disable security groups in horizon? I've found this https://ask.openstack.org/en/question/9592/disabling-security-groups-in-horizon/ Or do I need to clear the iptables relating to that VM interfaces. My VM don't have ip address, so only do layer 2 communication. Do I need to use iptables or ebtables?

2014-02-25 17:39:14 -0500 received badge  Popular Question (source)
2014-02-25 07:19:21 -0500 commented question Problem with bridging two networks with a VM

Thank you for your help. I did turned off hairpin and the "ARP craziness" stopped. My VM in the green network receives the ARP Reply from the router. It populates it's arp table. But for the ICMP packets (ping), I can they are going out but the VM connecting the two networks don't see that packets.

2014-02-25 05:26:47 -0500 received badge  Enthusiast
2014-02-24 07:09:41 -0500 commented question Problem with bridging two networks with a VM

I am doing virtualization of network functions (NFV). In this scenario I'm trying to implement a WOC (WAN Optimization Controllers). A WOC needs a layer 2 VM that can connect two network segments.

2014-02-21 10:04:59 -0500 asked a question Problem with bridging two networks with a VM

Hello,

I'm struggling with this problem the last two weeks.

I'm using Openstack Havana and I want to implement this network topology.

http://s15.postimg.org/dzgz6j1ob/Capture.png (image description)

The network configuration is the follow:

  • All the VM's are using Ubuntu Server 12.04;
  • The orange network have a DHCP server and the gateway is the router connected to this network;
  • The green network don't have DHCP Server as I configure a static IP in the VM connected to this network.
  • The VM with a blue circle have eth0 connected to orange network and eth1 connected to green network.

I want the VM from the green network to be able to talk to other VM's from orange network and to the router. All the comunications will go through the VM (blue circle) that are connecting the two networks, like a layer 2 bridge.

Info: Don't tell me that I can use a router to connect the two networks, as I need it to be connected using a VM.

All the VM's from orange network are talking with each other and with the Internet. All is good.

So, I need to configure the bridge VM (blue circle VM) to act like a layer 2 bridge. This is done inside the VM:

sudo ifconfig eth0 0.0.0.0 down
sudo ifconfig eth1 0.0.0.0 down
sudo brctl addbr br0
sudo brctl addif br0 eth0
sudo brctl addif br0 eth1
sudo ifconfig eth0 promisc up
sudo ifconfig eth1 promisc up
sudo ifconfig br0 promisc up

Ok, now I have the two interfaces bridged and theoretically all the packets can be passed from one network to the other network, because of the promisc mode....theoretically.

Next I go inside the VM connected in the green network and do this:

sudo ifconfig 192.168.10.20 netmask 255.255.255.0
sudo route add default gw 192.168.10.1

I give it an IP and I add a default gateway, that is the router in the orange network.

Now it's time to test the connection. I place tshark in one of the tap network in the bridge VM

sudo tshark -n -i tap383f8a7c-86

And I do a ping from the VM that are connected to the green network

ping 192.168.10.1 (This is the IP of the router)

This is when the strange things happen. The network traffic at the bridge goes crazy. So as you can see I created a pastebin output. http://www.pastebin.ca/2645009 (ARP craziness)

With the tshark information, I can see that the bridge catches the ARP Request (broadcast) and the ARP Reply (unicast)

But the VM in the green network outputs me this:

PING 192.168.10.1 (192.168.10.1) 56(84) bytes of data.
From 192.168.10.20 icmp_seq=1 Destination Host Unreachable
From 192.168.10.20 icmp_seq=2 Destination Host Unreachable
From 192.168.10.20 ...
(more)