[Bug 2060345] Re: oscap crashes during audit on the system with ceph-mds package installed

2024-06-06 Thread Przemyslaw Hausman
Hi Eduardo, thanks a lot for working on this and providing a fix!

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

Title:
  oscap crashes during audit on the system with ceph-mds package
  installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/usg/+bug/2060345/+subscriptions


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

[Bug 2060345] Re: oscap crashes during audit on the system with ceph-mds package installed

2024-04-19 Thread Przemyslaw Hausman
Thanks a lot, @ebaretto & @mihap!

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

Title:
  oscap crashes during audit on the system with ceph-mds package
  installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/usg/+bug/2060345/+subscriptions


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

[Bug 2060345] Re: oscap crashes during audit on the system with ceph-mds package installed

2024-04-17 Thread Przemyslaw Hausman
The most simple reproducer:

1. Have a machine with Ubuntu Pro attached, and usg enabled; bare-metal, VM or 
LXC container
2. Run:

apt install ceph-mds
usg generate-tailoring cis_level1_server /root/cis-l1.xml
usg audit --tailoring-file /root/cis-l1.xml

Crash happens during `usg audit`.

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

Title:
  oscap crashes during audit on the system with ceph-mds package
  installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/usg/+bug/2060345/+subscriptions


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

[Bug 2060345] Re: oscap crashes during audit on the system with ceph-mds package installed

2024-04-17 Thread Przemyslaw Hausman
Hi Eduardo, we have already spent countless hours troubleshooting the
issue, collecting logs, reporting the problem. We went above and beyond
analyzing the crash dump, researching bugs in upstream, eventually
building from source and providing the feedback. I believe we have
supported the process of maintaining high quality of our software
already well enough. I would expect that the Security Team takes care of
whatever needs to be done to fix the issue now, since it is now apparent
where the problem lies.

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

Title:
  oscap crashes during audit on the system with ceph-mds package
  installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/usg/+bug/2060345/+subscriptions


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

[Bug 2060345] Re: oscap crashes during audit on the system with ceph-mds package installed

2024-04-16 Thread Przemyslaw Hausman
@pjds, thanks a lot for troubleshooting the issue and finding the bug!

From the conversation outside of launchpad, we have also learned that
building 1.2.17 from source (thanks to @fdesi) on jammy produces the
oscap build that does not crash, even with circular dependency.

@ebaretto, please let us know if there's anything else we can help you
with kicking off the fixing process.

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

Title:
  oscap crashes during audit on the system with ceph-mds package
  installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/usg/+bug/2060345/+subscriptions


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

[Bug 1902944] Re: Cannot create a swift container, mandatory "Storage Policy" dropdown field is empty

2020-11-13 Thread Przemyslaw Hausman
This bug could be related: https://bugs.launchpad.net/charm-ceph-
radosgw/+bug/1904183

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

Title:
  Cannot create a swift container, mandatory "Storage Policy" dropdown
  field is empty

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-ceph-radosgw/+bug/1902944/+subscriptions

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

[Bug 1902944] Re: Cannot create a swift container, mandatory "Storage Policy" dropdown field is empty

2020-11-12 Thread Przemyslaw Hausman
** Tags removed: verification-needed-focal
** Tags added: verification-focal-done

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

Title:
  Cannot create a swift container, mandatory "Storage Policy" dropdown
  field is empty

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-ceph-radosgw/+bug/1902944/+subscriptions

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

[Bug 1902944] Re: Cannot create a swift container, mandatory "Storage Policy" dropdown field is empty

2020-11-12 Thread Przemyslaw Hausman
Thanks Chris, that worked!

I can now confirm that a python3-swiftclient version 1:3.9.0-0ubuntu1.1
installed from focal-proposed fixes the issue.

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

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

Title:
  Cannot create a swift container, mandatory "Storage Policy" dropdown
  field is empty

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-ceph-radosgw/+bug/1902944/+subscriptions

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

[Bug 1902944] Re: Cannot create a swift container, mandatory "Storage Policy" dropdown field is empty

2020-11-11 Thread Przemyslaw Hausman
Hi @corey.bryant, I can't test the -proposed package. This is what I get
when I try to add the repository. I'm on Focal. Please advise.

ubuntu@juju-7e182c-0-lxd-12:~$ sudo add-apt-repository 
cloud-archive:ussuri-proposed
 Ubuntu Cloud Archive for OpenStack Ussuri [proposed]
 More info: https://wiki.ubuntu.com/OpenStack/CloudArchive
Press [ENTER] to continue or Ctrl-c to cancel adding it.

cloud-archive for Ussuri-proposed only supported on bionic

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

Title:
  Cannot create a swift container, mandatory "Storage Policy" dropdown
  field is empty

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-ceph-radosgw/+bug/1902944/+subscriptions

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

[Bug 1865145] Re: Ubuntu Bionic freezes on Supermicro hardware when console redirection is configured in kernel parameters

2020-04-17 Thread Przemyslaw Hausman
@arighi, unfortunately I do not have access to the hardware anymore. As
far as I know, @agrebennikov is working on getting access to some test
machines from the vendor. Once we have it and the problem is still
reproducible, I think you might be able to access the machine to look
around.

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

Title:
  Ubuntu Bionic freezes on Supermicro hardware when console redirection
  is configured in kernel parameters

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

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

[Bug 1865145] Re: Ubuntu Bionic freezes on Supermicro hardware when console redirection is configured in kernel parameters

2020-03-03 Thread Przemyslaw Hausman
Hi Andrea, I am not able to access the machines now and run dmesg. But
in the attached sosreport you can find /var/log/kern.log and
/var/log/syslog. Hope that would help.

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

Title:
  Ubuntu Bionic freezes on Supermicro hardware when console redirection
  is configured in kernel parameters

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

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

[Bug 1865145] Re: Ubuntu Bionic freezes on Supermicro hardware when console redirection is configured in kernel parameters

2020-02-28 Thread Przemyslaw Hausman
Subscribing field-critical as we're currently facing this issue on two
customer OpenStack deployments.

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

Title:
  Ubuntu Bionic freezes on Supermicro hardware when console redirection
  is configured in kernel parameters

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

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

[Bug 1865145] [NEW] Ubuntu Bionic freezes on Supermicro hardware when console redirection is configured in kernel parameters

2020-02-28 Thread Przemyslaw Hausman
Public bug reported:

STEPS TO REPRODUCE

1. Use MAAS for deploying Ubuntu on bare metal servers.

2. Enable serial-over-lan in BIOS.

3. Enable console redirection in kernel parameters:
   console=tty0 console=ttyS1,115200n8

4. Connect to the ipmi console to watch the boot and installation process
   ipmiconsole -u  -p  -h 

5. Start deploying the server with MAAS (bionic, GA kernel)
It may require several re-deployments until you experience the issue. In my 
case, I'm deploying 9 bare metal machines at the same time. The issue typically 
surfaces on one random node, 50% of the time.

6. During the deployment, after first reboot, typically during execution of 
cloud-init scripts, the ipmi console freezes. Typically in the middle of 
printing out some output.
You can still SSH to the node. While being logged into the node: 
- running 'ps aux' takes more than 20 seconds, 
- running 'systemctl' times out,
- the number of zombie processes increases.

Sometimes, running 'sosreport' unblocks the node, so that cloud-init scripts 
finish executing and the node shuts down as expected.
Sometimes, only logging into the node with SSH unblocks it. 

7. Eventually, after 30 minutes, MAAS marks the node as "Failed
deployment".


WORKAROUND

Remove console redirection from kernel parameters (console=tty0
console=ttyS1,115200n8).


AFFECTED HARDWARE

Supermicro SYS-2029U-TR4
https://www.supermicro.com/en/products/system/2U/2029/SYS-2029U-TR4.cfm


OTHER

The issue does not affect Xenial with GA kernel.

** Affects: linux (Ubuntu)
 Importance: Undecided
 Status: New

** Attachment added: "sosreport-lthcloud01-20200226191739.tar.xz"
   
https://bugs.launchpad.net/bugs/1865145/+attachment/5331859/+files/sosreport-lthcloud01-20200226191739.tar.xz

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

Title:
  Ubuntu Bionic freezes on Supermicro hardware when console redirection
  is configured in kernel parameters

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

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

[Bug 1865145] Re: Ubuntu Bionic freezes on Supermicro hardware when console redirection is configured in kernel parameters

2020-02-28 Thread Przemyslaw Hausman
** Attachment added: "sosreport-lthcloud01-20200226191739.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865145/+attachment/5331860/+files/sosreport-lthcloud01-20200226191739.txt

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

Title:
  Ubuntu Bionic freezes on Supermicro hardware when console redirection
  is configured in kernel parameters

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

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

[Bug 1862343] Re: Changing the language in GUI has almost no effect

2020-02-25 Thread Przemyslaw Hausman
Workaround that worked for me:

sudo apt install -y gettext
cd /usr/share/openstack-dashboard/openstack_dashboard
sudo python3 /usr/share/openstack-dashboard/manage.py compilemessages
sudo systemctl restart apache2

I'm unsubscribing field-high as we have a workaround now.

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

Title:
  Changing the language in GUI has almost no effect

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-openstack-dashboard/+bug/1862343/+subscriptions

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

[Bug 1857126] Re: [SRU] Setting up external gateway on the router brings all ports of this router Down and errors "Router is not compatible with this agent" [bionic-stein]

2020-02-07 Thread Przemyslaw Hausman
Corey, I can now confirm that neutron from bionic-proposed fixes the
issue. Two routers can now be successfully created. Thank you!

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

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

Title:
  [SRU] Setting up external gateway on the router brings all ports of
  this router Down and errors "Router is not compatible with this agent"
  [bionic-stein]

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-neutron-openvswitch/+bug/1857126/+subscriptions

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

[Bug 1855409] Re: qede driver causes 100% CPU load

2019-12-18 Thread Przemyslaw Hausman
@gpiccoli, I can now confirm that I've been running the system with the
test kernel from your PPA for a day and the issue did not appear
anymore. Looks like the upstream commit fixes the problem.

Thanks a lot for figuring it out and for providing the test kernel!

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

Title:
  qede driver causes 100% CPU load

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

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

[Bug 1855409] Re: qede driver causes 100% CPU load

2019-12-06 Thread Przemyslaw Hausman
** Attachment added: "perf-report.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1855409/+attachment/5310185/+files/perf-report.txt

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

Title:
  qede driver causes 100% CPU load

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

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

[Bug 1855409] [NEW] qede driver causes 100% CPU load

2019-12-06 Thread Przemyslaw Hausman
Public bug reported:

This bug is similar to #1832082 (bnx2x driver causes 100% CPU load) but
applies for qede driver instead of bnx2x. The symptoms are the same:

With chrony installed, and configured with "hwtimestamp *", I observe
100% CPU load on 2 CPU cores.

Running perf report shows that kernel is busy executing qede_ptp_task
function in qede driver.

A workaround is to disable "hwtimestamp *" in chrony configuration.

---

$ modinfo qede
filename:   
/lib/modules/4.15.0-72-generic/kernel/drivers/net/ethernet/qlogic/qede/qede.ko
version:8.10.10.21
license:GPL
description:QLogic FastLinQ 4 Ethernet Driver
srcversion: D5EC89D815FC81B973EE9F0
alias:  pci:v1077d8090sv*sd*bc*sc*i*
alias:  pci:v1077d8070sv*sd*bc*sc*i*
alias:  pci:v1077d1664sv*sd*bc*sc*i*
alias:  pci:v1077d1656sv*sd*bc*sc*i*
alias:  pci:v1077d1654sv*sd*bc*sc*i*
alias:  pci:v1077d1644sv*sd*bc*sc*i*
alias:  pci:v1077d1636sv*sd*bc*sc*i*
alias:  pci:v1077d1666sv*sd*bc*sc*i*
alias:  pci:v1077d1634sv*sd*bc*sc*i*
depends:ptp,qed
retpoline:  Y
intree: Y
name:   qede
vermagic:   4.15.0-72-generic SMP mod_unload 
signat: PKCS#7
signer: 
sig_key:
sig_hashalgo:   md4
parm:   debug: Default debug msglevel (uint)


$ uname -a
Linux dcn1-clm-inf-1 4.15.0-72-generic #81-Ubuntu SMP Tue Nov 26 12:20:02 UTC 
2019 x86_64 x86_64 x86_64 GNU/Linux


$ lspci | grep -i ether
19:00.0 Ethernet controller: QLogic Corp. FastLinQ QL41000 Series 
10/25/40/50GbE Controller (rev 02)
19:00.1 Ethernet controller: QLogic Corp. FastLinQ QL41000 Series 
10/25/40/50GbE Controller (rev 02)
19:00.2 Ethernet controller: QLogic Corp. FastLinQ QL41000 Series 
10/25/40/50GbE Controller (rev 02)
19:00.3 Ethernet controller: QLogic Corp. FastLinQ QL41000 Series 
10/25/40/50GbE Controller (rev 02)


# perf report snippet:

  Children  Self  Command  Shared Object
-   44.76% 0.00%  kworker/16:5 [kernel.kallsyms]
 ret_from_fork
   - kthread
  - 44.74% worker_thread
 - 44.57% process_one_work
- 42.67% qede_ptp_task
   - 38.86% qed_ptp_hw_read_tx_ts
qed_rd
   - 3.03% queue_work_on
  - 2.06% __queue_work
 - 0.68% get_work_pool
- 0.61% radix_tree_lookup
 __radix_tree_lookup
  0.50% set_work_pool_and_clear_pending

** Affects: linux (Ubuntu)
 Importance: Undecided
 Status: New

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

Title:
  qede driver causes 100% CPU load

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

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

[Bug 1835354] Re: disco: ceph-mgr unable to load crash module under py3

2019-07-12 Thread Przemyslaw Hausman
I can see the same error on bionic-stein.

2019-07-12 07:21:26.665 7f5c1d348300  0 set uid:gid to 64045:64045 (ceph:ceph)
2019-07-12 07:21:26.665 7f5c1d348300  0 ceph version 13.2.6 
(7b695f835b03642f85998b2ae7b6dd093d9fbce4) mimic (stable), process ceph-mgr, 
pid 64002
2019-07-12 07:21:26.669 7f5c1d348300  0 pidfile_write: ignore empty --pid-file
2019-07-12 07:21:26.701 7f5c1d348300  1 mgr[py] Loading python module 'balancer'
2019-07-12 07:21:26.769 7f5c1d348300  1 mgr[py] Loading python module 'crash'
2019-07-12 07:21:26.813 7f5c1d348300 -1 mgr[py] Module not found: 'crash'
2019-07-12 07:21:26.813 7f5c1d348300 -1 mgr[py] Traceback (most recent call 
last):
  File "/usr/lib/x86_64-linux-gnu/ceph/mgr/crash/__init__.py", line 1, in 

from .module import Module
  File "/usr/lib/x86_64-linux-gnu/ceph/mgr/crash/module.py", line 48
def inner((_, meta)):
  ^
SyntaxError: invalid syntax

2019-07-12 07:21:26.813 7f5c1d348300 -1 mgr[py] Class not found in module 
'crash'
2019-07-12 07:21:26.813 7f5c1d348300 -1 mgr[py] Error loading module 'crash': 
(2) No such file or directory
2019-07-12 07:21:26.813 7f5c1d348300  1 mgr[py] Loading python module 
'dashboard'
2019-07-12 07:21:27.257 7f5c1d348300  1 mgr[py] Loading python module 'hello'
2019-07-12 07:21:27.301 7f5c1d348300  1 mgr[py] Loading python module 'influx'
2019-07-12 07:21:27.349 7f5c1d348300  1 mgr[py] Loading python module 'iostat'
2019-07-12 07:21:27.389 7f5c1d348300  1 mgr[py] Loading python module 
'localpool'
2019-07-12 07:21:27.429 7f5c1d348300  1 mgr[py] Loading python module 
'prometheus'
2019-07-12 07:21:27.793 7f5c1d348300  1 mgr[py] Loading python module 'restful'
2019-07-12 07:21:28.121 7f5c1d348300  1 mgr[py] Loading python module 'selftest'
2019-07-12 07:21:28.233 7f5c1d348300  1 mgr[py] Loading python module 'smart'
2019-07-12 07:21:28.273 7f5c1d348300  1 mgr[py] Loading python module 'status'
2019-07-12 07:21:28.329 7f5c1d348300  1 mgr[py] Loading python module 'telegraf'
2019-07-12 07:21:28.381 7f5c1d348300  1 mgr[py] Loading python module 
'telemetry'
2019-07-12 07:21:28.637 7f5c1d348300  1 mgr[py] Loading python module 'zabbix'
2019-07-12 07:21:28.789 7f5c1d348300 -1 log_channel(cluster) log [ERR] : Failed 
to load ceph-mgr modules: crash
2019-07-12 07:21:28.789 7f5c1d348300  1 mgr send_beacon standby
2019-07-12 07:21:28.817 7f5c09be3700  0 ms_deliver_dispatch: unhandled message 
0x55de1e1a7d40 mon_map magic: 0 v1 from mon.2 10.246.68.52:6789/0
2019-07-12 07:21:28.817 7f5c09be3700  0 client.0 ms_handle_reset on 
10.246.68.40:6800/112543
2019-07-12 07:21:30.813 7f5c063dc700  1 mgr send_beacon standby
2019-07-12 07:21:32.837 7f5c063dc700  1 mgr send_beacon standby
2019-07-12 07:21:34.861 7f5c063dc700  1 mgr send_beacon standby
2019-07-12 07:21:36.885 7f5c063dc700  1 mgr send_beacon standby

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

Title:
  disco: ceph-mgr unable to load crash module under py3

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

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

[Bug 1834322] Lspci.txt

2019-06-26 Thread Przemyslaw Hausman
apport information

** Attachment added: "Lspci.txt"
   https://bugs.launchpad.net/bugs/1834322/+attachment/5273477/+files/Lspci.txt

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

Title:
  Losing port aggregate with 802.3ad port-channel/bonding aggregation on
  reboot

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

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

[Bug 1834322] ProcInterrupts.txt

2019-06-26 Thread Przemyslaw Hausman
apport information

** Attachment added: "ProcInterrupts.txt"
   
https://bugs.launchpad.net/bugs/1834322/+attachment/5273480/+files/ProcInterrupts.txt

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

Title:
  Losing port aggregate with 802.3ad port-channel/bonding aggregation on
  reboot

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

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

[Bug 1834322] WifiSyslog.txt

2019-06-26 Thread Przemyslaw Hausman
apport information

** Attachment added: "WifiSyslog.txt"
   
https://bugs.launchpad.net/bugs/1834322/+attachment/5273483/+files/WifiSyslog.txt

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

Title:
  Losing port aggregate with 802.3ad port-channel/bonding aggregation on
  reboot

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

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

[Bug 1834322] ProcEnviron.txt

2019-06-26 Thread Przemyslaw Hausman
apport information

** Attachment added: "ProcEnviron.txt"
   
https://bugs.launchpad.net/bugs/1834322/+attachment/5273479/+files/ProcEnviron.txt

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

Title:
  Losing port aggregate with 802.3ad port-channel/bonding aggregation on
  reboot

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

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

[Bug 1834322] UdevDb.txt

2019-06-26 Thread Przemyslaw Hausman
apport information

** Attachment added: "UdevDb.txt"
   https://bugs.launchpad.net/bugs/1834322/+attachment/5273482/+files/UdevDb.txt

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

Title:
  Losing port aggregate with 802.3ad port-channel/bonding aggregation on
  reboot

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

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

[Bug 1834322] ProcModules.txt

2019-06-26 Thread Przemyslaw Hausman
apport information

** Attachment added: "ProcModules.txt"
   
https://bugs.launchpad.net/bugs/1834322/+attachment/5273481/+files/ProcModules.txt

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

Title:
  Losing port aggregate with 802.3ad port-channel/bonding aggregation on
  reboot

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

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

