[Touch-packages] [Bug 1792978] Re: initscript avahi-daemon, action "start" failed

2020-10-30 Thread Billy Olsen
Avahi is not covered by field sla, so unsubscribing field-high

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to avahi in Ubuntu.
https://bugs.launchpad.net/bugs/1792978

Title:
  initscript avahi-daemon, action "start" failed

Status in avahi package in Ubuntu:
  New

Bug description:
  When installing maas-region-controller, avahi-deamon failed to install
  because it was it seemed to already be running.

  
  $ apt-get -q install -y maas-region-controller
  
  [1invoke-rc.d: initscript avahi-daemon, action "start" failed.
  ● avahi-daemon.service - Avahi mDNS/DNS-SD Stack
 Loaded: loaded (/lib/systemd/system/avahi-daemon.service; enabled; vendor 
preset: enabled)
 Active: failed (Result: exit-code) since Sat 2018-09-15 
19:42:29 UTC; 9ms ago
 Process: 22726 ExecStart=/usr/sbin/avahi-daemon -s (code=exited, 
status=255)
   Main PID: 22726 (code=exited, status=255)
   
  Sep 15 19:42:29 leafeon systemd[1]: Starting Avahi mDNS/DNS-SD Stack...
  Sep 15 19:42:29 leafeon avahi-daemon[22726]: Daemon already running on PID 
21868
  Sep 15 19:42:29 leafeon systemd[1]: avahi-daemon.service: Main 
process exit.../a
  Sep 15 19:42:29 leafeon systemd[1]: Failed to start Avahi 
mDNS/DNS-SD Stack.
  Sep 15 19:42:29 leafeon systemd[1]: avahi-daemon.service: Unit 
entered fail...e.
  Sep 15 19:42:29 leafeon systemd[1]: avahi-daemon.service: Failed 
with resul...'.
  Hint: Some lines were ellipsized, use -l to show in full.
  dpkg: error processing package avahi-daemon (--configure):
   subprocess installed post-installation script returned error exit status 1
  dpkg: dependency problems prevent configuration of avahi-utils:
   avahi-utils depends on avahi-daemon; however:
Package avahi-daemon is not configured yet.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1647485] Re: NVMe symlinks broken by devices with spaces in model or serial strings

2019-02-18 Thread Billy Olsen
** Changed in: systemd
   Status: New => Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1647485

Title:
  NVMe symlinks broken by devices with spaces in model or serial strings

Status in maas-images:
  Fix Released
Status in systemd:
  Unknown
Status in systemd package in Ubuntu:
  Fix Released
Status in systemd source package in Trusty:
  Fix Released
Status in systemd source package in Xenial:
  Fix Released
Status in systemd source package in Yakkety:
  Fix Released
Status in systemd source package in Zesty:
  Fix Released
Status in systemd package in Debian:
  Fix Released

Bug description:
  [Impact]

  After including the patch from bug 1642903, NVMe devices that include spaces 
in their model or serial strings result in incorrect symlinks, e.g. if the 
model string is "XYZ Corp NVMe drive" then instead of creating:
  /dev/disk/by-id/nvme-XYZ Corp NVMe drive_SERIAL -> ../../nvme0n1
  it creates:
  /dev/disk/by-id/nvme-XYZ -> ../../nvme0n1
  /dev/Corp -> nvme0n1
  /dev/NVMe -> nvme0n1
  /dev/drive_SERIAL -> nvme0n1

  This is because of the way udev handles the SYMLINK value strings; by
  default, it does not do any whitespace replacement.  To enable
  whitespace replacement of a symlink value, the rule must also include
  OPTIONS+="string_escape=replace".  This is done for 'md' and 'dm'
  devices in their rules.  However, there are no rules that actually
  want to specify multiple symlinks, and defaulting to not replacing
  whitespace makes no sense; instead, the default should be to replace
  all whitespace in each symlink value, unless the rule explicitly
  specifies OPTIONS+="string_escape=none".

  [Test Case]

  This assumes using udev with the patch from bug 1642903.

  Without this patch, when using a NVMe drive that contains spaces in
  its model and/or serial strings, check the /dev/disk/by-id/ directory.
  It should contain a partially-correct symlink to the NVMe drive, with
  the name up to the first space.  All following space-separated parts
  of the mode/serial string should have symlinks in the /dev/ directory.
  This is the incorrect behavior.

  With this patch, check the /dev/disk/by-id/ directory.  It should
  contain a fully-correct symlink to the NVMe drive, and no part of the
  drive's model/serial number string should be a link in the /dev
  directory.

  An example of the correct/incorrect naming is in the Impact section.

  There should be no other changes to any of the symlinks under /dev
  before and after this patch.  Typical locations for symlinks are
  /dev/, /dev/disk/by-name/, /dev/disk/by-id/, /dev/disk/by-uuid/,
  /dev/disk/by-label/

  [Regression Potential]

  Errors in udev rules can lead to an unbootable or otherwise completely
  broken system if they unintentionally break or clobber existing
  /dev/disks/ symlinks.

  [Other Info]

  This is also tracked with upstream systemd (udev) bug 4833:
  https://github.com/systemd/systemd/issues/4833

  Also note, this can be worked around in individual rules ONLY (i.e.
  not fixed for all rules) by appending OPTIONS+="string_escape=replace"
  to each of the NVMe rules with SYMLINK+="..." assignment, e.g.:

  KERNEL=="nvme*[0-9]n*[0-9]", ENV{DEVTYPE}=="disk", ATTRS{model}=="?*",
  ENV{ID_SERIAL_SHORT}=="?*",
  ENV{ID_SERIAL}="$attr{model}_$env{ID_SERIAL_SHORT}", SYMLINK+="disk
  /by-id/nvme-$env{ID_SERIAL}", OPTIONS+="string_escape=replace"

  Related bugs:
   * bug 1642903: introduce disk/by-id (model_serial) symlinks for NVMe drives
   * bug 1651602: NVMe driver regression for non-smp/1-cpu systems
   * bug 1649635: export nvme drive model/serial strings via sysfs (trusty)

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas-images/+bug/1647485/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1089013] Re: clvm startup script requires cman

2016-07-11 Thread Billy Olsen
The check for corosync running doesn't work properly and prevents the
clvm service from properly starting.

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

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lvm2 in Ubuntu.
https://bugs.launchpad.net/bugs/1089013

Title:
  clvm startup script requires cman

Status in lvm2 package in Ubuntu:
  Fix Released
Status in lvm2 source package in Precise:
  Triaged
Status in lvm2 source package in Trusty:
  Fix Committed
Status in lvm2 source package in Wily:
  Won't Fix
Status in lvm2 source package in Xenial:
  Fix Released

Bug description:
  while clvm in precise can support corosync, init script won't start
  because issues a cman status command

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: clvm 2.02.66-4ubuntu7.1
  ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
  Uname: Linux 3.2.0-23-generic x86_64
  ApportVersion: 2.0.1-0ubuntu5
  Architecture: amd64
  Date: Tue Dec 11 18:09:36 2012
  InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Release amd64 
(20120424.1)
  ProcEnviron:
   TERM=screen
   LANG=it_IT.UTF-8
   SHELL=/bin/bash
  SourcePackage: lvm2
  UpgradeStatus: No upgrade log present (probably fresh install)
  modified.conffile..etc.default.clvm: [modified]
  mtime.conffile..etc.default.clvm: 2012-12-11T16:45:40.149014

  [Impact]

   * clvm daemon cannot start using provided init scripts

  [Test Case]

   * Install clvm package
   * Configure corosync
   * service clvm start
     - Fails to start due to cman dependency

  [Regression Potential]

   * None, already broken, though there is risk of other bugs being
  uncovered since this hasn't worked in quite awhile.

  [Other Info]

   * This is a change to the debian provided init script for clvm. Upstream
     debian still has the redhat-cluster package which contains the cman
     tool, as such this change is applicable to Ubuntu only since the
     redhat clustering suite is not available.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1567578] Re: libnl should be updated to support up to 63 VFs per single PF

2016-04-15 Thread Billy Olsen
I was not able to reproduce the problem using trusty + 3.19 kernel and
libvirt alone. I was able to scale appropriately to 63 domains using
VFs.

I guess next step is to  test the OpenStack instructions identified, but
then it may be a problem lying elsewhere.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libnl3 in Ubuntu.
https://bugs.launchpad.net/bugs/1567578

Title:
   libnl should be updated to support up to 63 VFs per single PF

Status in libnl3 package in Ubuntu:
  Confirmed

Bug description:
  Ubuntu 14.04.4 and SRIOV settings.

  As already documented in https://bugs.launchpad.net/mos/+bug/1501738
  there is a bug in the default libnl library release installed on
  Ubuntu 14.04.4

  The library release is the 3.2.21-1 and the bug is impacting on the
  maximum VFs number that can be enabled (up to 30) even if the PF
  supports up to 63 VFs in an Openstack SRIOV configuration

  The workaround is to install a newer library release, the 3.2.24-2:

  wget 
https://launchpad.net/ubuntu/+archive/primary/+files/libnl-3-200_3.2.24-2_amd64.deb
  wget 
https://launchpad.net/ubuntu/+archive/primary/+files/libnl-genl-3-200_3.2.24-2_amd64.deb
  wget 
https://launchpad.net/ubuntu/+archive/primary/+files/libnl-route-3-200_3.2.24-2_amd64.deb
  dpkg -i libnl-3-200_3.2.24-2_amd64.deb
  dpkg -i libnl-genl-3-200_3.2.24-2_amd64.deb
  dpkg -i libnl-route-3-200_3.2.24-2_amd64.deb

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1089013] Re: clvm startup script requires cman

2016-01-27 Thread Billy Olsen
** Patch added: "trusty patch"
   
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1089013/+attachment/4557921/+files/lp1089013_trusty.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lvm2 in Ubuntu.
https://bugs.launchpad.net/bugs/1089013

Title:
  clvm startup script requires cman

Status in lvm2 package in Ubuntu:
  Confirmed
Status in lvm2 source package in Trusty:
  Triaged
Status in lvm2 source package in Wily:
  Triaged
Status in lvm2 source package in Xenial:
  Confirmed

Bug description:
  while clvm in precise can support corosync, init script won't start
  because issues a cman status command

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: clvm 2.02.66-4ubuntu7.1
  ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
  Uname: Linux 3.2.0-23-generic x86_64
  ApportVersion: 2.0.1-0ubuntu5
  Architecture: amd64
  Date: Tue Dec 11 18:09:36 2012
  InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Release amd64 
(20120424.1)
  ProcEnviron:
   TERM=screen
   LANG=it_IT.UTF-8
   SHELL=/bin/bash
  SourcePackage: lvm2
  UpgradeStatus: No upgrade log present (probably fresh install)
  modified.conffile..etc.default.clvm: [modified]
  mtime.conffile..etc.default.clvm: 2012-12-11T16:45:40.149014

  [Impact]

   * clvm daemon cannot start using provided init scripts

  [Test Case]

   * Install clvm package
   * Configure corosync
   * service clvm start
     - Fails to start due to cman dependency

  [Regression Potential]

   * None, already broken, though there is risk of other bugs being
  uncovered since this hasn't worked in quite awhile.

  [Other Info]

   * This is a change to the debian provided init script for clvm. Upstream
     debian still has the redhat-cluster package which contains the cman
     tool, as such this change is applicable to Ubuntu only since the
     redhat clustering suite is not available.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1089013] Re: clvm startup script requires cman

2016-01-27 Thread Billy Olsen
** Patch removed: "debdiff for xenial"
   
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1089013/+attachment/4552897/+files/xenial_lp1089013.debdiff

** Patch removed: "wily debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1089013/+attachment/4552898/+files/wily_lp1089013.debdiff

** Patch removed: "debdiff for trusty"
   
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1089013/+attachment/4552899/+files/trusty_lp1089013.debdiff

** Patch added: "wily patch"
   
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1089013/+attachment/4557920/+files/lp1089013_wily.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lvm2 in Ubuntu.
https://bugs.launchpad.net/bugs/1089013

Title:
  clvm startup script requires cman

Status in lvm2 package in Ubuntu:
  Confirmed
Status in lvm2 source package in Trusty:
  Triaged
Status in lvm2 source package in Wily:
  Triaged
Status in lvm2 source package in Xenial:
  Confirmed

Bug description:
  while clvm in precise can support corosync, init script won't start
  because issues a cman status command

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: clvm 2.02.66-4ubuntu7.1
  ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
  Uname: Linux 3.2.0-23-generic x86_64
  ApportVersion: 2.0.1-0ubuntu5
  Architecture: amd64
  Date: Tue Dec 11 18:09:36 2012
  InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Release amd64 
(20120424.1)
  ProcEnviron:
   TERM=screen
   LANG=it_IT.UTF-8
   SHELL=/bin/bash
  SourcePackage: lvm2
  UpgradeStatus: No upgrade log present (probably fresh install)
  modified.conffile..etc.default.clvm: [modified]
  mtime.conffile..etc.default.clvm: 2012-12-11T16:45:40.149014

  [Impact]

   * clvm daemon cannot start using provided init scripts

  [Test Case]

   * Install clvm package
   * Configure corosync
   * service clvm start
     - Fails to start due to cman dependency

  [Regression Potential]

   * None, already broken, though there is risk of other bugs being
  uncovered since this hasn't worked in quite awhile.

  [Other Info]

   * This is a change to the debian provided init script for clvm. Upstream
     debian still has the redhat-cluster package which contains the cman
     tool, as such this change is applicable to Ubuntu only since the
     redhat clustering suite is not available.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1089013] Re: clvm startup script requires cman

2016-01-27 Thread Billy Olsen
Ah thanks Brian for the corrections. Here's an updated patch with the
changelog indicating the change to the openais / dlm change. Hopefully
its clear. In trusty the cman and openais packages were removed. Instead
to setup clustered LVM one can use the distributed lock manager and
corosync to manage distributed locking for the LVM vgs.

Here's an updated debdiff for xenial, I'll rework and repost the wily
and trusty debdiffs as well. FTR, I didn't include a patch for vivid as
it EOLs at the end of next week.

** Patch added: "lp1089013_xenial.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1089013/+attachment/4557918/+files/lp1089013_xenial.debdiff

** Changed in: lvm2 (Ubuntu Xenial)
   Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lvm2 in Ubuntu.
https://bugs.launchpad.net/bugs/1089013

Title:
  clvm startup script requires cman

Status in lvm2 package in Ubuntu:
  Confirmed
Status in lvm2 source package in Trusty:
  Triaged
Status in lvm2 source package in Wily:
  Triaged
Status in lvm2 source package in Xenial:
  Confirmed

Bug description:
  while clvm in precise can support corosync, init script won't start
  because issues a cman status command

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: clvm 2.02.66-4ubuntu7.1
  ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
  Uname: Linux 3.2.0-23-generic x86_64
  ApportVersion: 2.0.1-0ubuntu5
  Architecture: amd64
  Date: Tue Dec 11 18:09:36 2012
  InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Release amd64 
(20120424.1)
  ProcEnviron:
   TERM=screen
   LANG=it_IT.UTF-8
   SHELL=/bin/bash
  SourcePackage: lvm2
  UpgradeStatus: No upgrade log present (probably fresh install)
  modified.conffile..etc.default.clvm: [modified]
  mtime.conffile..etc.default.clvm: 2012-12-11T16:45:40.149014

  [Impact]

   * clvm daemon cannot start using provided init scripts

  [Test Case]

   * Install clvm package
   * Configure corosync
   * service clvm start
     - Fails to start due to cman dependency

  [Regression Potential]

   * None, already broken, though there is risk of other bugs being
  uncovered since this hasn't worked in quite awhile.

  [Other Info]

   * This is a change to the debian provided init script for clvm. Upstream
     debian still has the redhat-cluster package which contains the cman
     tool, as such this change is applicable to Ubuntu only since the
     redhat clustering suite is not available.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1089013] Re: clvm startup script requires cman

2016-01-19 Thread Billy Olsen
** Description changed:

  while clvm in precise can support corosync, init script won't start
  because issues a cman status command
  
  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: clvm 2.02.66-4ubuntu7.1
  ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
  Uname: Linux 3.2.0-23-generic x86_64
  ApportVersion: 2.0.1-0ubuntu5
  Architecture: amd64
  Date: Tue Dec 11 18:09:36 2012
  InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Release amd64 
