[Bug 1477198] Re: Stop doesn't works on Trusty

2015-11-06 Thread Scott Moser
** Also affects: cloud-archive
   Importance: Undecided
   Status: New

** Changed in: cloud-archive
   Status: New => Confirmed

** Changed in: cloud-archive
   Importance: Undecided => High

** Also affects: cloud-archive/kilo
   Importance: High
   Status: Confirmed

** Also affects: cloud-archive/liberty
   Importance: Undecided
   Status: New

** Changed in: cloud-archive/liberty
   Status: New => Confirmed

** Changed in: cloud-archive/liberty
   Importance: Undecided => High

** Changed in: haproxy (Ubuntu)
   Importance: Undecided => Medium

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

Title:
  Stop doesn't works on Trusty

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1477198/+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 1477198] Re: Stop doesn't works on Trusty

2015-11-06 Thread Andreas Hasenack
** Tags added: kanban-cross-team

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

Title:
  Stop doesn't work on Trusty

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1477198/+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 1477198] Re: Stop doesn't works on Trusty

2015-11-06 Thread Scott Moser
** Description changed:

  [Description]
  
  The stop method is not working properly. I removed the --oknodo &&
  --quiet and is returning (No /usr/sbin/haproxy found running; none
  killed)
  
  I think this is a regression caused by the incorporation of this lines
  on the stop method:
  
  + for pid in $(cat $PIDFILE); do
  + start-stop-daemon --quiet --oknodo --stop \
  + --retry 5 --pid $pid --exec $HAPROXY || ret=$?
  
  root@juju-machine-1-lxc-0:~# service haproxy status
  haproxy is running.
  root@juju-machine-1-lxc-0:~# ps -ef| grep haproxy
  haproxy 1269   1  0 14:33 ?00:00:00 /usr/sbin/haproxy -f 
/etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid
  root1513 906  0 14:33 pts/600:00:00 grep --color=auto haproxy
  root@juju-machine-1-lxc-0:~# service haproxy restart
   * Restarting haproxy haproxy
     ...done.
  root@juju-machine-1-lxc-0:~# ps -ef| grep haproxy
  haproxy 1269   1  0 14:33 ?00:00:00 /usr/sbin/haproxy -f 
/etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid
  haproxy 2169   1  0 14:33 ?00:00:00 /usr/sbin/haproxy -f 
/etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid
  root2277 906  0 14:33 pts/600:00:00 grep --color=auto haproxy
  root@juju-machine-1-lxc-0:~# service haproxy restart
   * Restarting haproxy haproxy
     ...done.
  root@juju-machine-1-lxc-0:~# ps -ef| grep haproxy
  haproxy 1269   1  0 14:33 ?00:00:00 /usr/sbin/haproxy -f 
/etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid
  haproxy 2169   1  0 14:33 ?00:00:00 /usr/sbin/haproxy -f 
/etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid
  haproxy 2505   1  0 14:33 ?00:00:00 /usr/sbin/haproxy -f 
/etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid
  root2523 906  0 14:33 pts/600:00:00 grep --color=auto haproxy
  root@juju-machine-1-lxc-0:~# service haproxy stop
   * Stopping haproxy haproxy
     ...done.
  root@juju-machine-1-lxc-0:~# ps -ef| grep haproxy
  haproxy 1269   1  0 14:33 ?00:00:00 /usr/sbin/haproxy -f 
/etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid
  haproxy 2169   1  0 14:33 ?00:00:00 /usr/sbin/haproxy -f 
/etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid
  haproxy 2505   1  0 14:33 ?00:00:00 /usr/sbin/haproxy -f 
/etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid
  root2584 906  0 14:34 pts/600:00:00 grep --color=auto haproxy
  root@juju-machine-1-lxc-0:~# service haproxy start
   * Starting haproxy haproxy
     ...done.
  root@juju-machine-1-lxc-0:~# ps -ef| grep haproxy
  haproxy 1269   1  0 14:33 ?00:00:00 /usr/sbin/haproxy -f 
/etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid
  haproxy 2169   1  0 14:33 ?00:00:00 /usr/sbin/haproxy -f 
/etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid
  haproxy 2505   1  0 14:33 ?00:00:00 /usr/sbin/haproxy -f 
/etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid
  haproxy 2591   1  0 14:34 ?00:00:00 /usr/sbin/haproxy -f 
/etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid
  root2610 906  0 14:34 pts/600:00:00 grep --color=auto haproxy
  
  [Impact]
  
  - 'service stop/restart' doesn't works properly.
  
  [Test Case]
  
  - Install latest haproxy package.
  - Run service haproxy restart
   * Restarting haproxy haproxy
     ...done.
  root@juju-machine-1-lxc-0:~# ps -ef| grep haproxy
  haproxy 1269   1  0 14:33 ?00:00:00 /usr/sbin/haproxy -f 
/etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid
  haproxy 2169   1  0 14:33 ?00:00:00 /usr/sbin/haproxy -f 
/etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid
  
  - Run service haproxy stop
  
  root@juju-machine-1-lxc-0:~# service haproxy stop
   * Stopping haproxy haproxy
     ...done.
  root@juju-machine-1-lxc-0:~# ps -ef| grep haproxy
  haproxy 1269   1  0 14:33 ?00:00:00 /usr/sbin/haproxy -f 
/etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid
  haproxy 2169   1  0 14:33 ?00:00:00 /usr/sbin/haproxy -f 
/etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid
  
  [Other info]
  
- None
+ Related bugs:
+  * bug 1481737:  HAProxy init script does not work correctly with nbproc 
configuration option

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

Title:
  Stop doesn't works on Trusty

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1477198/+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 1477198] Re: Stop doesn't works on Trusty

2015-07-30 Thread Launchpad Bug Tracker
This bug was fixed in the package haproxy - 1.4.24-2ubuntu0.2

---
haproxy (1.4.24-2ubuntu0.2) trusty; urgency=high

  * debian/haproxy.init:
+ Pass the pidfile to the --pidfile argument instead
  of the PID number. (LP: #1477198).

 -- Jorge Niedbalski jorge.niedbal...@canonical.com  Wed, 22 Jul 2015
11:12:26 -0500

** Changed in: haproxy (Ubuntu Trusty)
   Status: Fix Committed = Fix Released

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

Title:
  Stop doesn't works on Trusty

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/haproxy/+bug/1477198/+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 1477198] Re: Stop doesn't works on Trusty

2015-07-29 Thread David Ames
Tested the -proposed package and it resolves an Openstack charms bug
https://bugs.launchpad.net/charms/+source/nova-cloud-
controller/+bug/1479416

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

Title:
  Stop doesn't works on Trusty

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/haproxy/+bug/1477198/+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 1477198] Re: Stop doesn't works on Trusty

2015-07-29 Thread Jorge Niedbalski
Upgrades from trusty -  vivid, trusty - utopic
http://paste.ubuntu.com/11960633/ , all seems OK.

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

Title:
  Stop doesn't works on Trusty

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/haproxy/+bug/1477198/+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 1477198] Re: Stop doesn't works on Trusty

2015-07-23 Thread Jorge Niedbalski
I have verified that the -proposed package fixes the issue. Thanks.

root@juju-testing-machine-18:/home/ubuntu# service haproxy restart
 * Restarting haproxy haproxy   

   [ OK ] 
root@juju-testing-machine-18:/home/ubuntu# ps aux|grep haproxy
haproxy   8530  0.0  0.0  20300   636 ?Ss   19:47   0:00 
/usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid
root@juju-testing-machine-18:/home/ubuntu# service haproxy stop
 * Stopping haproxy haproxy 

   [ OK ] 
root@juju-testing-machine-18:/home/ubuntu# ps aux|grep haproxy
root@juju-testing-machine-18:/home/ubuntu# service haproxy start
 * Starting haproxy haproxy 

   [ OK ] 
root@juju-testing-machine-18:/home/ubuntu# ps aux|grep haproxy
haproxy   8567  0.0  0.0  20300   632 ?Ss   19:47   0:00 
/usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid
root@juju-testing-machine-18:/home/ubuntu# service haproxy restart
 * Restarting haproxy haproxy   

   [ OK ] 
root@juju-testing-machine-18:/home/ubuntu# service haproxy restart
 * Restarting haproxy haproxy   

   [ OK ] 
root@juju-testing-machine-18:/home/ubuntu# ps aux|grep haproxy
haproxy   8607  0.0  0.0  20300   636 ?Ss   19:47   0:00 
/usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid
root  8611  0.0  0.0  10432   624 pts/0S+   19:47   0:00 grep 
--color=auto haproxy
root@juju-testing-machine-18:/home/ubuntu# 


** Tags removed: verification-needed
** Tags added: verification-done

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

Title:
  Stop doesn't works on Trusty

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/haproxy/+bug/1477198/+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 1477198] Re: Stop doesn't works on Trusty

2015-07-23 Thread Brian Murray
Hello Jorge, or anyone else affected,

Accepted haproxy into trusty-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/haproxy/1.4.24-2ubuntu0.2 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: haproxy (Ubuntu Trusty)
   Status: In Progress = Fix Committed

** Tags added: verification-needed

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

Title:
  Stop doesn't works on Trusty

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/haproxy/+bug/1477198/+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 1477198] Re: Stop doesn't works on Trusty

2015-07-22 Thread Jorge Niedbalski
** Patch added: Trusty Patch
   
https://bugs.launchpad.net/ubuntu/+source/haproxy/+bug/1477198/+attachment/4432608/+files/fix-lp-1477198-trusty.patch

** Tags added: sts

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

Title:
  Stop doesn't works on Trusty

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/haproxy/+bug/1477198/+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 1477198] Re: Stop doesn't works on Trusty

2015-07-22 Thread Jorge Niedbalski
** Changed in: haproxy (Ubuntu Trusty)
   Status: New = In Progress

** Changed in: haproxy (Ubuntu Trusty)
 Assignee: (unassigned) = Jorge Niedbalski (niedbalski)

** Changed in: haproxy (Ubuntu Trusty)
   Importance: Undecided = Critical

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

Title:
  Stop doesn't works on Trusty

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/haproxy/+bug/1477198/+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 1477198] Re: Stop doesn't works on Trusty

2015-07-22 Thread Chris J Arges
** Also affects: haproxy (Ubuntu Trusty)
   Importance: Undecided
   Status: New

** Changed in: haproxy (Ubuntu)
   Status: New = Fix Released

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

Title:
  Stop doesn't works on Trusty

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/haproxy/+bug/1477198/+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 1477198] Re: Stop doesn't works on Trusty

2015-07-22 Thread Jorge Niedbalski
The attached patch fixes the issue.

root@juju-testing-machine-15:/home/ubuntu# service haproxy start
 * Starting haproxy haproxy 

 [ OK ]
root@juju-testing-machine-15:/home/ubuntu# ps -fea |grep haproxy
haproxy  28338 1  0 15:29 ?00:00:00 /usr/sbin/haproxy -f 
/etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid
root@juju-testing-machine-15:/home/ubuntu# service haproxy stop
 * Stopping haproxy haproxy 

  [ OK ] 
root@juju-testing-machine-15:/home/ubuntu# ps -fea |grep haproxy
root@juju-testing-machine-15:/home/ubuntu# service haproxy status
haproxy not running.
root@juju-testing-machine-15:/home/ubuntu# service haproxy start
 * Starting haproxy haproxy 

   


  [ OK ]
root@juju-testing-machine-15:/home/ubuntu# ps -fea |grep haproxy
haproxy  28398 1  0 15:29 ?00:00:00 /usr/sbin/haproxy -f 
/etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid
root@juju-testing-machine-15:/home/ubuntu# service haproxy restart
 * Restarting haproxy haproxy   

[ OK ]
root@juju-testing-machine-15:/home/ubuntu# ps -fea |grep haproxy
haproxy  28419 1  0 15:30 ?00:00:00 /usr/sbin/haproxy -f 
/etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid
root@juju-testing-machine-15:/home/ubuntu# service haproxy stop
 * Stopping haproxy haproxy 

  [ OK ] 
root@juju-testing-machine-15:/home/ubuntu# service haproxy status
haproxy not running.


** Description changed:

  [Description]
  
  The stop method is not working properly. I removed the --oknodo 
  --quiet and is returning (No /usr/sbin/haproxy found running; none
  killed)
  
  I think this is a regression caused by the incorporation of this lines
  on the stop method:
  
  + for pid in $(cat $PIDFILE); do
  + start-stop-daemon --quiet --oknodo --stop \
  + --retry 5 --pid $pid --exec $HAPROXY || ret=$?
  
  root@juju-machine-1-lxc-0:~# service haproxy status
  haproxy is running.
  root@juju-machine-1-lxc-0:~# ps -ef| grep haproxy
  haproxy 1269   1  0 14:33 ?00:00:00 /usr/sbin/haproxy -f 
/etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid
  root1513 906  0 14:33 pts/600:00:00 grep --color=auto haproxy
  root@juju-machine-1-lxc-0:~# service haproxy restart
   * Restarting haproxy haproxy
     ...done.
  root@juju-machine-1-lxc-0:~# ps -ef| grep haproxy
  haproxy 1269   1  0 14:33 ?00:00:00 /usr/sbin/haproxy -f 
/etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid
  haproxy 2169   1  0 14:33 ?00:00:00 /usr/sbin/haproxy -f 
/etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid
  root2277 906  0 14:33 pts/600:00:00 grep --color=auto haproxy
  root@juju-machine-1-lxc-0:~# service haproxy restart
   * Restarting haproxy haproxy
     ...done.
  root@juju-machine-1-lxc-0:~# ps -ef| grep haproxy
  haproxy 1269   1  0 14:33 ?00:00:00 /usr/sbin/haproxy -f 
/etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid
  haproxy 2169   1  0 14:33 ?00:00:00 /usr/sbin/haproxy -f 
/etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid
  haproxy 2505   1  0 14:33 ?00:00:00 /usr/sbin/haproxy -f 
/etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid
  root2523 906  0 14:33 pts/600:00:00 grep --color=auto haproxy
  root@juju-machine-1-lxc-0:~# service haproxy stop
   * Stopping haproxy haproxy
     ...done.
  root@juju-machine-1-lxc-0:~# ps -ef| grep haproxy
  haproxy 1269   1  0 14:33 ?00:00:00 /usr/sbin/haproxy -f 
/etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid
  haproxy 2169   1  0 14:33 ?00:00:00 /usr/sbin/haproxy -f 
/etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid
  haproxy 2505   1  0 14:33 ?00:00:00 /usr/sbin/haproxy -f 
/etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid
  root2584 906  0 14:34 pts/600:00:00 grep --color=auto haproxy
  root@juju-machine-1-lxc-0:~# service haproxy start
   * Starting haproxy haproxy
     ...done.
  root@juju-machine-1-lxc-0:~# ps -ef| grep haproxy
  haproxy 1269   1  0 14:33 ?00:00:00 /usr/sbin/haproxy -f 
/etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid