So I tried to do this on 12.04 and got the following error when installing
OVS, any insight on how to fix this?

Thanks Gil


# apt-get update
# apt-get upgrade
# apt-get install openvswitch-switch openvswitch-controller
openvswitch-brcompat
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  dkms openvswitch-common openvswitch-datapath-dkms openvswitch-pki
Suggested packages:
  ethtool
The following NEW packages will be installed:
  dkms openvswitch-brcompat openvswitch-common openvswitch-controller
openvswitch-datapath-dkms openvswitch-pki
  openvswitch-switch
0 upgraded, 7 newly installed, 0 to remove and 2 not upgraded.
Need to get 4,436 kB of archives.
After this operation, 18.7 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main dkms all
2.2.0.3-1ubuntu3.2 [72.6 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ precise-updates/universe
openvswitch-common amd64 1.4.6-0ubuntu1.12.04.2 [546 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ precise-updates/universe
openvswitch-switch amd64 1.4.6-0ubuntu1.12.04.2 [1,274 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ precise-updates/universe
openvswitch-brcompat amd64 1.4.6-0ubuntu1.12.04.2 [329 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu/ precise-updates/universe
openvswitch-pki all 1.4.6-0ubuntu1.12.04.2 [14.5 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu/ precise-updates/universe
openvswitch-controller amd64 1.4.6-0ubuntu1.12.04.2 [185 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu/ precise-updates/universe
openvswitch-datapath-dkms all 1.4.6-0ubuntu1.12.04.2 [2,015 kB]
Fetched 4,436 kB in 3s (1,222 kB/s)
Selecting previously unselected package dkms.
(Reading database ... 71287 files and directories currently installed.)
Unpacking dkms (from .../dkms_2.2.0.3-1ubuntu3.2_all.deb) ...
Selecting previously unselected package openvswitch-common.
Unpacking openvswitch-common (from
.../openvswitch-common_1.4.6-0ubuntu1.12.04.2_amd64.deb) ...
Selecting previously unselected package openvswitch-switch.
Unpacking openvswitch-switch (from
.../openvswitch-switch_1.4.6-0ubuntu1.12.04.2_amd64.deb) ...
Selecting previously unselected package openvswitch-brcompat.
Unpacking openvswitch-brcompat (from
.../openvswitch-brcompat_1.4.6-0ubuntu1.12.04.2_amd64.deb) ...
Selecting previously unselected package openvswitch-pki.
Unpacking openvswitch-pki (from
.../openvswitch-pki_1.4.6-0ubuntu1.12.04.2_all.deb) ...
Selecting previously unselected package openvswitch-controller.
Unpacking openvswitch-controller (from
.../openvswitch-controller_1.4.6-0ubuntu1.12.04.2_amd64.deb) ...
Selecting previously unselected package openvswitch-datapath-dkms.
Unpacking openvswitch-datapath-dkms (from
.../openvswitch-datapath-dkms_1.4.6-0ubuntu1.12.04.2_all.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up dkms (2.2.0.3-1ubuntu3.2) ...
Setting up openvswitch-common (1.4.6-0ubuntu1.12.04.2) ...
Setting up openvswitch-switch (1.4.6-0ubuntu1.12.04.2) ...
 * Inserting openvswitch module
 * /etc/openvswitch/conf.db does not exist
 * Creating empty database /etc/openvswitch/conf.db
 * Starting ovsdb-server
 * Configuring Open vSwitch system IDs
 * Starting ovs-vswitchd
Setting up openvswitch-brcompat (1.4.6-0ubuntu1.12.04.2) ...
 * ovsdb-server is already running
 * ovs-vswitchd is already running
Setting up openvswitch-pki (1.4.6-0ubuntu1.12.04.2) ...
Creating controllerca...
Creating switchca...
Setting up openvswitch-controller (1.4.6-0ubuntu1.12.04.2) ...
 * Starting ovs-controller  ovs-controller
                                             Aug 13
10:36:52|00001|stream_ssl|INFO|Trusting CA cert from
/etc/openvswitch-controller/cacert.pem (/C=US/ST=CA/O=Open
vSwitch/OU=switchca/CN=OVS switchca CA Certificate (2014 Aug 13 10:36:51))
(fingerprint f2:5f:ef:77:eb:b7:d9:f3:20:70:55:05:ad:27:47:bf:35:03:25:b0)
                   
                                      [ OK ]
Setting up openvswitch-datapath-dkms (1.4.6-0ubuntu1.12.04.2) ...

Creating symlink /var/lib/dkms/openvswitch/1.4.6/source ->
                 /usr/src/openvswitch-1.4.6

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....(bad exit status: 2)
./configure --with-linux='/lib/modules/3.11.0-15-generic/build' && make -C
datapath/linux.....(bad exit status: 1)
Error! Bad return status for module build on kernel: 3.11.0-15-generic
(x86_64)
Consult /var/lib/dkms/openvswitch/1.4.6/build/make.log for more
information.



On 8/12/14, 12:46 PM, "Justin Pettit" <jpet...@nicira.com> wrote:

>I can see flows where packets are flowing from "em1" to "vnet0".  It
>looks like you're running VLANs, so I would double-check your
>configuration there.
>
>--Justin
>
>
>On August 12, 2014 at 6:55:52 AM, MCGRATH, GIL (gm2...@att.com) wrote:
>> Justin,
>>  
>> Attached is the output of "ovs-dpctl dump-flows system@ovs-system”
>>while I
>> was pxe booting the VM.
>> I am not an ovs expert at all - so I hope I did this correctly. The MAC
>> address of the VM is 52:54:00:45:7b:db
>>  
>> Sorry for the misunderstanding….
>>  
>> ― Gil
>>  
>>  
>> On 8/11/14, 4:16 PM, "Justin Pettit" wrote:
>>  
>> >This is now the fourth time I've asked for the output of "ovs-dpctl
>> >dump-flows" while the reply is coming through.
>> >
>> >--Justin
>> >
>> >
>> >On August 11, 2014 at 1:13:11 PM, MCGRATH, GIL (gm2...@att.com) wrote:
>> >> # ovs-dpctl show
>> >> system@ovs-system:
>> >> lookups: hit:10337061 missed:60169617 lost:0
>> >> flows: 2638
>> >> port 0: ovs-system (internal)
>> >> port 1: br-em1 (internal)
>> >> port 2: em1
>> >> port 3: em2
>> >> port 4: br-em2 (internal)
>> >> port 5: br-em4-pri (internal)
>> >> port 6: em4
>> >> port 7: br-em4 (internal)
>> >> port 8: em3
>> >> port 9: br-em3 (internal)
>> >> port 10: vnet0
>> >>
>> >>
>> >>
>> >> ―-Gil
>> >>
>> >>
>> >> On 8/11/14, 4:11 PM, "Justin Pettit" wrote:
>> >>
>> >> >I asked about "ovs-dpctl dump-flows". Also, please include the
>>output
>> >>of
>> >> >"ovs-dpctl show".
>> >> >
>> >> >--Justin
>> >> >
>> >> >
>> >> >On August 11, 2014 at 11:03:42 AM, MCGRATH, GIL (gm2...@att.com)
>>wrote:
>> >> >> Justin,
>> >> >>
>> >> >> While is in process of PXE booting.
>> >> >>
>> >> >> # ovs-ofctl dump-flows br-em1
>> >> >> NXST_FLOW reply (xid=0x4):
>> >> >> cookie=0x0, duration=13577.846s, table=0, n_packets=11120087,
>> >> >> n_bytes=927952497, idle_age=4, priority=0 actions=NORMAL
>> >> >>
>> >> >> I ran it multiple time during the PXE boot - the same result
>>except
>> >> >> idle_age changed 0-4 and duration changed.
>> >> >>
>> >> >> Gil
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >> On 8/11/14, 1:49 PM, "Justin Pettit" wrote:
>> >> >>
>> >> >> >What about "ovs-dpctl dump-flows" while the reply is going
>>through.
>> >>The
>> >> >> >flow will only be there for a second or two, so you'll need to be
>> >> >> >somewhat fast.
>> >> >> >
>> >> >> >--Justin
>> >> >> >
>> >> >> >
>> >> >> >On August 11, 2014 at 10:29:38 AM, MCGRATH, GIL (gm2...@att.com)
>> >>wrote:
>> >> >> >> Justin,
>> >> >> >>
>> >> >> >> Flow is as follows:
>> >> >> >>
>> >> >> >> # ovs-ofctl dump-flows br-em1
>> >> >> >> NXST_FLOW reply (xid=0x4):
>> >> >> >> cookie=0x0, duration=11605.818s, table=0, n_packets=9506767,
>> >> >> >> n_bytes=793634428, idle_age=1, priority=0 actions=NORMAL
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >> On 8/11/14, 1:26 PM, "Justin Pettit" wrote:
>> >> >> >>
>> >> >> >> >On August 11, 2014 at 10:21:05 AM, MCGRATH, GIL
>>(gm2...@att.com)
>> >> >>wrote:
>> >> >> >> >> > I am running KVM on ubuntu 14.04. I am trying to PXE boot
>>a
>> >>VM.
>> >> >> >>When
>> >> >> >> >> I try this, using tcpdump I see the DHCP Reply message on
>>the
>> >> >>³em1²
>> >> >> >> >> interface. But I do not see the DHCP Reply on the ³vnet0²
>> >> >>interface
>> >> >> >> >> that KVM creates on the ³br-em1² bridge. Therefore my PXE
>>times
>> >> >> >> >> out. Anyone ever see this? If so, do we know what the issue
>>may
>> >> >>be.
>> >> >> >> >
>> >> >> >> >What does your flow table look like from "ovs-ofctl dump-flows
>> >> >>br-em1"?
>> >> >> >> >While the replies are coming in, what do you see from
>>"ovs-dpctl
>> >> >> >> >dump-flows"?
>> >> >> >> >
>> >> >> >> >--Justin
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >>
>> >> >> >>
>> >> >> >
>> >> >>
>> >> >>
>> >> >
>> >>
>> >>
>> >
>>  
>>  
>

_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to