(20120424.1)
  ProcEnviron:
   TERM=screen
   LANG=it_IT.UTF-8
   SHELL=/bin/bash
  SourcePackage: lvm2
  UpgradeStatus: No upgrade log present (probably fresh install)
  modified.conffile..etc.default.clvm: [modified]
  mtime.conffile..etc.default.clvm: 2012-12-11T16:45:40.149014
  
+ [Impact]
  
- [Impact] 
- 
-  * clvm daemon cannot start using provided init scripts
+  * clvm daemon cannot start using provided init scripts
  
  [Test Case]
  
-  * Install clvm package
-  * Configure corosync
-  * service clvm start
-- Fails to start due to cman dependency
+  * Install clvm package
+  * Configure corosync
+  * service clvm start
+    - Fails to start due to cman dependency
  
  [Regression Potential]
  
-  * None, already broken, though there is risk of other bugs in the
- 
-  * This both shows the SRU team that the risks have been considered,
-and provides guidance to testers in regression-testing the SRU.
+  * None, already broken, though there is risk of other bugs being
+ uncovered since this hasn't worked in quite awhile.
  
  [Other Info]
-  
-  * This is a change to the debian provided init script for clvm. Upstream
-debian still has the redhat-cluster package which contains the cman
-tool, as such this change is applicable to Ubuntu only since the
-redhat clustering suite is not available.
+ 
+  * This is a change to the debian provided init script for clvm. Upstream
+    debian still has the redhat-cluster package which contains the cman
+    tool, as such this change is applicable to Ubuntu only since the
+    redhat clustering suite is not available.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lvm2 in Ubuntu.
https://bugs.launchpad.net/bugs/1089013

Title:
  clvm startup script requires cman

Status in lvm2 package in Ubuntu:
  In Progress
Status in lvm2 source package in Trusty:
  New
Status in lvm2 source package in Wily:
  New
Status in lvm2 source package in Xenial:
  In Progress

Bug description:
  while clvm in precise can support corosync, init script won't start
  because issues a cman status command

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: clvm 2.02.66-4ubuntu7.1
  ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
  Uname: Linux 3.2.0-23-generic x86_64
  ApportVersion: 2.0.1-0ubuntu5
  Architecture: amd64
  Date: Tue Dec 11 18:09:36 2012
  InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Release amd64 
(20120424.1)
  ProcEnviron:
   TERM=screen
   LANG=it_IT.UTF-8
   SHELL=/bin/bash
  SourcePackage: lvm2
  UpgradeStatus: No upgrade log present (probably fresh install)
  modified.conffile..etc.default.clvm: [modified]
  mtime.conffile..etc.default.clvm: 2012-12-11T16:45:40.149014

  [Impact]

   * clvm daemon cannot start using provided init scripts

  [Test Case]

   * Install clvm package
   * Configure corosync
   * service clvm start
     - Fails to start due to cman dependency

  [Regression Potential]

   * None, already broken, though there is risk of other bugs being
  uncovered since this hasn't worked in quite awhile.

  [Other Info]

   * This is a change to the debian provided init script for clvm. Upstream
     debian still has the redhat-cluster package which contains the cman
     tool, as such this change is applicable to Ubuntu only since the
     redhat clustering suite is not available.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1089013] Re: clvm startup script requires cman

2016-01-19 Thread Billy Olsen
** Patch added: "wily debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1089013/+attachment/4552898/+files/wily_lp1089013.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lvm2 in Ubuntu.
https://bugs.launchpad.net/bugs/1089013

Title:
  clvm startup script requires cman

Status in lvm2 package in Ubuntu:
  In Progress

Bug description:
  while clvm in precise can support corosync, init script won't start
  because issues a cman status command

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: clvm 2.02.66-4ubuntu7.1
  ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
  Uname: Linux 3.2.0-23-generic x86_64
  ApportVersion: 2.0.1-0ubuntu5
  Architecture: amd64
  Date: Tue Dec 11 18:09:36 2012
  InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Release amd64 
(20120424.1)
  ProcEnviron:
   TERM=screen
   LANG=it_IT.UTF-8
   SHELL=/bin/bash
  SourcePackage: lvm2
  UpgradeStatus: No upgrade log present (probably fresh install)
  modified.conffile..etc.default.clvm: [modified]
  mtime.conffile..etc.default.clvm: 2012-12-11T16:45:40.149014

  
  [Impact] 

   * clvm daemon cannot start using provided init scripts

  [Test Case]

   * Install clvm package
   * Configure corosync
   * service clvm start
 - Fails to start due to cman dependency

  [Regression Potential]

   * None, already broken, though there is risk of other bugs in the

   * This both shows the SRU team that the risks have been considered,
 and provides guidance to testers in regression-testing the SRU.

  [Other Info]
   
   * This is a change to the debian provided init script for clvm. Upstream
 debian still has the redhat-cluster package which contains the cman
 tool, as such this change is applicable to Ubuntu only since the
 redhat clustering suite is not available.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1089013] Re: clvm startup script requires cman

2016-01-19 Thread Billy Olsen
** Description changed:

  while clvm in precise can support corosync, init script won't start
  because issues a cman status command
  
  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: clvm 2.02.66-4ubuntu7.1
  ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
  Uname: Linux 3.2.0-23-generic x86_64
  ApportVersion: 2.0.1-0ubuntu5
  Architecture: amd64
  Date: Tue Dec 11 18:09:36 2012
  InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Release amd64 
(20120424.1)
  ProcEnviron:
