[Bug 1215617] Re: Should not stop if there are active clients

2015-01-21 Thread Dimitri John Ledkov
Given it looks like it's using cdbs something like:

DEB_DH_INSTALLINIT_ARGS=--restart-after-upgrade

should work.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1215617

Title:
  Should not stop if there are active clients

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1215617/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1215617] Re: Should not stop if there are active clients

2015-01-21 Thread Serge Hallyn
Thanks, xnox, where should that be specified?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1215617

Title:
  Should not stop if there are active clients

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1215617/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1215617] Re: Should not stop if there are active clients

2015-01-21 Thread Launchpad Bug Tracker
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 serge.hal...@ubuntu.com   Wed, 21 Jan 2015 13:01:59 -0600

** Changed in: libvirt (Ubuntu)
   Status: Confirmed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1215617

Title:
  Should not stop if there are active clients

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1215617/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1215617] Re: Should not stop if there are active clients

2015-01-21 Thread Launchpad Bug Tracker
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 serge.hal...@ubuntu.com   Wed, 21 Jan 2015 13:01:59 -0600

** Changed in: libvirt (Ubuntu)
   Status: Confirmed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in Ubuntu.
https://bugs.launchpad.net/bugs/1215617

Title:
  Should not stop if there are active clients

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1215617/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1215617] Re: Should not stop if there are active clients

2015-01-16 Thread Dimitri John Ledkov
You can however minimise the downtime:

Currently this happens:

prerm libvirt-bin - stop libvirt
...
upgrade hundreds of packages
...
postinst libvirt-bin - start libvirt

However using --restart-after-upgrade option should be feasible:
   -R, --restart-after-upgrade
   Do not stop the init script until after the package upgrade has been 
completed. This is different than the default behavior, which stops the script 
in the prerm, and starts it again in the
   postinst.

   This can be useful for daemons that should not have a possibly long 
downtime during upgrade. But you should make sure that the daemon will not get 
confused by the package being upgraded
   while it's running before using this option.


That way:
prerm libvirt-bin - old libvirt continious to run

postinst libvirt-bin - stop; start libvirt-bin (restarted into new libvirt)

** Changed in: libvirt (Ubuntu)
   Status: Invalid = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in Ubuntu.
https://bugs.launchpad.net/bugs/1215617

Title:
  Should not stop if there are active clients

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1215617/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1215617] Re: Should not stop if there are active clients

2015-01-16 Thread Dimitri John Ledkov
You can however minimise the downtime:

Currently this happens:

prerm libvirt-bin - stop libvirt
...
upgrade hundreds of packages
...
postinst libvirt-bin - start libvirt

However using --restart-after-upgrade option should be feasible:
   -R, --restart-after-upgrade
   Do not stop the init script until after the package upgrade has been 
completed. This is different than the default behavior, which stops the script 
in the prerm, and starts it again in the
   postinst.

   This can be useful for daemons that should not have a possibly long 
downtime during upgrade. But you should make sure that the daemon will not get 
confused by the package being upgraded
   while it's running before using this option.


That way:
prerm libvirt-bin - old libvirt continious to run

postinst libvirt-bin - stop; start libvirt-bin (restarted into new libvirt)

** Changed in: libvirt (Ubuntu)
   Status: Invalid = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1215617

Title:
  Should not stop if there are active clients

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1215617/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1215617] Re: Should not stop if there are active clients

2015-01-15 Thread Serge Hallyn
If you'd like to file a bug against virt-manager that might be
appropriate, but libvirt absolutely should not stay running.

You can connect over vnc/spice and those connections do not go away just
bc libvirt stops.  So virt-manager should be able to show that it can't
show machine details (bc libvit is down) bu tit can still keep up the
active graphics connections.

** Changed in: libvirt (Ubuntu)
   Status: New = Incomplete

** Changed in: libvirt (Ubuntu)
   Status: Incomplete = Won't Fix

** Changed in: libvirt (Ubuntu)
   Status: Won't Fix = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in Ubuntu.
https://bugs.launchpad.net/bugs/1215617

Title:
  Should not stop if there are active clients

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1215617/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1215617] Re: Should not stop if there are active clients

2015-01-15 Thread Serge Hallyn
If you'd like to file a bug against virt-manager that might be
appropriate, but libvirt absolutely should not stay running.

You can connect over vnc/spice and those connections do not go away just
bc libvirt stops.  So virt-manager should be able to show that it can't
show machine details (bc libvit is down) bu tit can still keep up the
active graphics connections.

** Changed in: libvirt (Ubuntu)
   Status: New = Incomplete

** Changed in: libvirt (Ubuntu)
   Status: Incomplete = Won't Fix

** Changed in: libvirt (Ubuntu)
   Status: Won't Fix = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1215617

Title:
  Should not stop if there are active clients

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1215617/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs