| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* python3-setuptools is still required for building the package
* python3-yaml is required for build for tests with the
conformance_tests
* Add the same ignores as dowstream build, so that we don't have to
keep changing these. Once the avocado is packaged, we can take this
out
* Update image for the deb creation, so that it can be minimal
* Fix lxd runtime, so that if the root device is not available, it
will not look at the storage pools
Downstream build machines are much more minimal compared to gce
instances, so we require more dependencies to be added.
Signed-off-by: Arif Ali <arif.ali@canonical.com>
|
|
|
|
|
|
|
|
| |
Closes: #3278
Co-authored-by: Pravesh Gaire <pravesh.gaire@canonical.com>
Signed-off-by: Pravesh Gaire <pravesh.gaire@canonical.com>
Signed-off-by: Arif Ali <arif.ali@canonical.com>
|
|
|
|
|
|
|
| |
Collect some additional configuration files based on the description of
man 5 NetworkManager.conf
Signed-off-by: Hiroyuki Yasuhara <h.yasuhara@fujitsu.com>
|
|
|
|
|
| |
Resolves: SET-383
Signed-off-by: Arif Ali <arif.ali@canonical.com>
|
|
|
|
|
|
|
|
| |
Livepatch on-prem server support
Resolves: SET-382
Signed-off-by: Adam Vest <adam.vest@canonical.com>
|
|
|
|
|
|
|
| |
Related: #3398
Related: #3383
Resolves: SET-326
Signed-off-by: Arif Ali <arif.ali@canonical.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
New version of juju uses colorisation, and therefore juju status
and json.loads doesn't load the juju status correctly. By using
--no-color based on the version of juju this should fix this
particular use-case
Resolves: #3399
Resolves: SET-339
Signed-off-by: Arif Ali <arif.ali@canonical.com>
|
|
|
|
|
|
|
| |
Remove file /var/snap/maas/current/http/certs/regiond-proxy-key.pem so
that it is not collected by sosreport
Signed-off-by: Jorge Merlino <jorge.merlino@canonical.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Initial start of building and testing the deb package
This will improve the overall testing of sos over the Ubuntu releases,
and also helps with the basis of thenadding further stagetwo testing in
the future. This will help to pick up issues automatically rather than
the manual testing.
Add ubuntu-latest for deb CI build and testing. Update the GCE images
for all ubuntu images for CI testing
Co-authored-by: Nikhil Kshirsagar <nikhil.kshirsagar@canonical.com>
Signed-off-by: Nikhil Kshirsagar <nikhil.kshirsagar@canonical.com>
Signed-off-by: Arif Ali <arif.ali@canonical.com>
|
|
|
|
|
|
|
|
| |
Due to the deprecation of the existing "pcs property list",
this patch checks the version of pcs and executes
"pcs property config" as an alternative."
Signed-off-by: Yuki Inoguchi <inoguchi.yuki@fujitsu.com>
|
|
|
|
|
|
|
|
|
| |
Gather details about branch, so it complements
the version number (which can be empty sometimes).
Fixes: #3404
Signed-off-by: Jose Castillo <jcastillo@redhat.com>
|
|
|
|
|
|
| |
Resolves: #3408
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The `get_pty` parameter for remote executed commands was both a bit of a
misnomer and applied too broadly.
Refactor this to `use_shell` to be more obvious about what the intent
behind the option is, and default all transports to `False`, so that by
default we do not wrap any commands in a bash shell.
This may be overriden on a per-transport basis via the ned `_need_shell`
property within transport subclasses. Further, this facility has been
expanded to be allowed on a per-command basis from
`SoSNode.run_command()` and wherever that is linked.
Related: #3399
Related: #3400
Signed-off-by: Jake Hunsaker <jacob.r.hunsaker@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
In newer versions of tuna, the option -P has been
substituted for 'show_threads'.
Test if the new option is present in 'tuna --help'
and if so, use it.
Closes: RH SUPDEV-150
Signed-off-by: Jose Castillo <jcastillo@redhat.com>
|
|
|
|
|
|
|
| |
Sometimes the update_sources attribute is not available so cannot
build the list
Signed-off-by: Arif Ali <arif.ali@canonical.com>
|
|
|
|
| |
Signed-off-by: Marek Czernek <marek.czernek@suse.com>
|
|
|
|
|
|
|
|
| |
This is a followup for 56904018045fdbdad666e55f0a850bc365809e50
I hereby declare that you can do whatever you want with this commit:
Signed-off-by: Miro Hrončok <miro@hroncok.cz>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit removes the duplicate "rpcinfo_-p_localhost" log
from the sos_commands/nfs directory. Currently, the same log
file is being createdin sos_commands/sunrpc/ directory,
as shown below:
# ls sos_commands/nfs/rpcinfo_-p_localhost
sos_commands/nfs/rpcinfo_-p_localhost
# ls sos_commands/sunrpc/rpcinfo_-p_localhost
sos_commands/sunrpc/rpcinfo_-p_localhost
Since rpcinfo command is included in rpcbind package,
let's remove the one in the nfs directory.
Signed-off-by: Yuki Inoguchi <inoguchi.yuki@fujitsu.com>
|
|
|
|
|
|
|
| |
Capture two ImportError exceptions when
calling __import__()
Signed-off-by: Jose Castillo <jcastillo@redhat.com>
|
|
|
|
|
|
| |
Resolves: #3393
Signed-off-by: Nikhil Kshirsagar <nikhil.kshirsagar@canonical.com>
|
|
|
|
| |
Signed-off-by: Arnaud Veron <arnaud.veron@opensvc.com>
|
|
|
|
|
|
|
| |
Resolves: #3391
Closes: #3390
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
driverctl commands give info about which drivers are used
for devices. They list PCI address and driver used e.g.
0000:01:00.0 vfio-pci
This can usually be correlated to the device type through lspci.
However, lspci may not be available if only some plugins were
captured as part of the report.
Even when lspci info is available, it is still convienent to have
the device type co-located with the driver and override information.
Add verbose option to driverctl commands that support it to also
list device type. e.g. (wrapped for line length)
0000:01:00.0 vfio-pci
(82599ES 10-Gigabit SFI/SFP+ Network Connection
(Ethernet 10G 4P X520/I350 rNDC))
Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
|
|
|
|
|
|
|
|
| |
Likewise in #3379, scrub the password also in pulpcore plugin.
Resolves: #3389
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
|
|
|
|
|
|
| |
Related: RH SUPDEV-136
Signed-off-by: Jose Castillo <jcastillo@redhat.com>
|
|
|
|
| |
Signed-off-by: Pablo Acevedo Montserrat <pacevedo@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
pkg_resources bundle and call packaging.version internally anyway.
In RHEL 10 and Ubuntu, we have packaging in BaseOS/main.
I hereby declare that you can do whatever you want with this commit:
Signed-off-by: Miro Hrončok <miro@hroncok.cz>
|
|
|
|
|
|
|
|
|
|
|
| |
This seems a bit more straightforward and achieves the same result.
This also defines the API of sos.utilities to avoid
flake8 "imported but unused"
I hereby declare that you can do whatever you want with this commit:
Signed-off-by: Miro Hrončok <miro@hroncok.cz>
|
|
|
|
|
|
|
|
| |
Getting SyntaxError from pkg_resources is unlikely.
I hereby declare that you can do whatever you want with this commit:
Signed-off-by: Miro Hrončok <miro@hroncok.cz>
|
|
|
|
| |
Signed-off-by: Arif Ali <arif.ali@canonical.com>
|
|
|
|
|
| |
Resolves: SET-313
Signed-off-by: Arif Ali <arif.ali@canonical.com>
|
|
|
|
| |
Signed-off-by: Nikhil Kshirsagar <nikhil.kshirsagar@canonical.com>
|
|
|
|
|
|
|
| |
Now that https://github.com/canonical/microceph/issues/160 is fixed,
gather the ceph daemon command outputs for OSD nodes.
Signed-off-by: Nikhil Kshirsagar <nikhil.kshirsagar@canonical.com>
|
|
|
|
|
|
| |
Fix a couple of typos.
Signed-off-by: Jose Castillo <jcastillo@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Signed-off-by: Dr. Jason Breitweg <jason@breitweg.com>
Fixed style issues
Signed-off-by: Jason Breitweg jbreitwe@redhat.com
Signed-off-by: Dr. Jason Breitweg <jason@breitweg.com>
Fixed yet more linting errors
Signed-off-by: Jason Breitweg jbreitwe@redhat.com
Signed-off-by: Dr. Jason Breitweg <jason@breitweg.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
On power systems, rtas_errd daemon logs RTAS events to
servicelog database. This daemon uses /var/log/rtas_errd.log
file to store debug logs.
Similarly, light path diagnostics log messages are written to
/var/log/lp_diag.log file.
Signed-off-by: Sathvika Vasireddy <sv@linux.ibm.com>
Reviewed-by: Sourabh Jain <sourabhjain@linux.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
A runtime's `check_is_active()` does not get passed a sysroot at any
point, so the docker runtime abstraction should just use the policy
sysroot directly.
Additionally, `check_can_copy()` should be simplified to simply return
the already-determined active state of the runtime.
Signed-off-by: Jake Hunsaker <jacob.r.hunsaker@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Bump tested foreman versions - use current latest (3.7) on Ubuntu and
CentOS and previous 3.5 and 3.3 to match supported Satellite versions.
This requires enabling proper module streams for foreman-3.3 as well.
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
|
|
|
|
|
|
| |
Skip /proc/fs/FS for FS picked up by other plugins
Signed-off-by: Nathaniel Clark <nclark@whamcloud.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Run an opal-prd command to collect nvdimm NV DIMM info which includes:
- Number of NV DIMMs
- Active slot
- Falsh lifetime
- Serial Number
- Runtime
The data generated by the opal-prd for NV DIMM info command is usually
around 1K.
Signed-off-by: Sourabh Jain <sourabhjain@linux.ibm.com>
|
|
|
|
|
|
|
| |
Added -a to 'nft list rulest' command to add
handle numbers to the gathered output
Signed-off-by: Michael Colombo <mcolombo@redhat.com>
|
|
|
|
|
|
|
|
|
| |
This commit resolves the alerts generated by GitHub code scanning for
mixing implicit and explicit returns. In most cases this is simply
changing empty or implicit returns to `return None`, while in a few
other places the return logic is slightly reworked.
Signed-off-by: Jake Hunsaker <jacob.r.hunsaker@gmail.com>
|
|
|
|
|
|
|
| |
Updates .gitignore to exclude .DS_Store files that Finder may drop in
the tree.
Signed-off-by: Jake Hunsaker <jacob.r.hunsaker@gmail.com>
|
|
|
|
|
| |
resolves: #3365
Signed-off-by: Arif Ali <arif.ali@canonical.com>
|
|
|
|
| |
Signed-off-by: Evgeni Golov <evgeni@golov.de>
|
|
|
|
|
|
|
| |
Add commands that report info about DPDK lcore usage,
log levels and memory usage.
Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix a number of outstanding "File is not always closed" errors highlighted by
GitHub's code scanning.
This involves (almost exclusively) changing such as:
for line in open('/some/file', 'r').read().splitlines():
To using a context manager to ensure the file is always closed:
with open('/some/file', 'r') as sfile:
for line in sfile.read().splitlines():
...or something similar. Overall the logic of what a specific block of code was
doing (mostly in plugins) is not changed however.
Signed-off-by: Jake Hunsaker <jacob.r.hunsaker@gmail.com>
|
|
|
|
|
|
| |
do not perform redundant dir-exists check
Signed-off-by: Jon Cope <jcope@redhat.com>
|
|
|
|
| |
Signed-off-by: Pablo Acevedo Montserrat <pacevedo@redhat.com>
|
|
|
|
|
|
|
| |
Adding --all will also get inactive pools/net. This would be helpful
when working with a pool/net which are failing to start.
Signed-off-by: Nijin Ashok <nashok@redhat.com>
|