-  TERM=screen
-  LANG=it_IT.UTF-8
-  SHELL=/bin/bash
+  TERM=screen
+  LANG=it_IT.UTF-8
+  SHELL=/bin/bash
  SourcePackage: lvm2
  UpgradeStatus: No upgrade log present (probably fresh install)
  modified.conffile..etc.default.clvm: [modified]
  mtime.conffile..etc.default.clvm: 2012-12-11T16:45:40.149014
+ 
+ 
+ [Impact] 
+ 
+  * clvm daemon cannot start using provided init scripts
+ 
+ [Test Case]
+ 
+  * Install clvm package
+  * Configure corosync
+  * service clvm start
+- Fails to start due to cman dependency
+ 
+ [Regression Potential]
+ 
+  * None, already broken, though there is risk of other bugs in the
+ 
+  * This both shows the SRU team that the risks have been considered,
+and provides guidance to testers in regression-testing the SRU.
+ 
+ [Other Info]
+  
+  * This is a change to the debian provided init script for clvm. Upstream
+debian still has the redhat-cluster package which contains the cman
+tool, as such this change is applicable to Ubuntu only since the
+redhat clustering suite is not available.

** Patch added: "debdiff for xenial"
   
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1089013/+attachment/4552897/+files/xenial_lp1089013.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lvm2 in Ubuntu.
https://bugs.launchpad.net/bugs/1089013

Title:
  clvm startup script requires cman

Status in lvm2 package in Ubuntu:
  In Progress

Bug description:
  while clvm in precise can support corosync, init script won't start
  because issues a cman status command

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: clvm 2.02.66-4ubuntu7.1
  ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
  Uname: Linux 3.2.0-23-generic x86_64
  ApportVersion: 2.0.1-0ubuntu5
  Architecture: amd64
  Date: Tue Dec 11 18:09:36 2012
  InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Release amd64 
(20120424.1)
  ProcEnviron:
   TERM=screen
   LANG=it_IT.UTF-8
   SHELL=/bin/bash
  SourcePackage: lvm2
  UpgradeStatus: No upgrade log present (probably fresh install)
  modified.conffile..etc.default.clvm: [modified]
  mtime.conffile..etc.default.clvm: 2012-12-11T16:45:40.149014

  
  [Impact] 

   * clvm daemon cannot start using provided init scripts

  [Test Case]

   * Install clvm package
   * Configure corosync
   * service clvm start
 - Fails to start due to cman dependency

  [Regression Potential]

   * None, already broken, though there is risk of other bugs in the

   * This both shows the SRU team that the risks have been considered,
 and provides guidance to testers in regression-testing the SRU.

  [Other Info]
   
   * This is a change to the debian provided init script for clvm. Upstream
 debian still has the redhat-cluster package which contains the cman
 tool, as such this change is applicable to Ubuntu only since the
 redhat clustering suite is not available.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1089013] Re: clvm startup script requires cman

2016-01-19 Thread Billy Olsen
** Patch added: "debdiff for trusty"
   
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1089013/+attachment/4552899/+files/trusty_lp1089013.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lvm2 in Ubuntu.
https://bugs.launchpad.net/bugs/1089013

Title:
  clvm startup script requires cman

Status in lvm2 package in Ubuntu:
  In Progress

Bug description:
  while clvm in precise can support corosync, init script won't start
  because issues a cman status command

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: clvm 2.02.66-4ubuntu7.1
  ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
  Uname: Linux 3.2.0-23-generic x86_64
  ApportVersion: 2.0.1-0ubuntu5
  Architecture: amd64
  Date: Tue Dec 11 18:09:36 2012
  InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Release amd64 
(20120424.1)
  ProcEnviron:
   TERM=screen
   LANG=it_IT.UTF-8
   SHELL=/bin/bash
  SourcePackage: lvm2
  UpgradeStatus: No upgrade log present (probably fresh install)
  modified.conffile..etc.default.clvm: [modified]
  mtime.conffile..etc.default.clvm: 2012-12-11T16:45:40.149014

  
  [Impact] 

   * clvm daemon cannot start using provided init scripts

  [Test Case]

   * Install clvm package
   * Configure corosync
   * service clvm start
 - Fails to start due to cman dependency

  [Regression Potential]

   * None, already broken, though there is risk of other bugs in the

   * This both shows the SRU team that the risks have been considered,
 and provides guidance to testers in regression-testing the SRU.

  [Other Info]
   
   * This is a change to the debian provided init script for clvm. Upstream
 debian still has the redhat-cluster package which contains the cman
 tool, as such this change is applicable to Ubuntu only since the
 redhat clustering suite is not available.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1089013] Re: clvm startup script requires cman

2016-01-15 Thread Billy Olsen
It appears that the cman tooling isn't available in Trusty even, so this
means the clvm is really broken. On >= Trusty this can be fixed by
checking the corosync status (corosync-quorumtool -s) to ensure that the
clustering (corosync) services are up.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lvm2 in Ubuntu.
https://bugs.launchpad.net/bugs/1089013

Title:
  clvm startup script requires cman

Status in lvm2 package in Ubuntu:
  In Progress

Bug description:
  while clvm in precise can support corosync, init script won't start
  because issues a cman status command

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: clvm 2.02.66-4ubuntu7.1
  ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
  Uname: Linux 3.2.0-23-generic x86_64
  ApportVersion: 2.0.1-0ubuntu5
  Architecture: amd64
  Date: Tue Dec 11 18:09:36 2012
  InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Release amd64 
(20120424.1)
  ProcEnviron:
   TERM=screen
   LANG=it_IT.UTF-8
   SHELL=/bin/bash
  SourcePackage: lvm2
  UpgradeStatus: No upgrade log present (probably fresh install)
  modified.conffile..etc.default.clvm: [modified]
  mtime.conffile..etc.default.clvm: 2012-12-11T16:45:40.149014

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1089013] Re: clvm startup script requires cman

2016-01-15 Thread Billy Olsen
** Changed in: lvm2 (Ubuntu)
 Assignee: (unassigned) => Billy Olsen (billy-olsen)

** Changed in: lvm2 (Ubuntu)
   Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lvm2 in Ubuntu.
https://bugs.launchpad.net/bugs/1089013

Title:
  clvm startup script requires cman

Status in lvm2 package in Ubuntu:
  In Progress

Bug description:
  while clvm in precise can support corosync, init script won't start
  because issues a cman status command

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: clvm 2.02.66-4ubuntu7.1
  ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
  Uname: Linux 3.2.0-23-generic x86_64
  ApportVersion: 2.0.1-0ubuntu5
  Architecture: amd64
  Date: Tue Dec 11 18:09:36 2012
  InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Release amd64 
(20120424.1)
  ProcEnviron:
   TERM=screen
   LANG=it_IT.UTF-8
   SHELL=/bin/bash
  SourcePackage: lvm2
  UpgradeStatus: No upgrade log present (probably fresh install)
  modified.conffile..etc.default.clvm: [modified]
  mtime.conffile..etc.default.clvm: 2012-12-11T16:45:40.149014

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1089013] Re: clvm startup script requires cman

2016-01-11 Thread Billy Olsen
** Tags added: sts

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lvm2 in Ubuntu.
https://bugs.launchpad.net/bugs/1089013

Title:
  clvm startup script requires cman

Status in lvm2 package in Ubuntu:
  Confirmed

Bug description:
  while clvm in precise can support corosync, init script won't start
  because issues a cman status command

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: clvm 2.02.66-4ubuntu7.1
  ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
  Uname: Linux 3.2.0-23-generic x86_64
  ApportVersion: 2.0.1-0ubuntu5
  Architecture: amd64
  Date: Tue Dec 11 18:09:36 2012
  InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Release amd64 
(20120424.1)
  ProcEnviron:
   TERM=screen
   LANG=it_IT.UTF-8
   SHELL=/bin/bash
  SourcePackage: lvm2
  UpgradeStatus: No upgrade log present (probably fresh install)
  modified.conffile..etc.default.clvm: [modified]
  mtime.conffile..etc.default.clvm: 2012-12-11T16:45:40.149014

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1439649] Re: Pacemaker unable to communicate with corosync on restart under lxc

2015-09-04 Thread Billy Olsen
Serge,

I did double check that the pacemaker processes were running under
hacluster/haclient uid/gid. I will double check for my own sanity (I may
have seen one running as root). However, according to the pacemaker docs
that I referenced above, root and hacluster users should always have
full access (which is somewhat in conflict with the INSTALL file you
reference):

> Users are regular UNIX users, so the same user accounts must be present on 
> all nodes in the cluster.
>
> All user accounts must be in the haclient group.
> 
> Pacemaker 1.1.5 or newer must be installed on all cluster nodes.
> 
> The CIB must be configured to use the pacemaker-1.1 or 1.2 schema. This can 
> be set by running:
> 
> cibadmin --modify --xml-text ''
> The enable-acl option must be set. If ACLs are not explicitly enabled, the 
> previous behaviour will be used (i.e. all users in the haclient group have 
> full access):
>
> crm configure property enable-acl=true
> Once this is done, ACLs can be configured as described below.
>
> Note that the root and hacluster users will always have full access.
>
> If nonprivileged users will be using the crm shell and CLI tools (as opposed 
> to only using Hawk or the Python GUI) they will need to have /usr/sbin added 
> to their path.

If it were a necessity to add the ACL entry, then I would have expected
that the hacluster charm code would always have needed this requirement
and pacemaker should have always denied access. Additionally, since the
charm has done no configuration of the ACLs, I would expect all nodes to
get denied or allowed the same. Instead, what has been observed is that
*some* of the nodes in the cluster have the pacemaker process
successfully communicate with the corosync process, while others get
this invalid credentials error that is seen.

I've already proposed a change (which has been merged into the /next
branches of the hacluster charm) which incorporates JuanJo's comments
(thank you JuanJo!) by explicitly defining the ACL entry, but would
better like to understand why the inconsistent behavior.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1439649

Title:
  Pacemaker unable to communicate with corosync on restart under lxc

Status in lxc package in Ubuntu:
  Confirmed
Status in pacemaker package in Ubuntu:
  Confirmed

Bug description:
  We've seen this a few times with three node clusters, all running in
  LXC containers; pacemaker fails to restart correctly as it can't
  communicate with corosync, resulting in a down cluster.  Rebooting the
  containers resolves the issue, so suspect some sort of bad state
  either in corosync or pacemaker.

  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:   notice: 
mcp_read_config: Configured corosync to accept connections from group 115: 
Library error (2)
  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:   notice: main: 
Starting Pacemaker 1.1.10 (Build: 42f2063):  generated-manpages agent-manpages 
ncurses libqb-logging libqb-ipc lha-fencing upstart nagios  heartbeat 
corosync-native snmp libesmtp
  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:   notice: 
cluster_connect_quorum: Quorum acquired
  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:   notice: 
corosync_node_name: Unable to get node name for nodeid 1000
  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:   notice: 
corosync_node_name: Unable to get node name for nodeid 1001
  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:   notice: 
corosync_node_name: Unable to get node name for nodeid 1003
  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:   notice: 
corosync_node_name: Unable to get node name for nodeid 1001
  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:   notice: 
get_node_name: Defaulting to uname -n for the local corosync node name
  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:   notice: 
crm_update_peer_state: pcmk_quorum_notification: Node 
juju-machine-4-lxc-4[1001] - state is now member (was (null))
  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:   notice: 
corosync_node_name: Unable to get node name for nodeid 1003
  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:   notice: 
crm_update_peer_state: pcmk_quorum_notification: Node (null)[1003] - state is 
now member (was (null))
  Apr  2 11:41:32 juju-machine-4-lxc-4 crmd[1033748]:   notice: main: CRM Git 
Version: 42f2063
  Apr  2 11:41:32 juju-machine-4-lxc-4 stonith-ng[1033744]:   notice: 
crm_cluster_connect: Connecting to cluster infrastructure: corosync
  Apr  2 11:41:32 juju-machine-4-lxc-4 stonith-ng[1033744]:   notice: 
corosync_node_name: Unable to get node name for nodeid 1001
  Apr  2 11:41:32 juju-machine-4-lxc-4 stonith-ng[1033744]:   notice: 
get_node_name: Defaulting to uname -n for the local corosync node name
  Apr  2 11:41:32 juju-machine-4-lxc-4 at

[Touch-packages] [Bug 1439649] Re: Pacemaker unable to communicate with corosync on restart under lxc

2015-09-03 Thread Billy Olsen
** Attachment added: "syslog"
   
https://bugs.launchpad.net/ubuntu/+source/pacemaker/+bug/1439649/+attachment/4457039/+files/syslog

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1439649

Title:
  Pacemaker unable to communicate with corosync on restart under lxc

Status in lxc package in Ubuntu:
  Confirmed
Status in pacemaker package in Ubuntu:
  Confirmed

Bug description:
  We've seen this a few times with three node clusters, all running in
  LXC containers; pacemaker fails to restart correctly as it can't
  communicate with corosync, resulting in a down cluster.  Rebooting the
  containers resolves the issue, so suspect some sort of bad state
  either in corosync or pacemaker.

  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:   notice: 
mcp_read_config: Configured corosync to accept connections from group 115: 
Library error (2)
  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:   notice: main: 
Starting Pacemaker 1.1.10 (Build: 42f2063):  generated-manpages agent-manpages 
ncurses libqb-logging libqb-ipc lha-fencing upstart nagios  heartbeat 
corosync-native snmp libesmtp
  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:   notice: 
cluster_connect_quorum: Quorum acquired
  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:   notice: 
corosync_node_name: Unable to get node name for nodeid 1000
  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:   notice: 
corosync_node_name: Unable to get node name for nodeid 1001
  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:   notice: 
corosync_node_name: Unable to get node name for nodeid 1003
  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:   notice: 
corosync_node_name: Unable to get node name for nodeid 1001
  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:   notice: 
get_node_name: Defaulting to uname -n for the local corosync node name
  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:   notice: 
crm_update_peer_state: pcmk_quorum_notification: Node 
juju-machine-4-lxc-4[1001] - state is now member (was (null))
  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:   notice: 
corosync_node_name: Unable to get node name for nodeid 1003
  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:   notice: 
crm_update_peer_state: pcmk_quorum_notification: Node (null)[1003] - state is 
now member (was (null))
  Apr  2 11:41:32 juju-machine-4-lxc-4 crmd[1033748]:   notice: main: CRM Git 
Version: 42f2063
  Apr  2 11:41:32 juju-machine-4-lxc-4 stonith-ng[1033744]:   notice: 
crm_cluster_connect: Connecting to cluster infrastructure: corosync
  Apr  2 11:41:32 juju-machine-4-lxc-4 stonith-ng[1033744]:   notice: 
corosync_node_name: Unable to get node name for nodeid 1001
  Apr  2 11:41:32 juju-machine-4-lxc-4 stonith-ng[1033744]:   notice: 
get_node_name: Defaulting to uname -n for the local corosync node name
  Apr  2 11:41:32 juju-machine-4-lxc-4 attrd[1033746]:   notice: 
crm_cluster_connect: Connecting to cluster infrastructure: corosync
  Apr  2 11:41:32 juju-machine-4-lxc-4 corosync[1033732]:  [MAIN  ] Denied 
connection attempt from 109:115
  Apr  2 11:41:32 juju-machine-4-lxc-4 corosync[1033732]:  [QB] Invalid IPC 
credentials (1033732-1033746).
  Apr  2 11:41:32 juju-machine-4-lxc-4 attrd[1033746]:error: 
cluster_connect_cpg: Could not connect to the Cluster Process Group API: 11
  Apr  2 11:41:32 juju-machine-4-lxc-4 attrd[1033746]:error: main: HA 
Signon failed
  Apr  2 11:41:32 juju-machine-4-lxc-4 attrd[1033746]:error: main: Aborting 
startup
  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:error: 
pcmk_child_exit: Child process attrd (1033746) exited: Network is down (100)
  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:  warning: 
pcmk_child_exit: Pacemaker child process attrd no longer wishes to be 
respawned. Shutting ourselves down.
  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:   notice: 
pcmk_shutdown_worker: Shuting down Pacemaker
  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:   notice: 
stop_child: Stopping crmd: Sent -15 to process 1033748
  Apr  2 11:41:32 juju-machine-4-lxc-4 crmd[1033748]:  warning: do_cib_control: 
Couldn't complete CIB registration 1 times... pause and retry
  Apr  2 11:41:32 juju-machine-4-lxc-4 crmd[1033748]:   notice: crm_shutdown: 
Requesting shutdown, upper limit is 120ms
  Apr  2 11:41:32 juju-machine-4-lxc-4 crmd[1033748]:  warning: do_log: FSA: 
Input I_SHUTDOWN from crm_shutdown() received in state S_STARTING
  Apr  2 11:41:32 juju-machine-4-lxc-4 crmd[1033748]:   notice: 
do_state_transition: State transition S_STARTING -> S_STOPPING [ 
input=I_SHUTDOWN cause=C_SHUTDOWN origin=crm_shutdown ]
  Apr  2 11:41:32 juju-machine-4-lxc-4 cib[1033743]:   notice: 
crm_cluster_connect: Connecting to cluster infrastructure: corosync
  Apr  2 1

[Touch-packages] [Bug 1439649] Re: Pacemaker unable to communicate with corosync on restart under lxc

2015-09-03 Thread Billy Olsen
Looking at logs from bug 1491228, it would appear that the first time
that pacemaker goes to talk to the corosync daemon it gets denied. Per
upstream docs [0], if the enable-acl property isn't explicitly enabled,
then any user in the haclient group should have access. Since the
hacluster charm doesn't explicitly enable the acl, I'd expect pacemaker
to be running under the haclient/hacluster uid/gid.

The charms don't enable the acl and the package creates the hacluster
user in the haclient group, so I suspect there's something additional
going on here. For completeness, I'll attach the syslog in here. The
pacemaker node did start after following JuanJo's workaround in comment
#15.

[0] - http://clusterlabs.org/doc/acls.html

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1439649

Title:
  Pacemaker unable to communicate with corosync on restart under lxc

Status in lxc package in Ubuntu:
  Confirmed
Status in pacemaker package in Ubuntu:
  Confirmed

Bug description:
  We've seen this a few times with three node clusters, all running in
  LXC containers; pacemaker fails to restart correctly as it can't
  communicate with corosync, resulting in a down cluster.  Rebooting the
  containers resolves the issue, so suspect some sort of bad state
  either in corosync or pacemaker.

  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:   notice: 
mcp_read_config: Configured corosync to accept connections from group 115: 
Library error (2)
  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:   notice: main: 
Starting Pacemaker 1.1.10 (Build: 42f2063):  generated-manpages agent-manpages 
ncurses libqb-logging libqb-ipc lha-fencing upstart nagios  heartbeat 
corosync-native snmp libesmtp
  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:   notice: 
cluster_connect_quorum: Quorum acquired
  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:   notice: 
corosync_node_name: Unable to get node name for nodeid 1000
  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:   notice: 
corosync_node_name: Unable to get node name for nodeid 1001
  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:   notice: 
corosync_node_name: Unable to get node name for nodeid 1003
  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:   notice: 
corosync_node_name: Unable to get node name for nodeid 1001
  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:   notice: 
get_node_name: Defaulting to uname -n for the local corosync node name
  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:   notice: 
crm_update_peer_state: pcmk_quorum_notification: Node 
juju-machine-4-lxc-4[1001] - state is now member (was (null))
  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:   notice: 
corosync_node_name: Unable to get node name for nodeid 1003
  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:   notice: 
crm_update_peer_state: pcmk_quorum_notification: Node (null)[1003] - state is 
now member (was (null))
  Apr  2 11:41:32 juju-machine-4-lxc-4 crmd[1033748]:   notice: main: CRM Git 
Version: 42f2063
  Apr  2 11:41:32 juju-machine-4-lxc-4 stonith-ng[1033744]:   notice: 
crm_cluster_connect: Connecting to cluster infrastructure: corosync
  Apr  2 11:41:32 juju-machine-4-lxc-4 stonith-ng[1033744]:   notice: 
corosync_node_name: Unable to get node name for nodeid 1001
  Apr  2 11:41:32 juju-machine-4-lxc-4 stonith-ng[1033744]:   notice: 
get_node_name: Defaulting to uname -n for the local corosync node name
  Apr  2 11:41:32 juju-machine-4-lxc-4 attrd[1033746]:   notice: 
crm_cluster_connect: Connecting to cluster infrastructure: corosync
  Apr  2 11:41:32 juju-machine-4-lxc-4 corosync[1033732]:  [MAIN  ] Denied 
connection attempt from 109:115
  Apr  2 11:41:32 juju-machine-4-lxc-4 corosync[1033732]:  [QB] Invalid IPC 
credentials (1033732-1033746).
  Apr  2 11:41:32 juju-machine-4-lxc-4 attrd[1033746]:error: 
cluster_connect_cpg: Could not connect to the Cluster Process Group API: 11
  Apr  2 11:41:32 juju-machine-4-lxc-4 attrd[1033746]:error: main: HA 
Signon failed
  Apr  2 11:41:32 juju-machine-4-lxc-4 attrd[1033746]:error: main: Aborting 
startup
  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:error: 
pcmk_child_exit: Child process attrd (1033746) exited: Network is down (100)
  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:  warning: 
pcmk_child_exit: Pacemaker child process attrd no longer wishes to be 
respawned. Shutting ourselves down.
  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:   notice: 
pcmk_shutdown_worker: Shuting down Pacemaker
  Apr  2 11:41:32 juju-machine-4-lxc-4 pacemakerd[1033741]:   notice: 
stop_child: Stopping crmd: Sent -15 to process 1033748
  Apr  2 11:41:32 juju-machine-4-lxc-4 crmd[1033748]:  warning: do_cib_control: 
Couldn't complete CIB registration 1 times... pause and ret