Ask Your Question

Scott MacNeill's profile - activity

2017-05-10 22:51:25 -0500 received badge  Famous Question (source)
2017-02-24 04:45:21 -0500 received badge  Famous Question (source)
2016-10-26 13:41:21 -0500 answered a question Communicate between the instances hosted on different compute nodes using private network

did you connect the interfaces to the router?

Creating your router:

neutron router-create router1
neutron router-gateway-set ROUTER NETWORK
neutron router-interface-add ROUTER SUBNET

Ports: Create a port with specified IP address:

neutron port-create net1 --fixed-ip ip_address=192.168.x.y

should have the ports for all your attached networks

2016-10-26 12:39:33 -0500 answered a question Where is the download for older versions of Mirantis ?

Is this what you're looking for? Also note the unsupported tab.

http:// tinyurl . com / jcgj4d8

Sorry, i cant post full links yet.. not enough karma!

2016-10-26 12:35:31 -0500 answered a question how openstack decide kvm or qemu

In the nova-compute.conf file:

[libvirt] ... virt_type = kvm

2016-10-26 06:32:04 -0500 received badge  Notable Question (source)
2016-10-26 00:39:11 -0500 received badge  Popular Question (source)
2016-10-25 11:58:13 -0500 commented answer Can't Assign Network to VM's

I've updated the original Post above with all the info you asked for.

I cant seem to find an openswitchagent.ini file. I assume you might be looking for the /etc/neutron/plugins/ml2/ml2_conf.ini file though? that's what i will attach in my next reply!

2016-10-25 09:31:59 -0500 received badge  Editor (source)
2016-10-25 09:28:43 -0500 asked a question Can't Assign Network to VM's

Hey gang, I'll preface this by saying i'm very new to this. I followed the guide on openstack dot org to build a lab here. I have 3 nodes, Controller, Compute, Network. All three nodes have 4 networks attached. 1-management 2-internal traffic (1921.68.1.0/24) 3-external network (10.3.39.0/24) 4-network to be used later for floating / internet ip's.

Attached is a Pic how i think i'm supposed to be building this: i <dot> imgur <dot> com/Pvbl6eA.jpg (sorry it will not let me post links yet)

My Switch config (Same on Compute & Network Node) is as follows:

ovs-vsctl show
67064c7b-5d1a-4a20-98f9-1923728aea12

Bridge br-int
        fail_mode: secure
        Port int-br-ex
            Interface int-br-ex
                type: patch
                options: {peer=int-br-ex}
  Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
        Port br-int
            Interface br-int
                type: internal
  Bridge br-tun
        fail_mode: secure
        Port "em2"
            Interface "em2"
        Port br-tun
            Interface br-tun
                type: internal
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
Bridge br-ex
        Port "p2p2"
            Interface "p2p2"
        Port br-ex
            Interface br-ex
                type: internal
        Port phy-br-ex
            Interface phy-br-ex
                type: patch
                options: {peer=int-br-ex}
    ovs_version: "2.3.2"

When i boot my VM, it does not seem to assign a network to it: i <dot> imgur <dot> com/HV4dw5R.png (sorry, will not let me post links yet)

I'm a little lost on how to gain network connectivity so i can manage these boxes. All attached networks to the hosts are real physical networks configured in a switch.

Am I completely off base on how i built this?

Thanks!

EDIT To add additional Information

Controler ml2_conf.ini

[ml2]
type_drivers = flat,vlan,gre,vxlan
tenant_network_types = gre
mechanism_drivers = openvswitch

[ml2_type_flat]

[ml2_type_vlan]

[ml2_type_gre]
tunnel_id_ranges = 1:1000

[ml2_type_vxlan]

[securitygroup]
enable_security_group = True
enable_ipset = True
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver

Compute ml2_conf.ini

[ml2]
type_drivers = flat,vlan,gre,vxlan
tenant_network_types = gre
mechanism_drivers = openvswitch

[ml2_type_flat]

[ml2_type_vlan]

[ml2_type_gre]
tunnel_id_ranges = 1:1000

[ml2_type_vxlan]

[securitygroup]
enable_security_group = True
enable_ipset = True
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver

[ovs]

local_ip = 192.168.184.103

[agent]
tunnel_types = gre

Network ml2_conf.ini

[ml2]
type_drivers = flat,vlan,gre,vxlan
tenant_network_types = gre
mechanism_drivers = openvswitch

[ml2_type_flat]
flat_networks = external

[ml2_type_vlan]

[ml2_type_gre]
tunnel_id_ranges = 1:1000

[ml2_type_vxlan]

[securitygroup]
enable_security_group = True
enable_ipset = True
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver

[ovs]

local_ip = 192.168.184.103
bridge_mappings = external:br-ex

[agent]
tunnel_types = gre

My Interface info as i've planned for is:

Controller:
MGMT - em1:192.168.184.101
Tunnel - em2 :192.168.1.9
Ext1 - p1p1:Internet Floating   
Ext2 - p1p2:VM-MGMT        

Compute:
MGMT - em1:192.168.184.103               
Tunnel - em2:192.168.1.11                      
Ext1 - p2p1:Internet Access Floating                              
Ext2 - p2p2:VM-MGMT                       

Network:
MGMT - em1:192.168.184.102               
Tunnel - em2:192.168.1.10                      
Ext1 - em3:Internet Access Floating                              
Ext2 - em4:VM-MGMT

Here are my interface ifconfigs:

Controller:

root@controller:/etc/neutron# ifconfig -a
em1       Link encap:Ethernet  HWaddr c4:34:6b:c0:0f:48
          inet addr:192.168.184.101  Bcast:192.168.184.255  Mask:255.255.255.0
          inet6 addr: fe80::c634:6bff:fec0:f48/64 Scope:Link
          UP ...
(more)
2016-10-14 07:08:13 -0500 received badge  Notable Question (source)
2016-10-13 06:54:47 -0500 received badge  Popular Question (source)
2016-10-13 06:14:48 -0500 commented answer Can't Launch VM with 2GB or More

Thank you. I will download 16.04 64 bit right now, and rebuild my 3 machines. glad i finally have a lead! been a long couple weeks of troubleshooting!

2016-10-13 06:14:22 -0500 received badge  Scholar (source)
2016-10-13 06:14:19 -0500 received badge  Supporter (source)
2016-10-12 16:36:17 -0500 asked a question Can't Launch VM with 2GB or More

Hey gang, I’m having trouble with my Openstack Lab. I’ll preface by saying I’m brand new to all this, I’ve been a windows admin for the last 10 years and am trying to learn something new. I’ve been following the install guide at docs . openstack for the kilo release

My issue is when I launch an instance I get the error

Error: No valid host was found. There are not enough hosts available

But when I dig deeper I find this in my /var/log/nova-compute.log.

libvirtError: internal error: process exited while connecting to monitor: qemu: at most 2047 MB RAM can be simulated

As a test I launched an instance using m1.tiny, only using 512MB ram and it works fine. So I believe my problem is my hypervisor. Thinking I should be using KVM not QEMU, however I have configured for KVM.

/etc/nova/nova-compute.conf

compute_driver=libvirt.LibvirtDriver

[libvirt] virt_type = kvm

KVM seems to be loaded..

lsmod | grep kvm

kvm_intel 159744 0 kvm

471040 1 kvm_intel irqbypass

16384 1 kvm

My machine(s) are all: uname -a

Linux compute 4.4.0-42-generic 62~14.04.1-Ubuntu SMP Fri Oct 7 23:16:06 UTC 2016 i686 i686 i686 GNU/Linux

I”ve torn down my 3 machines and rebuilt them 3 times now. At a bit of a loss where to go from here! My machine has tons of RAM available, 24GB free.

Could this be because i have the i686/32bit OS and not a 64?