[Bug 1834322] Re: Losing port aggregate with 802.3ad port-channel/bonding aggregation on reboot

2019-06-26 Thread Przemyslaw Hausman
apport information

** Tags added: apport-collected uec-images

** Description changed:

  We are losing port channel aggregation on reboot.
  
  After the reboot, /var/log/syslog contains the entries:
  [  250.790758] bond2: An illegal loopback occurred on adapter (enp24s0f1np1)
 Check the configuration to verify that all adapters are 
connected to 802.3ad compliant switch ports
  [  282.029426] bond2: An illegal loopback occurred on adapter (enp24s0f1np1)
 Check the configuration to verify that all adapters are 
connected to 802.3ad compliant switch ports
  
  Aggregator IDs of the slave interfaces are different:
  ubuntu@node-6:~$ cat /proc/net/bonding/bond2 
  Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
  
  Bonding Mode: IEEE 802.3ad Dynamic link aggregation
  Transmit Hash Policy: layer3+4 (1)
  MII Status: up
  MII Polling Interval (ms): 100
  Up Delay (ms): 0
  Down Delay (ms): 0
  
  802.3ad info
  LACP rate: fast
  Min links: 0
  Aggregator selection policy (ad_select): stable
  
  Slave Interface: enp24s0f1np1
  MII Status: up
  Speed: 1 Mbps
  Duplex: full
  Link Failure Count: 0
  Permanent HW addr: b0:26:28:48:9f:51
  Slave queue ID: 0
  Aggregator ID: 1
  Actor Churn State: none
  Partner Churn State: none
  Actor Churned Count: 0
  Partner Churned Count: 0
  
  Slave Interface: enp24s0f0np0
  MII Status: up
  Speed: 1 Mbps
  Duplex: full
  Link Failure Count: 0
  Permanent HW addr: b0:26:28:48:9f:50
  Slave queue ID: 0
  Aggregator ID: 2
  Actor Churn State: churned
  Partner Churn State: churned
  Actor Churned Count: 1
  Partner Churned Count: 1
  
  The mismatch in "Aggregator ID" on the port is a symptom of the issue.
  If we do 'ip link set dev bond2 down' and 'ip link set dev bond2 up',
  the port with the mismatched ID appears to renegotiate with the port-
  channel and becomes aggregated.
  
  The other way to workaround this issue is to put bond ports down and
  bring up port enp24s0f0np0 first and port enp24s0f1np1 second.
  
  When I change the order of bringing the ports up (first enp24s0f1np1,
  and second enp24s0f0np0), the issue is still there.
  
  When the issue occurs, a port on the switch, corresponding to interface
  enp24s0f0np0 is in Suspended state. After applying the workaround the
  port is no longer in Suspended state and Aggregator IDs in
  /proc/net/bonding/bond2 are equal.
  
  I installed 5.0.0 kernel, the issue is still there.
  
  Operating System: 
  Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-52-generic x86_64)
  
  ubuntu@node-6:~$ uname -a
  Linux node-6 4.15.0-52-generic #56-Ubuntu SMP Tue Jun 4 22:49:08 UTC 2019 
x86_64 x86_64 x86_64 GNU/Linux
  
  ubuntu@node-6:~$ sudo lspci -vnvn
  https://pastebin.ubuntu.com/p/Dy2CKDbySC/
  
  Hardware: Dell PowerEdge R740xd
  BIOS version: 2.1.7
  
  sosreport: https://drive.google.com/open?id=1-eN7cZJIeu-
  AQBEU7Gw8a_AJTuq0AOZO
  
  ubuntu@node-6:~$ lspci | grep Ethernet | grep 10G
  https://pastebin.ubuntu.com/p/sqCx79vZWM/
  
  ubuntu@node-6:~$ lspci -n | grep 18:00
  18:00.0 0200: 14e4:16d8 (rev 01)
  18:00.1 0200: 14e4:16d8 (rev 01)
  
  ubuntu@node-6:~$ modinfo bnx2x
  https://pastebin.ubuntu.com/p/pkmzsFjK8M/
  
  ubuntu@node-6:~$ ip -o l 
  https://pastebin.ubuntu.com/p/QpW7TjnT2v/
  
  ubuntu@node-6:~$ ip -o a
  https://pastebin.ubuntu.com/p/MczKtrnmDR/
  
  ubuntu@node-6:~$ cat /etc/netplan/98-juju.yaml
  https://pastebin.ubuntu.com/p/9cZpPc7C6P/
  
  ubuntu@node-6:~$ sudo lshw -c network
  https://pastebin.ubuntu.com/p/gmfgZptzDT/
+ --- 
+ ProblemType: Bug
+ AlsaDevices:
+  total 0
+  crw-rw 1 root audio 116,  1 Jun 26 10:21 seq
+  crw-rw 1 root audio 116, 33 Jun 26 10:21 timer
+ AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
+ ApportVersion: 2.20.9-0ubuntu7.6
+ Architecture: amd64
+ ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 
'arecord'
+ AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', 
'/dev/snd/timer'] failed with exit code 1:
+ DistroRelease: Ubuntu 18.04
+ IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
+ Lsusb:
+  Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
+  Bus 001 Device 004: ID 1604:10c0 Tascam 
+  Bus 001 Device 003: ID 1604:10c0 Tascam 
+  Bus 001 Device 002: ID 1604:10c0 Tascam 
+  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
+ MachineType: Dell Inc. PowerEdge R740xd
+ Package: linux (not installed)
+ PciMultimedia:
+  
+ ProcFB: 0 mgadrmfb
+ ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-52-generic 
root=UUID=9b1eae60-0941-4638-a22a-98a719104259 ro console=tty0 
console=ttyS0,115200 console=ttyS1,115200 raid=noautodetect intel_iommu=on 
iommu=pt pti=off
+ ProcVersionSignature: Ubuntu 4.15.0-52.56-generic 4.15.18
+ RelatedPackageVersions:
+  linux-restricted-modules-4.15.0-52-generic N/A
+  linux-backports-modules-4.15.0-52-generic  N/A
+  linux-firmware 1.173.6
+ RfKil

[Bug 1834322] ProcCpuinfoMinimal.txt

2019-06-26 Thread Przemyslaw Hausman
apport information

** Attachment added: "ProcCpuinfoMinimal.txt"
   
https://bugs.launchpad.net/bugs/1834322/+attachment/5273478/+files/ProcCpuinfoMinimal.txt

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

Title:
  Losing port aggregate with 802.3ad port-channel/bonding aggregation on
  reboot

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

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

[Bug 1834322] CurrentDmesg.txt

2019-06-26 Thread Przemyslaw Hausman
apport information

** Attachment added: "CurrentDmesg.txt"
   
https://bugs.launchpad.net/bugs/1834322/+attachment/5273476/+files/CurrentDmesg.txt

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

Title:
  Losing port aggregate with 802.3ad port-channel/bonding aggregation on
  reboot

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

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

[Bug 1834322] Re: Losing port aggregate with 802.3ad port-channel/bonding aggregation on reboot

2019-06-26 Thread Przemyslaw Hausman
subscribed ~field-critical

the issue is critically impairing the networking to the instance during
the ongoing customer deployment

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

Title:
  Losing port aggregate with 802.3ad port-channel/bonding aggregation on
  reboot

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

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

[Bug 1834322] [NEW] Losing port aggregate with 802.3ad port-channel/bonding aggregation on reboot

2019-06-26 Thread Przemyslaw Hausman
Public bug reported:

We are losing port channel aggregation on reboot.

After the reboot, /var/log/syslog contains the entries:
[  250.790758] bond2: An illegal loopback occurred on adapter (enp24s0f1np1)
   Check the configuration to verify that all adapters are 
connected to 802.3ad compliant switch ports
[  282.029426] bond2: An illegal loopback occurred on adapter (enp24s0f1np1)
   Check the configuration to verify that all adapters are 
connected to 802.3ad compliant switch ports

Aggregator IDs of the slave interfaces are different:
ubuntu@node-6:~$ cat /proc/net/bonding/bond2 
Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)

Bonding Mode: IEEE 802.3ad Dynamic link aggregation
Transmit Hash Policy: layer3+4 (1)
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0

802.3ad info
LACP rate: fast
Min links: 0
Aggregator selection policy (ad_select): stable

Slave Interface: enp24s0f1np1
MII Status: up
Speed: 1 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: b0:26:28:48:9f:51
Slave queue ID: 0
Aggregator ID: 1
Actor Churn State: none
Partner Churn State: none
Actor Churned Count: 0
Partner Churned Count: 0

Slave Interface: enp24s0f0np0
MII Status: up
Speed: 1 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: b0:26:28:48:9f:50
Slave queue ID: 0
Aggregator ID: 2
Actor Churn State: churned
Partner Churn State: churned
Actor Churned Count: 1
Partner Churned Count: 1

The mismatch in "Aggregator ID" on the port is a symptom of the issue.
If we do 'ip link set dev bond2 down' and 'ip link set dev bond2 up',
the port with the mismatched ID appears to renegotiate with the port-
channel and becomes aggregated.

The other way to workaround this issue is to put bond ports down and
bring up port enp24s0f0np0 first and port enp24s0f1np1 second.

When I change the order of bringing the ports up (first enp24s0f1np1,
and second enp24s0f0np0), the issue is still there.

When the issue occurs, a port on the switch, corresponding to interface
enp24s0f0np0 is in Suspended state. After applying the workaround the
port is no longer in Suspended state and Aggregator IDs in
/proc/net/bonding/bond2 are equal.

I installed 5.0.0 kernel, the issue is still there.

Operating System: 
Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-52-generic x86_64)

ubuntu@node-6:~$ uname -a
Linux node-6 4.15.0-52-generic #56-Ubuntu SMP Tue Jun 4 22:49:08 UTC 2019 
x86_64 x86_64 x86_64 GNU/Linux

ubuntu@node-6:~$ sudo lspci -vnvn
https://pastebin.ubuntu.com/p/Dy2CKDbySC/

Hardware: Dell PowerEdge R740xd
BIOS version: 2.1.7

sosreport: https://drive.google.com/open?id=1-eN7cZJIeu-
AQBEU7Gw8a_AJTuq0AOZO

ubuntu@node-6:~$ lspci | grep Ethernet | grep 10G
https://pastebin.ubuntu.com/p/sqCx79vZWM/

ubuntu@node-6:~$ lspci -n | grep 18:00
18:00.0 0200: 14e4:16d8 (rev 01)
18:00.1 0200: 14e4:16d8 (rev 01)

ubuntu@node-6:~$ modinfo bnx2x
https://pastebin.ubuntu.com/p/pkmzsFjK8M/

ubuntu@node-6:~$ ip -o l 
https://pastebin.ubuntu.com/p/QpW7TjnT2v/

ubuntu@node-6:~$ ip -o a
https://pastebin.ubuntu.com/p/MczKtrnmDR/

ubuntu@node-6:~$ cat /etc/netplan/98-juju.yaml
https://pastebin.ubuntu.com/p/9cZpPc7C6P/

ubuntu@node-6:~$ sudo lshw -c network
https://pastebin.ubuntu.com/p/gmfgZptzDT/

** Affects: linux (Ubuntu)
 Importance: Undecided
 Status: New

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

Title:
  Losing port aggregate with 802.3ad port-channel/bonding aggregation on
  reboot

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

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

[Bug 1832082] Re: bnx2x driver causes 100% CPU load

2019-06-19 Thread Przemyslaw Hausman
** Information type changed from Private to Public

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

Title:
  bnx2x driver causes 100% CPU load

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

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

[Bug 1808951] Re: python3 + Fedora + SSL + wsgi nova deployment, nova api returns RecursionError: maximum recursion depth exceeded while calling a Python object

2019-06-19 Thread Przemyslaw Hausman
Hi, I have also verified that the fix works on bionic-stein, with
-proposed packages.

https://paste.ubuntu.com/p/nQgKFWxVw4/

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

Title:
  python3 + Fedora + SSL + wsgi nova deployment, nova api returns
  RecursionError: maximum recursion depth exceeded while calling a
  Python object

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1808951/+subscriptions

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

[Bug 1826875] Re: [stein] 'Percona-XtraDB-Cluster prohibits use of DML command on a table (octavia.spares_pool) without an explicit primary key with pxc_strict_mode = ENFORCING or MASTER')

2019-06-18 Thread Przemyslaw Hausman
Hi, I have verified that the fix works on bionic-stein, with -proposed
packages.

** Tags added: verification-stein-done

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

Title:
  [stein] 'Percona-XtraDB-Cluster prohibits use of DML command on a
  table (octavia.spares_pool) without an explicit primary key with
  pxc_strict_mode = ENFORCING or MASTER')

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1826875/+subscriptions

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

[Bug 1832082] [NEW] bnx2x driver causes 100% CPU load

2019-06-08 Thread Przemyslaw Hausman
Private bug reported:

For the customer OpenStack deployment we deploy infra nodes on Dell R630
servers. The servers have onboard Broadcom's NetXtreme II BCM57800 NIC
(quad port: 2x1G ports, 2x10G ports). For each port in UP state, we
observe 100% CPU load. So in total, we observe 4 CPUs with 100% load.

perf report shows function bnx2x_ptp_task taking up much of the CPUs
time: https://pastebin.canonical.com/p/kfrpd6Pwh5/

Also, /var/log/syslog contains the following outputs every few seconds:

[1738143.581721] bnx2x: [bnx2x_start_xmit:3855(eno4)]The device supports only a 
single outstanding packet to timestamp, this packet will not be timestamped 
[1738176.727642] bnx2x: [bnx2x_start_xmit:3855(eno1)]The device supports only a 
single outstanding packet to timestamp, this packet will not be timestamped 
[1738207.988310] bnx2x: [bnx2x_start_xmit:3855(eno3)]The device supports only a 
single outstanding packet to timestamp, this packet will not be timestamped 
[1738240.227333] bnx2x: [bnx2x_start_xmit:3855(eno2)]The device supports only a 
single outstanding packet to timestamp, this packet will not be timestamped 

So, the problem seems to be in a "timestampped" TX packet; the driver
for some reason (to be yet understood) get an unexpected value from a
register and then, it that same function, reschedule itself to try again
this register read, read gets a bad value again, and so on infinitely.

This is showing in the system as the 100% CPU usage kthreads; the
message "The device supports only a single outstanding packet to
timestamp, this packet will not be timestamped" happens because the
driver can only timestamp a single TX packet at a time, and given it's
stuck trying, it cannot accept another packet in this "queue".

The infinite loop appears to be:

static void bnx2x_ptp_task(struct work_struct *work) 
{ 
struct bnx2x *bp = container_of(work, struct bnx2x, ptp_task); 
int port = BP_PORT(bp); 
u32 val_seq; 
u64 timestamp, ns; 
struct skb_shared_hwtstamps shhwtstamps; 

/* Read Tx timestamp registers */ 
val_seq = REG_RD(bp, port ? NIG_REG_P1_TLLH_PTP_BUF_SEQID : 
NIG_REG_P0_TLLH_PTP_BUF_SEQID); 
if (val_seq & 0x1) { 
[...] 
} else { 
DP(BNX2X_MSG_PTP, "There is no valid Tx timestamp yet\n"); 
/* Reschedule to keep checking for a valid timestamp value */ 
schedule_work(&bp->ptp_task); 
} 

It appears that val_seq & 0x1 is never true, so the task constantly
reschedules itself immediately. Instrumenting the function shows that it
is being called in excess of 100,000 times per second. The REG_RD call
does appear to be expensive (as it's a register read from the device)
and shows high in the perf report, but that by itself doesn't appear to
be the root cause (i.e., it's not hanging forever in the REG_RD).

The cause appears to be that the driver is not prepared to deal with the
PTP request never being completed by the hardware. It's unclear why it
isn't completing, but regardless, the driver should not loop forever
here.


Additional info: 


ubuntu@infra-1:~$ uname -a 
Linux infra-1 4.15.0-50-generic #54-Ubuntu SMP Mon May 6 18:46:08 UTC 2019 
x86_64 x86_64 x86_64 GNU/Lin 


ubuntu@infra-1:~$ lspci | grep Broadcom 
01:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme II 
BCM57800 1/10 Gigabit Ethernet (rev 10) 
01:00.1 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme II 
BCM57800 1/10 Gigabit Ethernet (rev 10) 
01:00.2 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme II 
BCM57800 1/10 Gigabit Ethernet (rev 10) 
01:00.3 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme II 
BCM57800 1/10 Gigabit Ethernet (rev 10) 


ubuntu@infra-1:~$ lspci -n | grep 01:00 
01:00.0 0200: 14e4:168a (rev 10) 
01:00.1 0200: 14e4:168a (rev 10) 
01:00.2 0200: 14e4:168a (rev 10) 
01:00.3 0200: 14e4:168a (rev 10) 


ubuntu@infra-1:~/deploy$ sudo lshw -c network 
*-network:0 
description: Ethernet interface 
product: NetXtreme II BCM57800 1/10 Gigabit Ethernet 
vendor: Broadcom Inc. and subsidiaries 
physical id: 0 
bus info: pci@:01:00.0 
logical name: eno1 
version: 10 
serial: 42:39:92:e0:66:b6 
size: 10Gbit/s 
capacity: 10Gbit/s 
width: 64 bits 
clock: 33MHz 
capabilities: pm vpd msi msix pciexpress bus_master cap_list rom ethernet 
physical tp 100bt 100bt-fd 1000bt-fd 1bt-fd autonegotiation 
configuration: autonegotiation=on broadcast=yes driver=bnx2x 
driverversion=1.712.30-0 duplex=full firmware=FFV14.10.07 bc 7.14.11 phy 1.45 
latency=0 link=yes multicast=yes port=twisted pair slave=yes speed=10Gbit/s 
resources: irq:79 memory:9500-957f memory:9580-95ff 
memory:9603-9603 memory:91a0-91a7 
*-network:1 
description: Ethernet interface 
product: NetXtreme II BCM57800 1/10 Gigabit Ethernet 
vendor: Broadcom Inc. and subsidiaries 
physical id: 0.1 
bus info: pci@:01:00.1 
logical name: eno2 
version: 10 
serial: 42:39:92:e0:66:b6 
size: 10Gbit/s 
capacity: 10Gbit/s 
width: 64 bits 
clock: 33MHz 
capabilities: pm vpd msi msix

[Bug 1827372] Re: Error when configuring bond, can't proceed with installation

2019-05-02 Thread Przemyslaw Hausman
** Attachment added: "01-create-bond.png"
   
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1827372/+attachment/5260877/+files/01-create-bond.png

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

Title:
  Error when configuring bond, can't proceed with installation

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

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

[Bug 1827372] Re: Error when configuring bond, can't proceed with installation

2019-05-02 Thread Przemyslaw Hausman
** Attachment added: "02-configure-bond.png"
   
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1827372/+attachment/5260878/+files/02-configure-bond.png

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

Title:
  Error when configuring bond, can't proceed with installation

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

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

[Bug 1827372] [NEW] Error when configuring bond, can't proceed with installation

2019-05-02 Thread Przemyslaw Hausman
Public bug reported:

I'm installing Ubuntu 18.04.2
(http://releases.ubuntu.com/bionic/ubuntu-18.04.2-live-server-amd64.iso)
on Cisco UCS C240 M4.

When I provide all info for configuring bond, subiquity fails (see
attached screenshot) and restarts the installation from 'Choose your
preferred language step'.

I'm not sure if these are all error messages because they quickly
disappear. I just took the screenshot as soon as I hit 'Save'.

** Affects: subiquity (Ubuntu)
 Importance: Undecided
 Status: New

** Attachment added: "03-error-when-hit save.png"
   
https://bugs.launchpad.net/bugs/1827372/+attachment/5260876/+files/03-error-when-hit%20save.png

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

Title:
  Error when configuring bond, can't proceed with installation

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

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