Please stop disabling the VMware ESX driver

Bug #565771 reported by Richard Laager on 2010-04-18
62
This bug affects 13 people
Affects Status Importance Assigned to Milestone
libvirt (Ubuntu)
Medium
Chuck Short

Bug Description

libvirt ships with a limited but functional ESX driver. Ubuntu (and Debian) disable this with --without-esx in debian/rules. I can't think of any reason for Ubuntu to do this. Simply change it to --with-esx instead (and add a libcurl-dev build-dep) so people who are interested can use that driver.

Richard Laager (rlaager) on 2010-04-19
description: updated
Chuck Short (zulcss) wrote :

Which version are you using?

Thanks
chuck

Changed in libvirt (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Richard Laager (rlaager) wrote :

I don't know which software you're asking about... I'm using Ubuntu Lucid with libvirt 0.7.5 to connect to an ESX 4 host.

Changed in libvirt (Ubuntu):
status: Incomplete → New
Serge Hallyn (serge-hallyn) wrote :

Please see http://lists.alioth.debian.org/pipermail/pkg-libvirt-discuss/2010-January/000013.html
for an answer from the Debian package maintainer. It sounds like if you volunteer to
maintain the ESX support, he may be open to enabling it by default.

Chris Cheney (ccheney) wrote :

won't fix per hallyn

Changed in libvirt (Ubuntu):
status: New → Won't Fix
steverweber (steve-r-weber) wrote :

Grr I also don't like this!.... centos has esx compiled in.. but this debian package still dont..

ubuntu 14.4
this might work for you.

git clone git://libvirt.org/libvirt.git
cd libvirt
git checkout v1.2.2

sudo apt-get install build-essential autoconf libtool autopoint xsltproc w3c-dtd-xhtml
sudo apt-get install libdevmapper-dev python-dev libcurl4-gnutls-dev libnl-dev libgnutls-dev libpciaccess-dev libxml2-dev
sudo apt-get install libxen-dev uuid-dev

# I had compile error using --with-selinux so i disabled it.
./autogen.sh --system --without-selinux
# you might want to include arg: --enable-debug=yes

make
#make check
sudo make install

steverweber (steve-r-weber) wrote :

changing --without-vbox to --with-vbox was resolved here:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1103721

Why cant we get this done for --with-esx ?

it has been a few years since:
http://lists.alioth.debian.org/pipermail/pkg-libvirt-discuss/2010-January/000013.html

It seems this only requires curl?

If so then this should be fine.

 status: confirmed

Changed in libvirt (Ubuntu):
importance: Low → Medium
status: Won't Fix → Confirmed
steverweber (steve-r-weber) wrote :

after a fresh install of 14.4 this seem to work.

mkdir libvirt
cd libvirt
apt-get source -d libvirt
sudo apt-get build-dep libvirt
dpkg-source -x libvirt*dsc
vi libvirt*/debian/rules
        Change "--without-esx" to "--with-esx"
cd libvirt*
sudo apt-get install libcurl4-gnutls-dev
dpkg-buildpackage -us -uc -b -rfakeroot
cd ..
sudo dpkg -i *.deb

Richard Laager (rlaager) wrote :

I'm not interested in maintaining it. We're not using ESX. If this is unmaintained upstream in libvirt, I can understand why Debian would disable it. If it *is* maintained upstream, then I don't see the harm in enabling it.

Ross Judson (rossjudson) wrote :

I can report that steve-r-weber's instructions also work on saucy, enabling virsh to control ESXi 5.

Serge Hallyn (serge-hallyn) wrote :

Let's enable this in vivid at the next merge.

Changed in libvirt (Ubuntu):
assignee: nobody → Chuck Short (zulcss)
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libvirt - 1.2.8-0ubuntu20

---------------
libvirt (1.2.8-0ubuntu20) vivid; urgency=medium

  * debian/rules:
    - use --with-esx (LP: #565771)
    - specify restart-after-upgrade (LP: #1215617)
  * debian/control: add libcurl4-gnutls-dev for esx support
 -- Serge Hallyn <email address hidden> Wed, 21 Jan 2015 13:01:59 -0600

Changed in libvirt (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers