[Bug 1972730] Re: WARNING: crmadmin -S unexpected output

2022-06-02 Thread Athos Ribeiro
Hi Felipe,

Now this has migrated to kinetic, are you still willing to propose the
SRU for this one? I'd be more than happy to sponsor it :)

You'd need to provide the debdiff (or a merge proposal for the git
ubuntu repository) and fill in the SRU template in this bug (see
https://wiki.ubuntu.com/StableReleaseUpdates#SRU_Bug_Template).

In case you are still willing to do it, let me know if you have any
questions and I'd be more than happy to assist.

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

Title:
  WARNING: crmadmin -S  unexpected output

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-hacluster/+bug/1972730/+subscriptions


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

[Bug 1972730] Re: WARNING: crmadmin -S unexpected output

2022-06-01 Thread Launchpad Bug Tracker
This bug was fixed in the package crmsh - 4.4.0-1ubuntu1

---
crmsh (4.4.0-1ubuntu1) kinetic; urgency=medium

  * Merge with Debian unstable (LP: #1971271, #1972730). Remaining changes:
- d/t/pacemaker-node-status.sh: Get the node name with "crm_node -n"
  instead of using "corosync-cmapctl". Ubuntu's corosync default
  configuration file does not set the node name.
- d/t/control: add resource-agents-extra as a dependency of some tests.
  * Dropped changes:
- d/p/0020-Use-crmsh-hb_report.patch: use the crmsh shipped hb_report script
  when available (LP #1958247).
  [ The hb_report script is no longer present since 4.4.0. ]
- d/p/0021-Support-python-310.patch: support Python 3.10 (LP #1958393).
  [ Included in 4.4.0. ]

 -- Athos Ribeiro   Tue, 31 May 2022
18:04:36 -0300

** Changed in: crmsh (Ubuntu)
   Status: In Progress => 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/1972730

Title:
  WARNING: crmadmin -S  unexpected output

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-hacluster/+bug/1972730/+subscriptions


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

[Bug 1972730] Re: WARNING: crmadmin -S unexpected output

2022-05-30 Thread Athos Ribeiro
** Changed in: crmsh (Ubuntu)
   Status: Triaged => In Progress

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

Title:
  WARNING: crmadmin -S  unexpected output

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-hacluster/+bug/1972730/+subscriptions


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

[Bug 1972730] Re: WARNING: crmadmin -S unexpected output

2022-05-25 Thread Athos Ribeiro
** Changed in: crmsh (Ubuntu Jammy)
 Assignee: (unassigned) => Athos Ribeiro (athos-ribeiro)

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

Title:
  WARNING: crmadmin -S  unexpected output

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-hacluster/+bug/1972730/+subscriptions


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

[Bug 1972730] Re: WARNING: crmadmin -S unexpected output

2022-05-24 Thread Athos Ribeiro
** Changed in: crmsh (Ubuntu)
 Assignee: (unassigned) => Athos Ribeiro (athos-ribeiro)

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

Title:
  WARNING: crmadmin -S  unexpected output

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-hacluster/+bug/1972730/+subscriptions


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

[Bug 1972730] Re: WARNING: crmadmin -S unexpected output

2022-05-12 Thread Paride Legovini
@Felipe sponsoring is certainly something we can do, however before
proceeding with the SRU we need to fix the bug in the current Ubuntu
devel release (kinetic). Ideally this should happen with Debian
packaging 4.4.0 and Ubuntu syncing it, as Lucas mentioned. Filing a bug
in Debian may help. If the Debian maintainers are not ready to package
4.4.0 soon then we can apply the patch to the 4.3.1 kinetic package and
then proceed with the SRU.

** Changed in: crmsh (Ubuntu)
   Status: New => Triaged

** Changed in: crmsh (Ubuntu Jammy)
   Status: New => Triaged

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

Title:
  WARNING: crmadmin -S  unexpected output

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-hacluster/+bug/1972730/+subscriptions


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

Re: [Bug 1972730] Re: WARNING: crmadmin -S unexpected output

2022-05-11 Thread Felipe Reyes
On Wed, 2022-05-11 at 19:13 +, Lucas Kanashiro wrote:
> Thanks for working with upstream to fix this. Would you be willing to
> backport this fix to Jammy? Or do you prefer me to do it?

I can propose the SRU (via debdiff) if you can sponsor it :-)

> 
> For Kinetic we will be moving to the newer version (4.4.0 as upstream
> suggested) so this will not be an issue. I am going to talk to the
> Debian maintainer to see if we can get version 4.4.0 in unstable so we
> can merge it.

That's great, thanks.

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

Title:
  WARNING: crmadmin -S  unexpected output

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-hacluster/+bug/1972730/+subscriptions


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

[Bug 1972730] Re: WARNING: crmadmin -S unexpected output

2022-05-11 Thread Lucas Kanashiro
Thanks for working with upstream to fix this. Would you be willing to
backport this fix to Jammy? Or do you prefer me to do it?

For Kinetic we will be moving to the newer version (4.4.0 as upstream
suggested) so this will not be an issue. I am going to talk to the
Debian maintainer to see if we can get version 4.4.0 in unstable so we
can merge it.

** Tags added: server-todo

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

Title:
  WARNING: crmadmin -S  unexpected output

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-hacluster/+bug/1972730/+subscriptions


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

[Bug 1972730] Re: WARNING: crmadmin -S unexpected output

2022-05-11 Thread Felipe Reyes
ppa with the fix proposed at
https://github.com/ClusterLabs/crmsh/pull/972 for testing purposes
available at https://launchpad.net/~freyes/+archive/ubuntu/lp1972730

** Changed in: charm-hacluster
   Status: New => Invalid

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

Title:
  WARNING: crmadmin -S  unexpected output

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-hacluster/+bug/1972730/+subscriptions


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

[Bug 1972730] Re: WARNING: crmadmin -S unexpected output

2022-05-09 Thread Felipe Reyes
The way this error is exposed in the hacluster is when running the
`stop` hook:

unit-hacluster-1: 16:53:41 DEBUG juju.worker.uniter.runner starting jujuc 
server  {unix @/var/lib/juju/agents/unit-hacluster-1/agent.socket }
unit-hacluster-1: 16:53:41 INFO unit.hacluster/1.juju-log Setting node 
juju-0c8f53-zaza-723eab24403d-4 to maintenance
unit-hacluster-1: 16:53:43 WARNING unit.hacluster/1.stop Traceback (most recent 
call last):
unit-hacluster-1: 16:53:43 WARNING unit.hacluster/1.stop   File 
"/var/lib/juju/agents/unit-hacluster-1/charm/hooks/stop", line 767, in 
unit-hacluster-1: 16:53:43 WARNING unit.hacluster/1.stop 
hooks.execute(sys.argv)
unit-hacluster-1: 16:53:43 WARNING unit.hacluster/1.stop   File 
"/var/lib/juju/agents/unit-hacluster-1/charm/charmhelpers/core/hookenv.py", 
line 962, in execute
unit-hacluster-1: 16:53:43 WARNING unit.hacluster/1.stop 
self._hooks[hook_name]()
unit-hacluster-1: 16:53:43 WARNING unit.hacluster/1.stop   File 
"/var/lib/juju/agents/unit-hacluster-1/charm/hooks/stop", line 617, in stop
unit-hacluster-1: 16:53:43 WARNING unit.hacluster/1.stop 
pcmk.set_node_status_to_maintenance(node)
unit-hacluster-1: 16:53:43 WARNING unit.hacluster/1.stop   File 
"/var/lib/juju/agents/unit-hacluster-1/charm/hooks/pcmk.py", line 201, in 
set_node_status_to_maintenance
unit-hacluster-1: 16:53:43 WARNING unit.hacluster/1.stop commit('crm -w -F 
node maintenance {}'.format(node_name),
unit-hacluster-1: 16:53:43 WARNING unit.hacluster/1.stop   File 
"/var/lib/juju/agents/unit-hacluster-1/charm/hooks/pcmk.py", line 90, in commit
unit-hacluster-1: 16:53:43 WARNING unit.hacluster/1.stop return 
subprocess.check_output(cmd.split(), stderr=subprocess.STDOUT)
unit-hacluster-1: 16:53:43 WARNING unit.hacluster/1.stop   File 
"/usr/lib/python3.10/subprocess.py", line 420, in check_output
unit-hacluster-1: 16:53:43 WARNING unit.hacluster/1.stop return 
run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
unit-hacluster-1: 16:53:43 WARNING unit.hacluster/1.stop   File 
"/usr/lib/python3.10/subprocess.py", line 524, in run
unit-hacluster-1: 16:53:43 WARNING unit.hacluster/1.stop raise 
CalledProcessError(retcode, process.args,
unit-hacluster-1: 16:53:43 WARNING unit.hacluster/1.stop 
subprocess.CalledProcessError: Command '['crm', '-w', '-F', 'node', 
'maintenance', 'juju-0c8f53-zaza-723eab24403d-4']' returned non-zero exit 
status 1.
unit-hacluster-1: 16:53:43 ERROR juju.worker.uniter.operation hook "stop" (via 
explicit, bespoke hook script) failed: exit status 1

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

Title:
  WARNING: crmadmin -S  unexpected output

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-hacluster/+bug/1972730/+subscriptions


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