summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* xen: Disable PCI on qemuarm with XenBertrand Marquis2022-05-181-0/+22
| | | | | | | | | | | | | | | | | | Remove the pci node from the qemu device tree when runqemu is used with xen-qemuboot. Linux is ending up in an infinite loop when trying to access PCI configuration space when running on top of Xen on arm32. As we do not need or support any of the devices on PCI on arm32 at the moment, just remove the node from the device tree generated by qemu. The problem does not appear at the moment without Xen and it is unclear why it is with Xen. This will be investigated but in the meantime provide a working configuration for users. Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen: enable qemuboot for arm32Bertrand Marquis2022-05-181-5/+15
| | | | | | | | | | | | | | | | | | Add required variables to generate a qemuboot devicetree for qemuarm. With this change, Xen and dom0 can be started using runqemu. Xen is started using qemu kernel argument and the devicetree is modified to properly boot dom0 (which is loaded in memory). This is using the same system as qemuarm64. At this stage dom0 is hanging on PCI device scanning. This patch is also using qemuarm64 as machine for arm64 bit instead of aarch64 to allow adding support for other machine (an example a Xilinx board that can be emulated with using an other xen machine). Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* qemuboot: Fix command line and enable other machinesBertrand Marquis2022-05-181-4/+5
| | | | | | | | | | | | | | Fix qemuboot-xen-dtb to properly add dom0 bootargs by using a parameter instead of directly using the QB_XEN_DOM0_BOOTARGS inside the function. When not done, the variable is empty and dom0 bootargs are wrong in the device tree. Use QB_MACHINE to generate a device tree with qemu instead of always using the armv8 machine. This will allow this class to be used for other machines later. Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen: Fix class inherit in xen-imageBertrand Marquis2022-05-181-1/+1
| | | | | | | | | | | | | | Remove inherit of qemuboot classes when not build for qemu in xen-image-minimal. When reverted the handling for only adding inherited classes for qemu was kept but the line always inheriting them was kept to. This patch is fixing that so that qemuboot classes are now only added when the image is built for qemu. This fixes commit 27e5ade0abc2660226389b8b62ef07d85f4b8758 Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvirt: Fix keeping restartingHe Zhe2022-05-181-3/+2
| | | | | | | | | LIBVIRTD_ARGS has been moved to libvirtd.service since v8.1.0. Move our mode setting accordingly, otherwise libvirt would keep restarting and VMs would be constantly stopped. Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* criu: Upgrade to 3.17 to fix restore and fix buildHe Zhe2022-05-121-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - To fix restore Segmentation fault criu restore -d -D checkpoint 8306: Error (criu/cr-restore.c:1480): 8331 killed by signal 11: Segmentation fault Error (criu/cr-restore.c:2447): Restoring FAILED. - Inherit pkgconfig to fix build warning pkg-config not found - Define PLUGINDIR when doing instll to fix build failure mkdir: cannot create directory '/var/lib/criu': Permission denied New commits since 3.16.1: 4f8f295e5 criu: Version 3.17 991f27c84 ci: skip new hugetlb maps09/maps10 tests for pre-dump 0c1f0256f kerndat: handle the case when hugetlb isn't supported 17a19676c zdtm: handle the case when hugetlb isn't supported c1380c077 ci: workaround race between sit module loading and bridge test 550eafc5d ci: print kernel modules list f635b61f4 test: install criu in /usr 2f0f12839 readme: Add badge links to workflows d14dbb8c7 sk-unix: rework bind_on_deleted() return codes 5b872c718 proc_parse: Fix parsing bpf map_extra d40b332ce bpf: update deprecated API f641e0c4b ci: print mountinfo instead of mount cmd output 5c0b4fbcd ci: criu-fault: skip inotify_irmap fault-injection on btrfs 7ac85cab8 scripts/ci: fix ZDTM_OPTS variable passing ead227994 zdtm: temporary disable rseq02 test db9ec1361 zdtm: add rseq02 transition test with NO_RESTART CS flag 1e0bed3d6 rseq: handle rseq/rseq_cs flags properly 13338dee5 Revert "test: disable rseq also on Archlinux" 064e9925a zdtm: add transition/rseq01 test for amd64 2d3354e7b cr-dump: fixup thread IP when inside rseq cs 4c7ece0bb compel: add helpers to get/set instruction pointer 441310c26 zdtm/static/rseq00: fix rseq test when linking with a fresh Glibc f70ddab24 pie/restorer: unregister (g)libc rseq before memory restoration e1799e530 include: add thread_pointer.h from Glibc 267c1fdad ci: add Fedora Rawhide based test on Cirrus 03aff7e82 Revert "ci: disable glibc rseq support" 51e0d3e29 zdtm: add basic static/rseq00 test for rseq C/R c5162cef5 rseq: fail dump if rseq is used but host doesn't support get_rseq_conf feature f81e3062c rseq: initial support bd9ee3255 cr-check: Add ptrace rseq conf dump feature ca54dfcac util: move fork_and_ptrace_attach helper from cr-check 8b3a76b64 kerndat: check for rseq syscall support de03eb435 compel: add rseq syscall into compel std plugin syscall tables 4adec8e8e cgroup: test for --manage-cgroups=ignore 2b6901707 cgroup: fix --manage-cgroups=ignore c71d4a54a cgroup: fix "unified" path 8ddd7f483 ci: add codespell to lint target e7b1c8579 Fix remaining codespell warnings 0194ed392 Fix some codespell warnings 3f1800477 Add .codespellrc f16976c03 test/zdtm.py: rename a var fab46c310 test/exhaustive/unix.py: rename a var 2a60b4974 Rename useable to usable c4bdde213 criu/mount.c: separate \t 51837a65e criu/files.c: some renames bd3a21e0b test/javaTests: rename ser to s 777ad1966 Nit: rename sie to se 716e56f37 Typo: mmaped -> mmapped d9411c948 test/zdtm/static: s/NODEL/NO_DEL/ 58d76cb16 test/zdtm/static/inotify_system.c: s/inot/infd/ 0cb8b9c04 test/zdtm/static: use param not parm 58b120b06 criu/pie/restorer.c: use param not parm 747ec75d9 criu/arch/s390/include/asm/restorer.h: fix comments 8bb05e3bf ci: Switch to non overlaysfs tests 45e048d77 criu: generate unique socket names 75064b742 mount: fix -Wunused-but-set-variable for Clang 15 46e4773c3 style: delete some redundant code 5109fccf8 apparmor: Fix -Wfortify-source for Clang 791651f1b criu-ns: add a helper to hold a pid namespace 805559c1d scripts/ci: mount test cgroups once ab6191ccd zdtm: use unique holder for cgroups 73a783ac1 mount: make error messages differ in different places 165d5a2cd mount-v2: make mount engine fallback messages loglevel debug 8867840c8 zdtm/mount-v2: disable pty-console test c8121ed74 test/jenkins: test for old mount engine 3c0e99ccf ci: make others/mnt_ext_dev also run for old mount engine 642abd133 zdtm/mount-v2: disable mnt_tracefs test f736d88c9 zdtm: add propagation group with mount flags to mount_complex_sharing ef53df471 zdtm: add mount_complex_sharing test 486e1fd85 zdtm: add new mnt_ext_sharing test for mount-v2 3db949d82 ci: run tests for old mount engine 8d6e2d044 zdtm: enable mounts compat mode on restore with --mntns-compat-mode option b35c842d0 mount: add new mounts-v2 engine c29675c9a mount: export global variables for mount-v2 972a59862 mount: export several functions for mount-v2 3229e7f58 mount: export common defines for mount-v2 0723d0cd9 mount: remove double ns_id declaration 1f4a9a531 files-reg: export parent dirs helpers for mount-v2 f032741cd mount: add plain mountpoints f2d1c7fab config/rpc: add new option --mntns-compat-mode for old mount engine f6b52c711 crtools: move check_options after kerndat_init and log_init 6a25420d3 util: add resolve_mountpoint helper cef8366f5 kerndat: check whether the openat2 syscall is supported 387f4652b compel: add open_tree syscall a946b946e kerndat: Check for MOVE_MOUNT_SET_GROUP availability 0ca89b99b files-reg: teach clean_one_remap to work with mount-v2 9a0918497 files-reg: teach create_ghost to work with mount-v2 169f95c39 files-reg: split create_ghost_dentry out of create_ghost 9fb3984a7 mount: add service_mountpoint getter for ->mountpoint 65967a84b mount: use ns_mountpoint instead of mountpoint where possible eedbc6f47 mount: use ns_mountpoint in mnt_depth ae0b218c3 mount: use ns_mountpoint in aufs_parse 7b968ceea mount: use ns_mountpoint in collect_mntinfo f2bf6597c path: simplify mnt_get_sibling_path via get_relative_path abbc70adc mount: use ns_mountpoint for children-overmount check c17695cb1 mount: use ns_mountpoint in root_path_from_parent 010295b8f mount: use ns_mountpoint in validate_children_collision 07eb01593 mount: skip root yard children from mnt_needs_remap check e8de10a4f mount: use ns_mountpoint in mnt_is_overmounted b954e5136 autofs: use ns_mountpoint in autofs_create_dentries 7a67949e5 mount: make general place for shared variables on mount-info on restore 0c41c1187 mount: fix broken remounted_rw check 718247045 mount: move root yard tree merge as early as possible 770cdbfb9 mount: prepare is_overmounted as early as possible 83bbf1b05 mount: add helper mnt_get_external_bind_nodev 0fd0e03a2 mount: do not override master_id to -1 for root binds 4f156f32b mount: put external slavery mounts to separate mnt_ext_slave list ef79912c1 mount: add can_receive_master_from_root helper b52fcb284 mount: replace CRTIME_MNT_ID with HELPER_MNT_ID 4736a7240 mount/restore: leave ns_mountpoint NULL for aux binfmt_misc mount 16085b5e6 mount/restore: create auxiliary binfmt_misc mount in the root yard a379d4d94 zdtm: add mntns_pivot_root_ro test 2a3d2bc28 mount: apply superblock flags to nested ns roots 77f67973f zdtm: add mntns_pivot_root test 2fdb4993a mount: allow nested mount namespaces with different roots cf6fe2d48 mount: add mnt_is_root_bind helper e50abbd3b zdtm: add mnt_ext_collision test a963ceb77 mount: restrict mp-external mount map to init container mntns only 007501f98 zdtm: add new mnt_ext_root test 4f9414934 mount: mount external mount before mounting it's binds d5cb7764e mount: show more info about why we can't mount 685a53eec mount: rework skipping external mounts in dump_one_mountpoint 3b2b80812 mount: split mnt_is_external(_bind) and can_receive_master_from_external c09bd8941 mount: add mnt_bind_pick helper to pick the desired bind 9d1f39f28 unittest: add some tests for get_relative_path helper 97bd9511c util: add get_relative_path helper 261b7a8fd mount: setup mnt_bind list before using it in mnt_is_external 30261a751 mount: skip fstype and source checks for external mounts in mounts_sb_equal 8d5300aa9 mount: mark mounts of external devices external e17c1cc12 mount: do not detect non-fsroot mounts as device-external eda1e5fdb mount: add mntinfo_add_list_before helper for adding to mntinfo list 9649356e3 zdtm: fix mnt_ext_master test to correspond to it's name 5a8fd343f uffd: fix __u64 print format specifier 9e7473516 sk-unix: fix e_str leak in unix_sk_id_add 87d373514 criu/plugin: Add support for criu image streamer 55370b720 criu/plugin: Store BO contents directly to file ecdf740fa criu/plugin: Add whitepaper document 99a2380fc criu/plugin: Dockerfile for amdgpu_plugin 2095de9f0 criu/plugin: Fix for FDs not allowed to mmap bd8333009 criu/plugin: Implement sDMA based buffer access 6d7926622 criu/plugin: Restore libhsakmt shared memory files a218fe0ba criu/plugin: Read and write BO contents in parallel ba9c62df2 criu/plugin: Add unit tests for GPU remapping 4856e0d4d criu/plugin: Add parameters to override mapping 72905c9c9 criu/plugin: Remap GPUs on checkpoint restore 6e99fea2f criu/plugin: Implement system topology parsing c4e3ac7fe criu/plugin: Adding check for kernel IOCTL version 55a5993bc criu/plugin: Support AMD ROCm Checkpoint Restore with KFD 71ff9cc04 criu/plugin: Initialize AMD KFD header 91157315b criu/plugin: Skip plugin vmas during premap 63e127fc8 criu/plugin: Add dedicated flag for plugins e04db0241 criu/files: Add function to return unused FD by pid 653eefea0 criu/plugin: Do not reopen vma fd for plugins 5b0a639a5 files: fix inh leak in inherit_fd_add 060567042 net: fix e_str leak in veth_pair_add 2856d06e3 config: fix ns leak in parse_join_ns a8dd7d290 ci: run criu-config tests 1c54c45fc zdtm: drop redundant config_inotify_irmap test d2073cd4d zdtm: add --criu-config option fc38a01e5 zdtm: use long form cli options 0734fc807 zdtm: sort import lines 0b7965397 zdtm: refactor main 1b4a9df9c sk-unix: fix uint32_t id variable printf format specifier 09fa32a75 tun: fix tun_link leak in dump_tun_link 7e9a9dc34 cr-dump: fix cr_imgset leak in dump_one_task 2747bb2a7 mount: fix e_str leak in ext_mount_add be78b853d proc_smaps: remove useless nonlinear check 97a998567 compel: set mxcsr during error injection to zero ef98a71b1 zdtm: fix missplacement of err=True 6b842635b test: disable rseq also on Archlinux 51099d2bb test: remove test for LOCK_MAND flock 247cdc90d bpfmap: handle new field in fdinfo 56df8aeeb ci: skip MAP_HUGETLB tests in stream test 2dc6d146b zdtm: Add MAP_HUGETLB mappings test for parent-child relationship processes 87a5694b4 zdtm: Add shm hugetlb test d22e472cf zdtm: Add memfd hugetlb test ffa268896 zdtm: Add MAP_HUGETLB memory mapping test a26b692c4 uffd: Skip lazy-mode restore on hugetlb mappings 456e50b59 mem: Skip premapping hugetlb mapping 8941b63a4 proc_parse, files: Add support for hugetlb memory mapping e4fb1dd5f memfd, shmem: Add support for checkpoint/restore memfd and anon shared memory 4d77b19eb ipc: Add support for checkpoint/restore hugetlb System V shared memory f69c36591 kerndat: Collect hugetlb device numbers 9c7bbfa69 check: Add a check for using memfd with hugetlb e8087fcff files: generate unique transport socket names 408a7d82d util: add an unique ID of the current criu run b13b95e52 compel: fix how PTRACE_GET_THREAD_AREA errors are handled b2ba14a15 restorer: Fix sys_mmap's returned value check 7177938e6 criu-ns: use os.waitstatus_to_exitcode() bb1b1681a criu-ns: fix exit code o for criu dump fdf4fda20 pstree: when updating sid for shell job also update matching pgid 89267dbcc ci: install libbsd dependency 48d53b699 Fix formatting in criu documentation 73d6a2c0e test/autofs: fix use-after-free 4d31105c7 ci: set continue-on-error for cross-compile 0568889ee compel: fix parasite with GCC 12 db352ca48 criu: fix configuration file scanner with GCC 12 bf6975c3e compel: fix GCC 12 failure (out of bounds) 6be10a232 zdtm: fix zdtm/static/maps00 case in arm64 6cfad77f0 pagemap: tiny fix on truncating memory image 908e5dd95 lib: added tests for feature check in libcriu b00b61f0e lib: introduce feature check in libcriu 4c4b2159d ci: added .lgtm.yml file 7f4265dc0 ci: update to latest Vagrant and Fedora images 7400d91f8 contributing: remove old badges and logo 29e221bb7 readme: add docker test badge 6f9d62eb3 ci: test criu-image-streamer with all tests 8ec214d3c mount/btrfs: make check_mountpoint_fd fallback to get_sdev_from_fd bbf5f642d proc_parse: add helper to resolve sdev from fd 15c42696c mount: remove mnt_fd argument of __open_mountpoint 1e7c62047 mount: split check_mountpoint_fd from __open_mountpoint 1b912802d zdtm/static/uffd-events: add more log messages ebd03383f zdtm: print tails of all logs if a test has failed f65098746 test: log testname.out.inprogress if a test has failed 8775cf3a5 ci: reenable the lazy-thp test in the lazy-remote mode c59abfa81 page-xfer: stop waiting for a new command after a close command 13b726ebc tls: allow to terminate connections synchronously 73d1d0769 uffd: call disconnect_from_page_server to shutdown a page-server connection 4fdf3db31 tls: add more comments 5a2250b1a tls: use ssize_t for return value 89e8e8e69 tls: fix typo 0da88b6da zdtm: Add SOCK_SEQPACKET variants to unix socket tests 530ad9c89 sk-unix: Add support for SOCK_SEQPACKET unix sockets 3d618d0f4 crtools: check that cpuinfo command has sub-command 233f1f1d0 crtools: use new opts.mode in image_dir_mode 3fa85bcdc crtools/rpc: export current criu mode to opts.mode 1b015df9b crtools: remove excess always true condition be092e25a zdtm: remove mntns-deleted-dst test leftover from git f92c7f1af zdtm: zdtm_ct fix compilation error with strict-prototypes on e62e05c2d zdtm.py: clean up MAKEFLAGS env variable before running make instance af4b26519 tests: added test for single pre-dump support 51a1adbc0 libcriu: add single pre-dump support 119a79885 ci: disable glibc rseq support 9fd000c58 ci: use unstable release for cross-compile 0e04a3c6a libcriu: add setting lsm-mount-context to libcriu af298353d usernsd: UNS_FDOUT should not require an input descriptor efe5d9a12 Add documentation for --timeout option 583e8ca05 ci: enable x86 xsave fault injection tests back 1ba443982 x86/compel/fault-inject: print the initial seed fc1eb01ff x86/compel/fault-inject: bound xsave features set 6186bfa0c test: another try to correctly fix the kernel version d79d73e3a ci: install procps in Alpine 3eba68089 ci: Enable disabled unix socket related tests 94111596f sk-unix: Fix TCP_ESTABLISHED checks in unix sockets 6930d6a32 util: make page-server IPv6 safe d57f27bc9 files-reg: try dump_ghost_remap if link-remap failed with error ENOENT 14075baf7 test: do not use --keep-going for single zdtm tests a52185ffe ci: disable broken tests until fixed 4ab2facb2 make: Explicitly enable FPU on ARMv7 builds d514bacb4 ci: Run cross compile with debian testing 4c1330bb0 ci: Run cross compile on debian stable 718eb06be clang-format: disable wrong struct pointer declaration format 858002483 zdtm: add ro-mount check after c/r to mntns_ghost01 17357d67f files-reg: temporary remount writable the mount we do unlink on bd219b69a ghost/mount: allocate remounted_rw in shmem to get info from other processes cfed6f35e files-reg: fix error handling of rm_parent_dirs 5a0943c90 files-reg: fix error handling in open_path 64b58b514 check: cleanup child processes 156cce78c ci: switch to centos-stream-8 c2fd81903 crtools: ignore SIGPIPE in swrk mode a491706cc ci: Use latest Fedora for lint ci runs again eb0dee408 seize: restore cgroup freezer to right state 781676f10 clang-format/zdtm: fix clang complains about strange elseifs d2b6faf8f tests: improve the deterministic behavior of the test suite 94092ce00 zdtm.py: make tests with --link_remap exclusive 1f9e2c420 ci: disable socket-raw test on centos8 a9d9fb8aa clang-format: make x86_ins_capability_mask human-readable 4ff252656 cr-dump: fail dumping when zombie process with sid 0 26db7adbb clang-format: do automatic comment fixups 206479322 clang-format: do several manual comment fixups bbfd9031a clang-format: enable AlignTrailingComments 718f4cae2 zdtm: make sock_opts02 also check lock change by SO_*BUF* 3a875cc4c zdtm: add test for socket buffer size locks e69be16db sockets: c/r bufer size locks ce5ce285a kerndat: check for set/getsockopt SO_BUF_LOCK availability 2bd709664 sockets: don't call sk_setbufs asyncronously 37a8090d8 tests: improve the image streamer process control dae0704b6 ci: use Fedora 34 for lint CI runs f7bc3bdc9 ci: fix userfaultfd test failures d17eb325c ci: replace deprecated codecov bash uploader c1659c386 net: optimize restore_rule() to not open the CR_FD_RULE image file twice e3a853ab9 criu-ns: make pidns init first do setsid c750e62ca util: use nftw in rmrf helper 485a83c11 tty: fix the null pointer of get_tty_driver 7ba4d3bf1 pie/restorer: remove excess hash printf specifier bffaa7d07 ci: enable coredump tests bf8382a80 make: enable lint for coredump 8aa769455 test/coredump: fix shellcheck errors 0b3cf5c9e coredump: lint fix visually indented line 3a689ed9a coredump: fix comparison to true c1eab7d06 coredump: fix too many blank lines baad88d5e coredump: fix missing whitespace around operator 579066633 coredump: lint fix for block comments 06306c8b1 coredump: drop exec permission 1b368238b coredump: drop unused variable a92a7887a python: replace equality with identity test c71a81a6b coredump: convert indentation to spaces bf8a3c9f6 coredump: sort imports a0b738cb8 coredump: remove unused import 1c866dbb5 Add new files for running criu-coredump via python 2 or 3 3180d35fa Add support for python3 in criu-coredump f24360658 criu(8): Add more detailed description about --tcp-close dump option abf6b15c1 zdtm: Dumping/restoring with --tcp-close on TCP_CLOSE socket 795973055 tcp: Skip restoring TCP state when dumping with --tcp-close 74d1233b5 criu/files: Don't cache fd ids for device files 7b6239b6d criu/plugin: Implement dummy amdgpu plugin hooks 17e2a8c70 criu: Introduce new device file plugin hooks dd46e7919 criu(8): add --external net option be239109a github: update the stale version Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ipxe: Pin to use gccKhem Raj2022-05-121-2/+4
| | | | | | | | | Use single quote instead of double quotes to help bitabake syntax highlighter do right job Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen-tools: Fix build with GCC 12Khem Raj2022-05-091-0/+1
| | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* seabios: Upgrade to 1.16 releaseKhem Raj2022-05-091-3/+4
| | | | | | | | Pin to use gcc as compiler always Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* Revert "qemuboot, xen-image-minimal: enable runqemu for qemuarm Xen images"Bruce Ashfield2022-05-094-152/+7
| | | | | | This reverts commit 1c746a976830ebaf85c7c8c25612bea349b0a7c5. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen/4.16: fix gcc 12 buildBruce Ashfield2022-05-092-0/+434
| | | | | | | | | | | There's no fix in the xen repository to fix gcc 12 issues yet, but there is one in the opensuse infrastructure. We import that change from: https://build.opensuse.org/package/view_file/openSUSE:Factory/xen/gcc12-fixes.patch?expand=1 to at least get things building and allow runtime testing against gcc 12. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen images, qemuboot: configure xenbr0 bridge for runqemu, testimageChristopher Clark2022-05-092-1/+37
| | | | | | | | | | | | | | Networking for Xen guest virtual machines is commonly configured via bridging in the host system between a physical interface and the guest virtual interfaces. To make it easier to test networking and use testimage with Xen guest virtual machines, extend the bbclass that provides network configuration for qemu machines for the Xen images to configure a Xen bridge and put eth0 onto it when QB_XEN_HOST_BRIDGE is set. Signed-off-by: Christopher Clark <christopher.clark@starlab.io> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* qemuboot, xen-image-minimal: enable runqemu for qemuarm Xen imagesChristopher Clark2022-05-094-6/+155
| | | | | | | | | | | | | | | | | | | | | The Xen hypervisor built for Arm 32-bit targets can be launched with runqemu by providing a u-boot script and configuration for Qemu, which enables interactive testing of Xen images. Add qemuboot-xen-u-boot.bbclass to add a new bitbake task for generating the u-boot script. Since this increases the number of qemuboot-specific classes that are inherited by the xen-image-minimal recipe, change the inherit of all of these to only apply to qemu machines with the qemuall override. Update qemuboot-xen-defaults.bbclass to supply working default parameters for the qemuarm machine needed to boot successfully in testing. Also change all the arch-specific variable overrides into narrower qemu platform overrides instead to avoid unnecessary interactions with other Arm platform machines. Signed-off-by: Christopher Clark <christopher.clark@starlab.io> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen, xen-tools: add recommendation for Qemu for non-hvm x86Christopher Clark2022-05-092-10/+5
| | | | | | | | | | | | | The Spectre and Meltdown mitigations for Xen run PV guests within HVM virtual machines, so Qemu is no longer only needed for systems configured to run HVM guests. With the split xen hypervisor and tools recipes, the bios dependencies belong in the tools recipe, so move them and replace the hvm PACKAGECONFIG option with the recommendation based on target arch. Signed-off-by: Christopher Clark <christopher.clark@starlab.io> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen-tools: correct xencommons initscript for systemdBruce Ashfield2022-05-081-1/+1
| | | | | | | | | | | | | commit [xen-tools: don't declare xencommons as an initscript for systemd] was wrong in an amazing two ways. It has an extranenous } and it has inverted logic. The result is that xencommons is not being properly declared as an initscript for sysvinit, and hence we don't fully boot. It isn't a problem for most systemd configurations, so we were booting as the initscript wasn't firing. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen: use vgabios 0.8aRoss Burton2022-05-021-2/+2
| | | | | Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* vgabios: upgrade to 0.8a and cleanup recipeRoss Burton2022-05-024-70/+55
| | | | | | | | | | | | | | | | | | | Upgrade to 0.8a. License checksum updated as the FSF street address changed. Apply a patch to use the correct host compiler when building biossums, removing the need for a separate biossums-native recipe. Don't hardcode /usr/share, use ${datadir}. Install all found firmware (including the new Banshee BIOS in 0.8a) and the debug files which were not installed but intended to be packaged. Remove redundant PR and S assignments, as these are the default values. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* dev86: fix a build raceRoss Burton2022-05-023-2/+45
| | | | | | | | | | Fix a race in cpp/ where token[12].h are written to a temporary file with the same name. Also update the status of cross.patch. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen: Add missing space in append to IMAGE_INSTALLBertrand Marquis2022-04-261-2/+2
| | | | | | | | | Add a space before doing an append in IMAGE_INSTALL on x86. This is solving issues happening if someone is using IMAGE_INSTALL in local.conf to add things to the generated image. Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvirt: Fix error on undefining domain and segfault on libvirt_driver_qemu.soHe Zhe2022-04-262-0/+53
| | | | | | | | | | | | | | | | | Backport a patch to fix segfault when undefining virtual machines. virsh undefine vm rpc-libvirtd[9725]: segfault at 18 ip 00007f8b0a5f17a9 sp 00007f8b3f8cbb60 error 4 in libvirt_driver_qemu.so[7f8b0a56e000+113000] error: Code: a4 01 0f 84 89 03 00 00 4c 89 ff e8 d1 ed f7 ff 85 c0 0f 88 b9 02 00 00 48 8b 45 b8 48 8b b0 80 00 00 00 48 8b 86 b0 02 00 00 <48> 8b 78 18 48 85 ff 0f 84 42 01 00 00 e8 b5 02 f8 ff 48 89 45 c0 Disconnected from qemu:///system due to end of file error: Failed to undefine domain 'vm' error: End of file while reading data: Input/output error Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* containerd-opencontainers: add CVE_VERSION settingChen Qi2022-04-261-0/+1
| | | | | | | | | | | | | The NVD database uses version without a prefixing 'v' for containerd. e.g. https://nvd.nist.gov/vuln/detail/CVE-2022-23648 So we need to explictly set CVE_VERSION. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* nerdctl: move SRC_URI appends to include fileBruce Ashfield2022-04-212-759/+761
| | | | | | | | This makes the main recipe more readable, and allows us to clearly see changes to the SRC_URI and the main recipe separately. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* nerdctl: update to v0.18Bruce Ashfield2022-04-212-163/+317
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping nerdctl to version v0.18.0-61-g48f189a, which comprises the following commits: 8385be4 add test case for nerdctl inspect to check mounts field a766555 show mounts info for nerdctl inspect 1547f73 Add flag ipfs-address to push to remote IPFS node 2db1039 update stargz-snapshotter (0.11.4), IPFS (0.12.2) 7b1c33d Import NOTICE from Docker/Moby bc66bfa CI: upload go-mod-vendor.tar.gz as a backup 43f7b6b Dockerfile: update Ubuntu to 22.04 6c22944 Follow-up to `Support --init argument in nerdctl run command` a8c3de4 Bump github.com/moby/sys/mount from 0.3.1 to 0.3.2 c4cf6a0 Bump actions/checkout from 3.0.0 to 3.0.1 90a91d2 Bump github.com/compose-spec/compose-go from 1.2.2 to 1.2.4 839faf5 Added volume remove fixes(issue #971) f8272ed Support --init argument in nerdctl run command 175923e Export OS Platform and Arch information in `nerdctl version` command b3504ce feat: container image build ci for push image to github registry 8dc5fc5 seccomp: relax restrictions depending on --cap-add 65170cb Bump actions/setup-go from 2 to 3 fe6a7e8 inspect: add type flag to inspect command ac58d8c CI: relax timeout 96b5e49 nerdctl wait: fix flakeness and error handling ba0624d Deflake TestComposeKill 401b541 update BuildKit (0.10.1) 1a3dfe9 Bump github.com/containerd/continuity from 0.2.2 to 0.3.0 800d9ee Bump github.com/ipfs/go-ipfs-http-client from 0.2.0 to 0.3.0 72a2923 Bump github.com/ipfs/interface-go-ipfs-core from 0.6.1 to 0.6.2 7c78e79 Bump github.com/compose-spec/compose-go from 1.2.1 to 1.2.2 8941220 update runc (1.1.1) 6fdf4d1 go.mod: vishvananda/netlink v1.2.0-beta 457317a build: fix `content digest ... not found` for built multi-platform image 500f039 Bump github.com/compose-spec/compose-go from 1.1.0 to 1.2.1 929298c Format created to be compatible with docker inspect 0564fc1 Remove orphan containers before the service has be started b66451e update RootlessKit (1.0.0), imgcrypt (1.1.4) 50cbdfc Add check of snapshotter when sharing images 9c3cca2 docs: clarify availability of optional features e45c8ea Bump github.com/docker/docker 589fc27 Bump github.com/docker/cli 6f5d0d2 Bump github.com/ipfs/interface-go-ipfs-core from 0.6.0 to 0.6.1 4372842 Fix nerdctl ignores BUILDKIT_HOST 0c334bd Support assign static IP address in `compose up` command by using ipv4_address field facc229 CI: set fail-fast to false fcdaa2e Add a document about setting up `nerdctl build` with BuildKit ae1399a CNI: switch away from `isolation` plugin to `firewall` plugin with `ingressPolicy` 0cb1fe6 update containerd (1.6.2) 7f13c20 Fix `nerdctl build` logs error even when succeeds 8e3923c Bump github.com/containerd/go-cni from 1.1.3 to 1.1.4 d948091 avoid nil authconfig && display warning msg for unencrypted passwd d8167e0 docs: clarify that P2P image distribution (IPFS) is completely optional ba88f62 update CNI plugins (1.1.1), stargz-snapshotter (0.11.3), IPFS (0.12.1) 19bf1d3 enhance namespace management 1231875 push: skip foreign layers 87aa769 Support --ip argument when run the container 8ec0672 rootless: Support BuildKit containerd worker 21d0350 Bump github.com/ipfs/interface-go-ipfs-core from 0.5.2 to 0.6.0 debe171 CI: remove integration test with contianerd v1.4.5 fb0339e build with go 1.18 c0e0edf fix login on defaultRegistry 7e68a87 Support fallback to plain http in nerdctl login 7cb387d Follow-up to `Add GitHub issue templates` 701a55c Add GitHub issue templates a9e5022 Windows CI: install git 2bcbdcb refactor netutil b75b86c Bump github.com/docker/cli 94d9169 Bump github.com/spf13/cobra from 1.3.0 to 1.4.0 04199ec Bump github.com/docker/docker 12ca1b0 fix make failed when use go1.16 3e073bc build(deps): bump github.com/containernetworking/plugins 802db60 Update the README.md to remind people to upgrade the Go version f20ef09 add macvlan/ipvlan doc for cni d56bdd6 pkg/portutil: improve rootless error message b154105 update stargz-snapshotter (0.11.2) 3f1ffe2 Support allocate host port when try to run container 9c14a02 CI: temporarily remove FreeBSD integration tests 0e7ddc9 Attempt to deflake TestPushInsecureWithLogin 1b1f1df build test-integration image in arm64 1dcc70c update containerd, CNI plugins, IPFS, Stargz Snapshotter e8f7b6a Bump github.com/compose-spec/compose-go from 1.0.9 to 1.1.0 63ba16a Bump github.com/containerd/containerd from 1.6.0 to 1.6.1 b6850ff Bump golangci/golangci-lint-action from 2 to 3.1.0 f4d689d Bump actions/checkout from 2 to 3 f15e589 add ipam-driver and ipam-opt flags for create network 47190c4 Separate network code Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen-tools: don't declare xencommons as an initscript for systemdBruce Ashfield2022-04-211-1/+2
| | | | | | | | | | | | We previously disabled init.d/xencommons when systemd is the init system (to fix duplicate initialization of some resources), but during rootfs install, update-rc.d will look for the script if xencommons is declared as an initscript package. We match the installation and only delcare it as an initscript in a non systemd configuration. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k3s: Add missing IP Virtual Server (ip_vs) feature to the kernel configRichard Neill2022-04-202-0/+5
| | | | | | | | | | | | | | | | | K3s (and Kubernetes) supports load balancing via IPVS, and by default reports errors when IPVS kernel modules cannot be loaded. This patch adds the missing reported kernel modules to the k3s recipe: * ip-vs * ip-vs-rr * ip-vs-wrr * ip-vs-sh The modules are configured by including the ip_vs kernel feature. Signed-off-by: Richard Neill <richard.neill@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* openvswitch: uprev from v2.17.0-30-g2404d4536 to v2.17.1He Zhe2022-04-201-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commits short log: 41bb202fb (tag: v2.17.1) Set release date for 2.17.1. 8f42d4f59 NEWS: Highlight libopenvswitch API change caused by UB fixes. 14301b3a3 netdev-offload-tc: Check for ct_state flag combinations that are not offloadable. 3a2eef792 python: idl: Set cond_changed to true if condition change requested. d05ccf288 dpif-netdev: Fix dp_netdev_get_pmd() function getting correct core_id. 79e291f98 alb.at: Add tests for cross-numa polling. 9c3b74fb2 dpif-netdev: Fix PMD auto load balance with pmd-rxq-isolate. 8580ff9dd pmd.at: Add tests for multi non-local numa pmds. 6bf4eeddb dpif-netdev: Fix non-local numa selection for more than two numas. c41434b3b dpif-netdev: Fix typo in function name. e0aa5e132 python: idl: Set cond_changed to false if last id is zero. 8da40d31c ofproto-dpif-xlate: Fix NULL pointer dereference in xlate_normal(). 63a903ab4 ofproto/ofproto-dpif: Fix dpif_type for userspace tunnels. 14d54eb8b sset: add SHORT version of SAFE loop macros. f0e63b115 sparse: bump recommended version and include headers. 70b87cf72 idlc: support short version of SAFE macros. 3777ed90c rculist: use multi-variable helpers for loop macros. bb52e9beb hindex: remove the next variable in safe loops. 7d6cbfa24 hindex: use multi-variable iterators. 97ad96b63 cmap: use multi-variable iterators. cd62fda22 hmap: use short version of safe loops if possible. d56bfd752 hmap: implement UB-safe hmap pop iterator. e2c835486 hmap: use multi-variable helpers for hmap loops. 897d6647e list: use short version of safe loops if possible. 979a9eb5b list: use multi-variable helpers for list loops. 6bacf802c util: add helpers to overload SAFE macro. f127123d6 util: add safe multi-variable iterators. 38e73f0b6 util: add multi-variable loop iterator macros. e91edf456 ovsdb: raft: Fix inability to read the database with DNS host names. The ptest results BEFORE uprev: ERROR: 2340 tests were run, 30 failed unexpectedly. 65 tests were skipped. failed cases: 10 11 12 13 14 15 16 17 18 462 769 785 786 787 788 791 792 793 1024 1180 1181 1182 1183 1184 1185 1290 1291 2387 2391 2394 The ptest results AFTER uprev: ERROR: 2343 tests were run, 30 failed unexpectedly. 65 tests were skipped. failed cases: 10 11 12 13 14 15 16 17 18 462 769 785 786 787 788 791 792 793 1025 1183 1184 1185 1186 1187 1188 1293 1294 2390 2394 2397 Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen: Remove 4.14 recipes and related patchesMichal Orzel2022-04-205-367/+0
| | | | | | | | | | We shall only have recipes for the last two stable releases, thus get rid of the 4.14 recipes and the corresponding patches. Signed-off-by: Michal Orzel <michal.orzel@arm.com> Reviewed-by: Christopher Clark <christopher.w.clark@gmail.com> Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen: Add recipes for stable Xen 4.16 release and update masterMichal Orzel2022-04-205-8/+46
| | | | | | | | | | | | | | | Add recipes for Xen 4.16 release as, according to the documentation we shall have recipes for the latest stable major version of Xen before the next Yocto release. Bump PREFERED_VERSION to 4.16 as well. Take the opportunity to update SRCREV of xen recipes for master and bump XEN_REL version to 4.17 as this is the current development version. Signed-off-by: Michal Orzel <michal.orzel@arm.com> Reviewed-by: Christopher Clark <christopher.w.clark@gmail.com> Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen: Bump SRCREV of 4.15 recipes to 4.15.2Michal Orzel2022-04-202-4/+4
| | | | | | | | | | Bump SRCREV version of xen recipes to use the latest 4.15 release which is 4.15.2. Signed-off-by: Michal Orzel <michal.orzel@arm.com> Reviewed-by: Christopher Clark <christopher.w.clark@gmail.com> Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen-tools: remove unused systemd/sysvinit filesBruce Ashfield2022-04-191-3/+14
| | | | | | | | | | | | | The commit [ xen: only package xencommon systemd components if systemd is enabled] attempted to only package init.d scripts for non-systemd systems (and vice-versa for unit files). But the xen-tools builds installs the files uncondtionally, so we can end up with unpackaged files in some configurations. We can test on the init system and removed the unused versions of the init to avoid both packging and runtime issues. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvmi: Fix out of box build failure with xen disabledHe Zhe2022-04-132-0/+77
| | | | | | | | | | vbd was added for xen based VMs since bdee00fac9b4 ("Disk reading interface for Xen based VMs and example") and should be built only when xen is enabled, otherwise there would not be necessary xen headers and cause the following failure. Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k3s: do not use a go file as patchAdrian Freihofer2022-04-111-1/+1
| | | | | | | | | | | | | | | On some build hosts, one of our downloaded depedencies matches patch.bbclass' regex, and is then thought to be a patch. That leads to errors as follows: Compiling k3s failed with: do_patch: Importing patch 'github.com.andreyvit.diff' with striplevel '1' We add a noapply to the SRC_URI to ensure that it is not considered a patch. Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvirt: fix QA packaging issue when multlib is enabledBruce Ashfield2022-04-111-0/+1
| | | | | | | | | | | | | | | | | | The uprev of libvirt introduced a new sysctl file: 60-qemu-postcopy-migration.conf In a standard configuration, the FILES variable of python-libvirt picks up the fiel, but in a multiconfig setup, the definition of ${libdir} changes and the file is missed. Since systcl always looks in /usr/lib, we can't rely only on ${libdir}, so we explicitly add the new .conf file into the packaging. This will allow new additions in the future to be considered as to in which package they belong. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Preeti Sachan <preeti.sachan@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* cni: fix protocol argument typoBruce Ashfield2022-04-111-1/+1
| | | | | | | The newly added flannel_plugin had a typo of protcol, so we add our missing 'o' and fix the uri parameter. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* cni: add flannel plugin from separate repositoryBruce Ashfield2022-04-081-0/+2
| | | | | | | | | | | We have flannel users! It was noted that flannel is no longer part of the main cni-plugins repo, but is instead hosted in a standalone location. We add the new repository, its SRCREV and drop it back where it can be built and packaged in the same way as it previously was. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* virt-what: add new recipeRoss Burton2022-04-071-0/+11
| | | | | Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k3s: clarify uprev version (1.22.6) and PVBruce Ashfield2022-03-311-15/+4
| | | | | | | | | | | | | | | | The shortlog of the previous uprev incorrectly stated that 1.23.x was the target. There are issues remaining with that version, so the uprev was contained to 1.22.x We also typically do NOT use the exact release tag, since fixes are continually arriving post release, and with the extensive go mod vendor process, it doesn't accurately represent the version. As such, we switch to: v1.22.6+k3s1+git${SRCREV_k3s}, for finer grained version tracking. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* containers: introduce podman-tuiBruce Ashfield2022-03-301-0/+67
| | | | | | Add the curses/terminal control application for podman. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* irqbalance: update to 1.8.0-tipBruce Ashfield2022-03-291-1/+1
| | | | | | | | | | | | Bumping irqbalance to version v1.6.0-154-gb3adb5f, which comprises the following commits: 0f594a6 Separate variable declaration from assignment 9b004c6 Ensure that we get all of a unix message df7b543 Add '\0' to the end of strings to avoid heap buffer overflow f8bdd0e ui/ui.c: always use "%s"-style format for printf()-style functions efab272 Drop CapabilityBoundingSet from irqbalance service Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kvmtool: update to -tipBruce Ashfield2022-03-295-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping kvmtool to latest, which comprises the following commits: faae833 Revert "kvm tools: Filter out CPU vendor string" 1b76b6e Add --no-pvtime command line argument 7d4671e aarch64: Add stolen time support ff69582 aarch64: Populate the vCPU struct before target->init() 95f4796 arm: pci: Generate "msi-parent" property only with a MSI controller c334a68 arm: Use pr_debug() to print memory layout when loading a firmware image 9b681b0 Remove initrd magic check 2108c86 virtio/pci: Signal INTx interrupts as level instead of edge 20b93be x86: Set the correct APIC ID d4d6f15 x86: Fix initialization of irq mptable cdd7d8c riscv: Generate PCI host DT node 721da16 riscv: Handle SBI calls forwarded to user space 7c9aac0 riscv: Generate FDT at runtime for Guest/VM 762224e riscv: Add PLIC device emulation 42bfe44 riscv: Implement Guest/VM VCPU arch functions 867159a riscv: Implement Guest/VM arch functions 2e99678 riscv: Initial skeletal support 5968b5f update_headers: Sync-up ABI headers with Linux-5.16-rc1 642f35b Makefile: Calculate the correct kvmtool version 7a60af0 arm/pci: update interrupt-map only for legacy interrupts 39181fc vfio/pci: Align MSIX Table and PBA size to guest maximum page size b20d6e3 vfio/pci: Print an error when offset is outside of the MSIX table or PBA f93acc0 vfio/pci: Rework MSIX table and PBA physical size allocation 5f44d5d vfio/pci: Rename PBA offset in device descriptor to fd_offset 34bfe5f pci: Fix pci_dev_* print macros 3d3dca0 vfio/pci.c: Remove double include for assert.h e3b0ade arm/gicv2m: Set errno when gicv2_update_routing() fails dc66461 arm64: Be more permissive when parsing the kernel header 5303f09 arm64: Use the default offset when the kernel image magic is not found 5613ae2 Add --nodefaults command line argument a5253f7 builtin-run: Move kernel command line generation to a separate function 39ab3a0 Use kvm->nr_disks instead of kvm->cfg.image_count cce9616 builtin-run: Abstract argument validation into a separate function 638630c builtin-run: Do not attempt to find vmlinux if --firmware 6cbec43 builtin-run: Warn when ignoring initrd because --firmware was specified 6810e75 builtin-run: Treat specifying both --kernel and --firmware as an error 2e7380d virtio/pci: Size the MSI-X bar according to the number of MSI-X bdb86d0 kvmtool: arm64: Configure VM with the minimal required IPA space 066b5c0 kvmtool: arm64: Use the maximum supported IPA size when creating the VM 4250819 kvmtool: Abstract KVM_VM_TYPE into a weak function 25c1dc6 arm/arm64: vfio: Add PCI Express Capability Structure e69b766 arm/arm64: Add PCI Express 1.1 support 6b74f68 arm/fdt.c: Don't generate the node if generator function is NULL 070fb91 Move fdt_irq_fn typedef to fdt.h 415f92c arm: Fail early if KVM_CAP_ARM_PMU_V3 is not supported Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvmi: update to 0.14-tipBruce Ashfield2022-03-291-2/+2
| | | | | | | | Bumping libvmi to version v0.10-1073-g41600b6, which comprises the following commits: 41600b6 Actually define __XS_EVENT_REASON_MAX (#1016) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* slirp: update to 4.6.1-latestBruce Ashfield2022-03-291-2/+2
| | | | | | | | | Bumping libslirp to version v4.6.1-55-g888ddad, which comprises the following commits: 888ddad Add sanitizers CI runs 55d498c socket: Handle ECONNABORTED from recv Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ovs: update to v2.17.0Bruce Ashfield2022-03-284-136/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Along with patch refreshes, and a drop since it is now upstream .. Bumping ovs to version v2.17.0-30-g2404d4536, which comprises the following commits: 2404d4536 system-traffic.at: Fix flaky DNAT load balancing test. 6b8adfdd8 dpif-netdev: Keep orig_in_port as a field of the flow. 6098b7f25 tests: Fix incorrect usage of OVS_WAIT_UNTIL. cf9018d37 odp-util: Fix output for tc to be equal to kernel. 992de2406 netdev-offload-tc: Fix IP and port ranges in flower returns. 7e26796c0 netdev-offload-tc: Fix use of ICMP values instead of masks defines. e319e2706 netdev-offload-tc: Always include conntrack information to tc. 51ef81ad7 netdev-offload-tc: Check for valid netdev ifindex in flow_put. 974253dc2 netdev-offload-tc: Set the correct VLAN_VID and VLAN_PCP masks. c43c159ae netdev-offload-tc: Add debug logs on tc rule verify failures. d34622a03 tc: Keep header rewrite actions order. 5255713d1 faq: Update OVS/DPDK version table for OVS 2.15/2.16 05cf36a62 system-dpdk: Fix mfex autovalidator tests. 87540e3b9 ofp-prop: Silence the 'may be uninitialized' warning. 812164ade tests: Ignore log about failing to set NETLINK_EXT_ACK. ae51ccc12 ovsdb-cluster.at: Avoid test failures due to different hashing. f33cde23c ofproto: Use xlate map for uuid lookups. 6ac255496 ofproto: Add refcount to ofproto to fix ofproto use-after-free. db0cc8be3 ofproto-dpif: Trigger revalidation when ipfix config set. 31b86e5c9 conntrack: Prefer dst port range during unique tuple search. b761b532c conntrack: Select correct sport range for well-known origin sport. 78bd058c3 ipsec: StrongSwan report connection update failures to ovs logs. aa05596df ipsec: Libreswan report connection failures to ovs logs. 427776cea system-tso: Skip encap tests when userspace TSO is enabled. 66d16e288 tc: Fix stats byte count on fragmented packets. b63c41f31 compat: Add gen_stats include to define tc hw stats. c531b3828 ovsdb: raft: Fix inability to join the cluster after interrupted attempt. 498cedc48 reconnect: Fix broken inactivity probe if there is no other reason to wake up. 5dc1423d8 datapath-windows: Fix NXM_OF_IP_TOS issue 91c0f0068 Prepare for 2.17.1. db7c86e5d Set release date for 2.17.0. 6dd933478 Documentation: Update USDT documentation to include systemtap dependency. 8b5136a89 ovsdb-idl: Fix use-after-free when destroying an IDL loop. a3182552c dpif-netdev: Use dp_netdev reference in offload threads. 691295d5a dpif-netdev: Fix a race condition in deletion of offloaded flows. bebbf0d6e dpif-netdev: Move port flush after datapath reconfiguration. e03a14c89 dpif-netdev-dpcls: Make subtable reprobe thread-safe. 036957015 ci: Fix typo in variable name. 76da23462 dp-packet: Ensure packet base is always non-NULL. 2cd30fd6b bfd: lldp: stp: Fix misaligned packet field access. 88705f1ba ovsdb-idlc: Avoid accessing member within NULL idl index cursors. b006e8ebb stopwatch: Fix buffer underflow when computing percentiles. a6ba4b037 dpif-netdev: Fix misaligned access. 6da79614a treewide: Don't pass NULL to library functions that expect non-NULL. bee8ec09d system-traffic.at: Avoid sporadic failures during conntrack IPv6 HTTP/FTP tests. 3626f3ca6 system-traffic.at: Do not use ranges with broadcast address. 2035b1b33 system-dpdk.at: Add warning log in mfex fuzzy test. 095f87c24 ofproto: Fix ipfix not always sampling on egress. fbeef2794 tc: Fix incorrect TC rule for decap+encap datapath flow. 54bca0430 dpif-netdev: fix vlan and ipv4 parsing in avx512 aa713d9b4 ci: Install wheel before installing any other python packages. 573230ec0 odp-util: Fix tunnel key attr for GTP-U. 4638cb58f ovsdb-idl: Only process successful txn in ovsdb_idl_loop_run. 87f67448b ofproto-dpif-upcall: Fix n_revalidators on upcall show. 268402b47 acinclude: Detect avx512 vpopcntdq compiler support. 1ff8fe347 Documentation: Fix userspace Tx steering section. 44963a78e vswitchd.xml: Add missing tx-steering PMD option. 17cedcb2d ovsdb-idl: ovsdb_idl_loop_destroy must also destroy the committing txn. 06d484409 ofproto-dpif-xlate: Fix packet drops with decap action on MPLS Multicast. 69155eb20 tests: Fix cosmetic errors in system-traffic.at. 62eeea709 python: idl: Clear last_id on reconnect if condition changes in-flight. ecdb9ca81 ovsdb-cs: Clear last_id on reconnect if condition changes in-flight. f08013b5e python: idl: Resend requested but not acked conditions when reconnecting. 15bb5a978 ofp-flow: Skip flow reply if it exceeds the maximum message size. 4fdd6666a ovsdb: transaction: Keep one entry in the transaction history. 553f566d9 ovsdb-cs: Fix ignoring of the last id from the initial monitor reply. 167c2ff0e ofproto-dpif: Fix issue with non-reversible actions on a patch ports. b8dba6594 NEWS: Fix some typo. b1b77967f ovs-monitor-ipsec: Fix generated strongSwan ipsec.conf for IPv6. 109d02455 system-dpdk: Fix MFEX logs check. 6b1cfa209 datapath-windows: Pickup Ct tuple as CT lookup key in function OvsCtSetupLookupCtx 280d8de05 Prepare for 2.17.0. f20abde5a netdev-dpdk: Remove rte-flow API access locks. b0b6b7b46 dpif-netdev: Use one or more offload threads. 7daa50346 dpif-netdev: Replace port mutex by rwlock. d85b9230a dpif-netdev: Make megaflow and mark mappings thread objects. ec4ac6258 dpif-netdev: Use lockless queue to manage offloads. b3e029f7c netdev-offload-dpdk: Protect concurrent offload destroy/query. 54dcf60e6 netdev-offload-dpdk: Lock rte_flow map access. 7851e602c netdev-offload-dpdk: Use per-thread HW offload stats. 5b0aa5577 dpif-netdev: Execute flush from offload thread. d68d2ed46 dpif-netdev: Introduce tagged union of offload requests. 73ecf098d dpif-netdev: Use id-fpool for mark allocation. 528a8ab62 dpif-netdev: Postpone flow offload item freeing. 55dc4ef17 dpif-netdev: Quiesce offload thread periodically. 62c2d8a67 netdev-offload: Add multi-thread API. 2eac33c6c id-fpool: Module for fast ID generation. 5396ba5b2 mpsc-queue: Module for lock-free message passing. 5878b9252 ovs-atomic: Expose atomic exchange operation. 83823ae32 dpif-netdev: Implement hardware offloads stats query. 9ac3d951b mov-avg: Add a moving average helper structure. e4543c7b1 dpif-netdev: Rename offload thread structure. 9ab104718 dpctl: Add function to read hardware offload statistics. 0e6366c23 netdev-offload-dpdk: Implement hw-offload statistics read. adbd4301a netdev-offload-dpdk: Use per-netdev offload metadata. 1088f4e7f netdev: Add flow API uninit function. aec1081c7 tests: Add ovs-barrier unit test. 59b8f9f8f dpif-netdev: Rename flow offload thread. 6207205e5 ovs-thread: Fix barrier use-after-free. 1b9fd884f Documentation: Remove experimental tag for PMD ALB. 09192a815 Documentation: Update PMD Auto Load Balance section. 5cc052435 Documentation: Update PMD thread statistics. f0adea3fc Documentation: Minor spelling and grammar fixes. 4da71121d Documentation: Fix Rx/Tx queue configuration section. 85d3785e6 utilities: Add netlink flow operation USDT probes and upcall_cost script. 51ec98635 utilities: Add upcall USDT probe and associated script. ff4c712d4 Documentation: Add USDT documentation and bpftrace example. 512fab8f2 openvswitch: Define the OVS_STATIC_TRACE() macro. 191013cae configure: Add --enable-usdt-probes option to enable USDT probes. 844f14181 dpif-netdev.at: Add test for Tx packet steering. c18e707b2 dpif-netdev: Introduce hash-based Tx packet steering mode. 31e67c998 dpif-netdev: Introduce Tx queue mode. e97112ce7 netdev-dummy: Introduce per rxq/txq statistics. eff740b14 ofproto-dpif: Fix memory leak in dpif/show-dp-features appctl. 1917ace89 Encap & Decap actions for MPLS packet type. 4a6a47346 netlink-socket: Log extack error messages in netlink transactions. eb1ab5357 netdev-linux: Use matchall classifier for ingress policing. 3b489a3b1 dpif-netdev: Improve loading of packet data for undersized packets. 8bc135d2d acinclude: Provide better error info when linking fails with DPDK. 1140c87e2 netdev-dpdk: Expose per rxq/txq basic statistics. f260db1ef netdev-dpdk: Fix statistics when changing Rx/Tx queues count. b84386fa9 dpdk: Support running PMD threads on any core. 356f36206 tests/oss-fuzz: Fix the arguments of parse_tcp_flags. ddca1eb3a odp-util: Stop action list parsing if already oversized. 6e50c1651 dpif-netdev: Avoid hw_miss_packet_recover() for devices with no support. e7e9973b8 dpif-netdev: Forwarding optimization for flows with a simple match. 46d44cf3b python: idl: Add monitor_cond_since support. 0d1ffb775 checkpatch: Detect "trojan source" attack. 428b11caa utilities: Add another GDB macro for ovs-vswitchd. 2f2ae5b6b tests: Fix endianness in netlink policy test fixtures. 0b6d2faac ci: Remove -Wno-cast-align from CI. d652fc6a5 checkpatch: Correct line count in error messages. 28ef2535c dpif-netdev-extract: Change availability log level to DBG. 38c53dd17 AUTHORS: Add Nobuhiro MIKI. 9a834205a docs: afxdp: Remove duplicated lines. d446dcb7e system-dpdk: Refactor common logs matching. b366fa2f4 dpif-netdev: Call cpuid for x86 isa availability. 11441385c bridge: Fix incorrect configuration of netdev's dpif type. ec2aa2ab4 ofproto-dpif-xlate: Snoop ingress packets and update neigh cache if needed. b723b9320 tnl-neigh-cache: Do not refresh the entry while revalidating. 02f95638a tnl-neigh-cache: Add tnl/neigh/aging command. f527aef14 tnl-neigh-cache: Read/write expires atomically. f0266292b dpif-netdev: Improve handling of IP/TCP in avx512 mfex. 893693e80 AUTHORS: Add Nir Anteby. 7617d0583 netdev-offload-dpdk: Add support for matching on gre fields. 5f60741dc netdev-offload-dpdk: Support tnl_pop for gre tunnel. a32cb78b5 netdev-dpdk: Add flow_api support for netdev gre vports. 827904146 netdev-offload-dpdk: Refactor get_vport_netdev(). 76527525e AUTHORS: Update email for Alin Serdean. 38b42aa93 MAINTAINERS: Move Joe to emeritus status. 269b927fd dpdk: Use --in-memory by default. b5d2dbdbb system-dpdk: Fix race in vhost-user tests. 9827312fa docs: Re-work the documentation around CPU ISA optimizations. ed9778e94 dpif-netdev: Fix the autovalidator output for the miniflow extract. 339f97044 ovsdb: storage: Randomize should_snapshot checks when the minimum time passed. bf07cc9cd raft: Only allow followers to snapshot. 20a4f546f dpif-netdev: Use PMD context to get the port for HW miss recovery. 17346b389 dpdk: Update to use DPDK v21.11. 72745ab0c compat: handle NF_REPEAT error on nf_conntrack_in. 18db7ec5e system-dpdk: Improve vhost-user ping tests reliability. 4f19a78a6 netdev-vport: Fix userspace tunnel ioctl(SIOCGIFINDEX) info logs. 4a7b58163 alb.at: Increase time/warp. 09c4449b2 alb.at: Check for log from correct line number. 1f5749c79 flow: Consider dataofs when parsing TCP packets. d4bed9596 tests/flowgen: Fix packet data endianness. e40982468 dpif-netlink: Improve feature negotiation for older kernels. 4490792dd ofproto-dpif: Increase dp_hash default max buckets. 91e1ff5dd ovsdb-idl: Don't reparse orphaned rows. 149169836 ofproto: Fix resource usage explosion due to removal of large number of flows. a05883b89 ofproto: Fix resource usage explosion while processing bundled FLOW_MOD. 79953a57e stream-ssl: Avoid unnecessary memory copies on send. dec429168 ovsdb-data: Consolidate ovsdb atom and json strings. 9d29990c2 json: Inline clone and destroy functions. 19aa70168 tests/flowgen: Fix length field of 802.2 data link header. 024ba5257 AUTHORS: Add Mike Pattrick. 958ca7ba3 ovs-tcpdump: Improve performance with dummy interface. c60eec064 ovs-lib: Backup and remove existing DB when joining cluster. c041042c1 python: idl: Avoid pre-allocating column defaults. 2fe20d0be docs/dpdk: Fix install doc. 29f8dc629 AUTHORS: Add Salvatore Daniele. f88ee78e0 match: Do not print "igmp" match keyword. 59622fd1b ovs-save: Save igmp flows in ofp_parse syntax. 3b2982c42 faq: Update OVS/DPDK version table for OVS 2.13/2.14. 72fbb90af ofproto-dpif-xlate: Add a trace log for tnl_port_build_header() error. 7b8aeadd6 ovsdb-idl: Re-parse backrefs of inserted rows only once. fb7a75e52 ofproto-dpif-xlate: Terminate native tunnels only on ports with IP addresses. 9fe0ce4f7 ofproto-dpif-xlate: Fix check_pkt_larger incomplete translation. a83a40609 dpif-netdev: Sync PMD ALB state with user commands. 513ed6570 system-traffic.at: Fix typo in conntrack zones tests. 23083672b dpif-netdev: Reset RxQ cycles history on PMD reload. bd0fec42a ofproto/bond: Improve admissibility debug readability. 71eb2ec44 datapath-windows: Reset flow key after Ipv4 fragments are reassembled 04b017e3a python: db: Avoid allocation of an attr dict/row+column. 695530d8f github: Remove workaround fixing up /etc/hosts. 113f925aa rhel: Use /run instead of /var/run. 9b20df73a dpctl: dpif: Allow viewing and configuring dp cache sizes. efd55eb34 dpctl: dpif: Add kernel datapath cache hit output. 317b1bfd7 ovsdb: Don't let transaction history grow larger than the database. 1bdda7b6d ovsdb-idl: Use functions to apply diff in place. 4dbff9f0a ovsdb: transaction: Incremental reassessment of weak refs. 066741d9c ovsdb-idl: Add memory report function. c5d384f77 checkpatch: Check if some tags are wrongly written. 9f2258360 AUTHORS: Add Somnath Chatterjee. 42c348184 dpif: Fix function pointer check for bond_add. 68543dd52 python: Replace pyOpenSSL with ssl. 3f550fa53 python: socket-util: Split inet_open_active function and use connect_ex. 56c3de3c6 datapath-windows:Reset PseudoChecksum value only for TX direction offload case 4bd375581 ci: Make linux-prepare trust system installs. fa2bc2bb7 github: Stick to python 3.9. a621ac5ea datapath-windows: add layers when adding the deferred actions c1fdb8347 ofproto-dpif-xlate: Fix zone set from non-frozen-metadata fields. 02aebad3f dpif-netdev: Fix use-after-free on PACKET_OUT of IP fragments. 01bca6dab tunnel-push-pop.at: Mask source port in tunnel header. 3486d81d1 AUTHORS: Add Remi Jouannet. f9f391982 ovs-ctl: Add missing description for --ovs-vswitchd-options and --ovsdb-server-options to usage(). 755cf31a3 dpdk-stub: Change the ERR log to DBG. d41cac475 docs/userspace-tunneling: Fix IP addresses for host2. 32899c824 acinclude: Use standardized DPDK component defines. b841e3cd4 dpif-netlink: Fix feature negotiation for older kernels. b12242e0e packets: Correct VXLAN_GPE_FLAGS_P macro name. bd056cb94 dpif-netdev: Fix pmd thread comments to include SMC. 4a6217fab datapath: handle DNAT tuple collision. cc0a87b11 pmd.at: Add test-cases for DPCLS and DPIF commands. 34fbdc410 python: idl: Avoid sending transactions when the DB is not synced up. 803ed12e3 ipf: release unhandled packets from the batch 13d05b8e5 sflow functions: fix unused parameter warnings for sflow functions 7796253db datapath-windows: Add file digest algorithm for signtool 5b7d54efc MAINTAINERS: Transition myself to emeritus status. a461bc62e datapath-windows:adjust Offset when processing packet in POP_VLAN action 4feb05140 fix typo in dpdk doc 429b114c5 ovsdb-data: Deduplicate string atoms. 32b51326e ovsdb-data: Add function to apply diff in-place. bb12b6317 ovsdb-data: Optimize subtraction of sets. 51946d222 ovsdb-data: Optimize union of sets. bfc6e9735 dpif-netdev: Remove OVS_UNUSED flag in functions for ct_zone limits. b2712d026 ovsdb: transaction: Use diffs for strong reference counting. 9e7081b14 cirrus: Reduce memory requirements for FreeBSD VMs. 849a40ccf netdev-linux: Fix a null pointer dereference in netdev_linux_notify_sock(). 81de3a81a bond: Check for NULL member in bond_member_set_enable(). 3168f328c pcap-file: Fix memory leak in ovs_pcap_open(). 22c95f9fe odp-util: Fix a null pointer dereference in odp_flow_format(). a566c02a2 odp-util: Fix a null pointer dereference in odp_nsh_key_from_attr__(). 5e86db383 netdev-dpdk: Fix RSS configuration for virtio. d0020c5e8 docs: Recommend the use of dpdkvhostuserclient ports. 16e5b51f2 docs: afxdp: Fix wrapping in QEMU CMDs. 0eeca50f0 Documentation: Cleanup PMD information. ee74a8b75 AUTHORS: Add Sergey Madaminov. aae08a577 include/windows/unistd.h: Fixed type cast warning on Windows. e05e1e3c0 netdev-offload-dpdk: Don't ignore frags as they are handled. 1318929f9 netdev-offload-dpdk: Support IPv6 fragmentation types. c1a5d0e2b netdev-offload-dpdk: Support IPv4 fragmentation types. 26b18f189 netdev-offload-dpdk: Add last attribute to patterns. a2fa8b289 conntrack: Remove the nat_action_info from the conn. fdef31fb7 hash: Fix compilation error on Fedora 34 with GCC 11 and -O0. ebcbb534e ipf: Fix only nat the first fragment in the reass process. 00d3d4a7d checkpatch: Avoid catastrophic backtracking. 372b790f1 AUTHORS: Add Tony van der Peet. 7e6b41ac8 dpif-netdev: Fix crash when PACKET_OUT is metered. 5c1cc74da rhel: Fix dual kernel rpm install for RHEL 8.4 944950dcc AUTHORS: Update Simon Horman 43e66fc27 ovsdb: monitor: Store serialized json in a json cache. 0de882954 raft: Don't keep full json objects in memory if no longer needed. b0bca6f27 json: Add support for partially serialized json objects. c2fb5bdae ovs-actions: Convert man page from xml to rST. 748010ff3 json: Optimize string serialization. 7847bf89e tests: Skip netlink policy test on non-Linux platforms. 7502849e9 ovsdb-idl: Add APIs to query if a table and a column is present. bfee9f6c0 netlink: Add support for parsing link layer address. 9ab5075bf Set release date for 2.16.0. 3fc34862b AUTHORS: Add Vlad Buslov. 6bb3f363d tc: Set action flags for tunnel_key release. d08c086e5 netlink-socket: Replace error with txn->error when logging nacked transactions. d9a5fb78d netdev-offload-dpdk: Initialize s_tnl dynamic string. 0363891d1 dynamic-string: Fix a crash in ds_clone(). 0b3a5d7ad dpif-netdev: fix memory leak in dpif and mfex commands 01cbe1ed4 dpif-netdev: fix memory leak in dpcls subtable set command d2ad305a6 dpif-netdev: Fix dead code in mfex command 8a5f055a0 docs/dpdk/bridge: Fix dpif-netdev/miniflow-parser-set formatting 96e513f55 dpif-netdev-unixctl.man: Document miniflow-parser-* CMDs 3004ebf20 dpif-netdev-unixctl.man: Document subtable-lookup-* CMDs c15c3df3a dpcls: fix build on compilers without AVX512-VPOPCNT ccb6cc20f AUTHORS.rst: Add Lin Huang. 765c8a774 AUTHORS.rst: Add Gaetan Rivet and Wentao Jia. 2480d09e9 ovsdb: transaction-forward: Fix initialization of the 'sent' hmap node. a3bd383e9 acinclude: Don't set AVX512-related configuration via CFLAGS. e21e9dcec dpif-netdev: Log flow modification in debug level. 6f69e0e30 dpif-netdev: Fix offloads of modified flows. 0d25621e4 dpif-netdev: Fix flow modification after failure. 8917010b0 dpif-netdev: Do not flush PMD offloads on reload. cd36a34f3 dpif-netdev: Fix non-atomic read of smc_enable_db. de15afa50 dpdk: Stop configuring socket-limit with the value of socket-mem. a8621f49d dpdk: Remove default values for socket-mem and limit. 1f7f55760 netdev-offload-dpdk: Fix vxlan vni cast-align warnings. e8cccd3a3 netdev-offload-dpdk: Fix IPv6 rewrite cast-align warning. b8b31d841 daemon-unix: Fix leak of a fork error message. daf627f45 ovsdb-cs: Perform forced reconnects without a backoff. 69b2bdfd3 system-dpdk.at: Fix module not found error for pyhton < 3.6. 43b7d960a netdev-dummy: Silence the 'may be uninitialized' warning. f05d6d623 ofproto-dpif-xlate: Fix continuations with OF instructions in OF1.1+. 8e808e7f1 datapath-windows:Correct checksum for DNAT action 954798752 Documentation: Remove duplicate words. 4703bc67b Prepare for post-2.16.0 (2.16.90). 45bd6d93f Prepare for 2.16.0. 298d4151f bond: Fix broken rebalancing after link state changes. b1e517bd2 dpif-netlink: Introduce per-cpu upcall dispatch. 485e3a13a dpif-netlink: Fix report_loss() message. 1325debb4 ofproto: Change type of n_handlers and n_revalidators. 3222a89d9 dpif-netdev: Report overhead busy cycles per pmd. 30bfba024 tests: Add new test for cross-numa pmd rxq assignments. 6193e0326 dpif-netdev: Allow pin rxq and non-isolate PMD. 3dd050909 dpif-netdev: Add group rxq scheduling assignment type. 4fb54652e dpif-netdev: Assign PMD for failed pinned rxqs. 0efefc4f9 dpif-netdev: Sort PMD list by core id for rxq scheduling. 58fed7e8d dpif-netdev: Make PMD auto load balance use common rxq scheduling. f577c2d04 dpif-netdev: Rework rxq scheduling code. ccc24fc88 ofproto-dpif: APIs and CLI option to add/delete static fdb entry. ae2424696 dpdk: Logs to announce removal of defaults for socket-mem and limit. 15329b728 flow: Count and dump invalid IP packets. 6545977ce ovs-rcu: Remove unused perthread mutex. cb4bff6ff Don't mangle shebangs when building DKMS RPM package. 1f38f9dcf AUTHORS: Add Adrian Guzowski. 2abd8148c Add ability to override default Release suffix in RPM packages. d28c5ca57 python: Add cooperative_yield() API method to Idl. 487253d5b python: Update bundled sortedcontainers to 2.4.0. 6c41bcb13 ci: Do not dump logs on error for GitHub Actions. 7ab851e1b dpif-netdev: Do not execute packet recovery without experimental support. a72c1dfbd dpif/dpcls: limit count subtable search info logs 26fbd1a1b AUTHORS: Add Cian Ferriter. 83aae83e6 AUTHORS: Add Amber Kumar. aa85a2509 dpif-netdev/mfex: Add more AVX512 traffic profiles 250ceddcc dpif-netdev/mfex: Add AVX512 based optimized miniflow extract 32f93dc5e dpdk: Add additional CPU ISA detection strings dc39608d2 dpif/stats: Add miniflow extract opt hits counter 50be6715c test/sytem-dpdk: Add unit test for mfex autovalidator a395b132b dpif-netdev: Add packet count and core id paramters for study 5324b54e6 dpif-netdev: Add configure to enable autovalidator at build time. 5c5c98cec docs/dpdk/bridge: Add miniflow extract section. 72dd22a0d dpif-netdev: Add study function to select the best mfex function dd3f5d86d dpif-netdev: Add auto validation function for miniflow extract 3d8f47bc0 dpif-netdev: Add command line and function pointer for miniflow extract 3e82604b7 docs: Add documentation for ovsdb relay mode. e26bf9726 ovsdb: Make clients aware of relay service model. edcf44172 ovsdb: relay: Reflect connection status in _Server database. 7964ffe7d ovsdb: relay: Add support for transaction forwarding. 026c77c58 ovsdb: New ovsdb 'relay' service model. b4cef64c8 ovsdb: row: Add support for xor-based row updates. 85dbbe275 ovsdb: table: Expose functions to execute operations on ovsdb tables. e93fc5db9 ovsdb: storage: Allow setting the name for the unbacked storage. 4d9605379 jsonrpc-server: Wake up jsonrpc session if there are completed triggers. 00dda78ed ovsdb-cs: Avoid unnecessary re-connections when updating remotes. 73259ea70 ovsdb-server: Fix memleak when failing to read storage. 066a84f89 latch-unix: Decrease the stack usage in latch d2e97030e netdev-linux: fix compile error in nl_msg_put_act_police d53ea18be AUTHORS: Add Andrew Rybchenko. 909b40f67 netdev-offload-dpdk: Fix port ID logging on destroy. b889d5dcc conntrack: Init hash basis first at creation. b0d289bb5 netdev-linux: Ignore TSO packets when TSO is not enabled for userspace. 464b5b13e netdev-offload-tc: Verify the flower rule installed. 1e3148913 dpcls-avx512: Enable avx512 vector popcount instruction. 60c9e1a2f dpdk: Cache result of CPU ISA checks. 2100f0e51 dpif-netdev/dpcls: Specialize more subtable signatures. 47a2a8f41 dpif-netdev/dpcls-avx512: Enable 16 block processing. d76a719a7 dpif-netdev: Add a partial HWOL PMD statistic. 3f86fdf5c dpif-netdev: Add command to get dpif implementations. abb807e27 dpif-netdev: Add command to switch dpif implementation. 9ac84a1a3 dpif-avx512: Add ISA implementation of dpif. e540499e4 dpif-netdev: Add function pointer for netdev input. 5930dfeeb dpif-netdev: Refactor to multiple header files. c36c8e3f5 ovsdb-tool: Fix memory leak in "check-cluster" command. ba16a36f3 dpif-netdev: Add all-zero SNAT to the advertised features of ct. 61e48c2d1 conntrack: Handle SNAT with all-zero IP address. fa0e2d26d util: Add token concatenation macro with argument expansion. 1e19f9aa2 conntrack: Handle already natted packets. aa4359cb9 dpif-netdev: Read recirc depth and flow api enabled once per batch. e6ad4d8d9 conntrack: Document all-zero IP SNAT behavior and add a test case. 355fef6f2 ofproto-dpif-xlate: Avoid successive ct_clear datapath actions. 347362d0c AUTHORS: Add Bodo Petermann and David Wilder. b7809111a odp-util: Stop key parsing if already oversized. 3da3cc1a0 ovs-numa: Support non-contiguous numa nodes and offline CPU cores. 154983c59 python: Fix Idl.run change_seqno update. b57b062f5 ofp-actions: Report an error if there are too many actions to parse. b30bfb6b8 ovsdb-server.7.rst Fix response result of monitor_cond_change 0c0995238 stream-ssl: Remove unsafe 1024 bit dh params 4e948b86c bridge: Use correct (legacy) role names in database. 828d9cb8d ovs: fix wrong quote 00c1bce13 docs: fix wrong quote 780b2bde8 bridge: fix type mismatch 911adb93e ovs-save: Use right OpenFlow version for "ovs-ofctl dump-tlv-map". 8ab198092 NEWS: Add note about PPS support for ingress policing 10c9dfeb5 bridge: Only an inactivity_probe of 0 should turn off inactivity probes. 8d7c24083 fail-open: Only fail open if we've been disconnected for at least 1 s. f686957c9 add test cases for ingress_policing_kpkts parameters c2567e533 add port-based ingress policing based packet-per-second rate-limiting b6c5f30cf checkpatch: Ignore macro definitions of FOR_EACH. 772a842fb dpif-netdev: Apply subtable-lookup-prio-set on any datapath. 07a5fa610 AUTHORS: Add Paolo Valerio. 331975506 ovs-actions.xml: Add missing bracket. 63c01b895 netdev-offload-tc: Use nl_msg_put_flag for OVS_TUNNEL_KEY_ATTR_CSUM. 2c597c890 conntrack: add coverage counters for L3 bad checksum. 76700f374 conntrack: Increment coverage counter for all bad checksum cases. e5b5008ac ovs-lib: pass optional --election-timer arg to ovsdb-tool e098c2f96 netdev-dpdk-offload: Add vxlan pattern matching function. 507d20e77 netdev-offload-dpdk: Support vports flows offload. b5e6f6f6b dpif-netdev: Provide orig_in_port in metadata for tunneled packets. be56e063d netdev-offload-dpdk: Support tunnel pop action. 20b176044 netdev-offload-dpdk: Change log rate limits. a1ec42803 netdev-offload: Disallow offloading to unrelated tunneling vports. 6a855d3e7 netdev-offload: Allow offloading to netdev without ifindex. bc341440d dpif-netdev: Add HW miss packet state recover logic. aca2f8a8a netdev-offload-dpdk: Implement HW miss packet recover for vport. c5b56f0eb netdev-dpdk: Add flow_api support for netdev vxlan vports. 1b27484f2 netdev-offload: Introduce an API to traverse ports. 6f50f28b9 netdev-dpdk: Introduce DPDK tunnel APIs. f36e7438f netdev-offload: Add HW miss packet state recover API. f0e4a7338 tests: Add PMD auto load balance unit tests. 833f1b843 pmd.at: Get next line number of log. f3ad560d5 dpif-netdev: Expand the meter capacity. bd9052455 Remove Python 2 leftovers. ad256c314 dpdk: Add debug appctl to get malloc statistics. c16b9ac74 datapath-windows: Specify external include paths e81ed9421 Fix redundant datapath set ethernet action with NSH Decap. c2999459d tests: Fixed L3 over patch port tests. cca40141a netlink: removed incorrect optimization 661fd5edb AUTHORS: Add Wang Liang. 640d4db78 ipf: Fix a use-after-free error, and remove the 'do_not_steal' flag. 2afe31169 odp-util: Return an error on actions overflow while parsing from string. 5fe3ef1a0 tests: Fix spelling error in test name. 50b419d0a raft: print local server ID when opening RAFT database c5a58ec15 python: idl: Allow retry even when using a single remote. 04f8881f5 ovsdb-idl: Fix the database update signaling if it has never been connected. 91cb55bc8 system-traffic.at:add missing comma 9f3815ed6 AUTHORS: Add Rosemarie O'Riorden. 6426417c1 ipfix-gen-entities: Add missing argument in function call. 210c4cba9 docs: Add a topic about record/replay with ovsdb-server. 4275b5b7f ovsdb-client: Integrate record/replay functionality. 0be15ad76 ovsdb-server.at: Add unit test for record/replay. 964da9a8b jsonrpc: Disable inactivity probes if replay engine is active. 30ccf2c51 ovsdb-server: Don't update manager status if replay engine is active. 182a0b8ad ovsdb-server: Integrate stream replay engine. 07a07d06a uuid: Allow record/replay of generated UUIDs. fae1ae043 stream: Add record/replay functionality. 610ac1e82 ovs-replay: New library to create and manage replay files. a4b04276a ofproto: Fix potential NULL dereference in ofproto_ct_*_zone_timeout_policy(). dd0f59783 ofproto: Fix potential NULL dereference in ofproto_get_datapath_cap(). f1951d41f ovs-save: Fix awk command to return highest ofp version. 3012710ec tests: Fix PKIDIR checks in AT_SKIP. 5da031d6d tests: Drop support for glibc before version 2.11. fb1e7863e ovsdb-tool: add --election-timer=ms option to 'create-cluster' 13c0eaa7b dpif-netlink: Fix send of uninitialized memory in ct limit requests. 328d20e0f ofproto-dpif: Fix use of uninitialized attributes of timeout policy. 577b9a816 netdev-linux: Fix use of uninitialized LAG master name. 0b3ff31d3 ofp_actions: Fix set_mpls_tc formatting. 7731d2614 dpif-netdev: Remove meter rate from the bucket size calculation. 76b720ed1 ovs-actions: Document normal pipeline. 60638d61a AUTHORS: Add Wang Yibo. f173527ec ovs-ofctl: Fix coredump when using "add-groups" command. 3c2d6274b raft: Transfer leadership before creating snapshots. b5bb044fb ovsdb-cs: Consider all tables when computing expected cond seqno. 7100c220e mac-learning: Remove obsolete comments about tags. b45958bf7 dpdk: Use DPDK 20.11.1 release. 484e9a4dd github: Fix up malformed /etc/hosts. 843cd4304 doc: automake: Add support for sphinx 4.0. b03daccfd cirrus: Look up existing versions of python dependencies. 721488d4a classifier: Make find_match_wc() prototype and definition match. b96d2756f tnl-neigh-cache: Include expected array sizes in prototypes. f09182a3b ofp-group: Use big-enough buffer in ofputil_format_group(). 09fe18af2 xml2nroff: Fix formatting of action headers in ovs-actions(7) manpage. a019868a6 ofproto/ofproto-dpif-sflow: Check sflow agent in case of race 5dce24d04 ipsec: Fix race in system tests. fd1114e96 AUTHORS: Add Michal Kazior. d90b4f292 rtnetlink: ignore IFLA_WIRELESS events. f9d303903 dpif: Fix use of uninitialized execute hash. 4a6be85c8 odp-util: Fix use of uninitialized erspan metadata. 3311ca0d4 AUTHORS: Add Ariel Levkovich. ea71a9d44 netdev-offload-tc: Add support for ct_state flag rel. 0c147fb4e dpif-netlink: Fix using uninitialized info.tc_modify_flow_deleted in out label. 44ea24427 Add test cases for ingress_policing parameters 67e0e0bc1 netdev-linux: correct unit of burst parameter d2d051310 AUTHORS: Add Aidan Shribman. 23f9ec9eb make: don't prompt during build 332b8a3e4 util: Add allocation wrappers that don't increment coverage counters. 4cb38cd22 ovs-lldp: Get rid of pointless null pointer check. f8be30acf ipsec: Update ordering of imports. 8fc62df8b ipsec: Introduce IPsec system tests for Libreswan. d6afbc00d ipsec: Allow custom file locations. 4ce8bb159 system-common-macros: clean up veth device on test failure. 58b4146e0 ipsec: Fix IPv6 default route support for Libreswan. ac85cdb38 ovsdb-idl: Mark arc sources as updated when destination is deleted. 95689f166 ovsdb-idl: Preserve references for deleted rows. 4c0d093b1 ovsdb-idl.at: Make test outputs more predictable. 31629b538 ovs-ofctl: Fix segfault due to bad meter n_bands. b4a9c9cd8 netlink: make Netlink socket receive buffer 4x larger 50b0b4d86 db-ctl-base: Warn if "destroy" command lacks --all or record argument. 9801d7c4b github: Fix handling of python packages. c3690ccbc dpif-netdev: Refactor and fix the buckets calculation. 759aaa851 dpif-netdev: Fix the meter buckets overflow. af0ce3866 AUTHORS: Add Shahar Klein. 925a09477 debian: Add configure option to debian/rules 2eb7e22a4 rhel: Do not update kmod RPM newer major revision kernels. 56e60eca7 rhel: ovs-kmod-manage.sh: Disable unneeded warning. ec68a877d dpif-netdev: Allow PMD auto load balance with cross-numa. edcfd7176 netdev-offload-tc: Add support for ct_state flags inv and rpl 1e4aa061a netdev-offload-tc: Probe for support for any of the ct_state flags 0a8bd432a compat: Add ct_state flags definitions 64b8c1d9a python: Send notifications after the transaction ends. cdaa7e0fd dpif-netdev: Fix crash when add dp flow without in_port field. 2ad201659 ovs-ctl: Allow recording hostname separately. f013e6f2d Documentation: Fix DPDK qos example. 39b937f06 raft: Add 'stop-raft-rpc' failure test command. 4c1d9ef14 raft: Report disconnected in cluster/status if candidate retries election. 14b2b0aad raft: Reintroduce jsonrpc inactivity probes. ac09cbfcb ovsdb-cs: Fix use-after-free for the request id. 47e73f7f0 netdev-offload-tc: Flush rules on all chains before attach ingress block 436ce00da connmgr: Check nullptr inside ofmonitor_report(). 8f09b2688 AUTHORS: Add Alexey Roytman. e775bf32e ovsdb-client: Fix needs-conversion when SERVER is explicitly specified. 4cee0150a windows, tests: Modify service test. e7df370cf netdev-linux: Fix indentation. 97918ed19 AUTHORS: Add Balazs Nemeth. 647a71988 docs: Add instruction to set local_ip to ipsec tutorial. 163b134d0 ofproto-dpif-upcall: Fix ukey leak on udpif destroy. 014496e73 ci: Use parallel build for distcheck. 5740843c4 github: Run clang test with AddressSanitizer enabled. 77cccc74d ofp-actions: Fix use-after-free while decoding RAW_ENCAP. 5704a7f35 Set release date for 2.15.0. 4b674829f dpif-netdev: auto load balance log state on user request. 81661d768 AUTHORS: Add Hariprasad Govindharajan. 8d0416153 faq: Update OVS/DPDK version table for OVS 2.15. 1560b4667 docs: Update for auto load balance threshold parameters. caa41a871 cirrus: Use FreeBSD 12.2. 79349cbab flow: Support extra padding length. e4a89a7cc rhel: Update build required dpdk. 9acbdd65c rhel: Add option to enable AF_XDP on rpm package. 498cf3eae netdev-offload-tc: Reject rules with unsupported ct_state flags. 255fd6ad2 dist-docs: Include manpages generated from rST. da33a6875 db-ctl-base: Fix XML syntax error. 9513c0233 db-ctl-base: Add {in} and {not-in} set relational operators. 0f252daa9 tc: Fix mpls bottom of stack bit mask reporting. 3eec7fb07 pcap-file: Fix calculation of TCP payload length in tcp_reader_run(). c3da0ae65 ofp-table: Improve log message in ofputil_decode_table_features(). 83f5e6fda AUTHORS: Add Volkan Atlı. d8df84998 rhel: Update '--with-dpdk' argument for DPDK 20.11. 59611d6fe ovs-lib: Remove second parameter for stop_daemon. 9cf39b3e7 Add Tao YunXiang <taoyunxiang@cmss.chinamobile.com>. 2e0dace0e doc: Add 'faq' about datapath-id c17f32a11 netdev-dpdk: Fix incorrect shinfo initialization. 75e1e6fd2 lib/tc: add ICMP type and code match offload d5c429a30 github: Don't fail the job if 'apt update' failed. 492bbb54c vswitchd.xml: Fix supported IPsec tunnels. 748483d3f netdev-afxdp: Updated documentation. d27494647 acinclude: Remove default library for DPDK. 3f19b124e ovsdb-doc: Add build dependency on dirs.py. 9049a11f0 system-dpdk: Fix 4th and 5th testcases of the system-dpdk testsuite. 25eb72a26 ovs-ctl: Prepend OVS binary directories to PATH. c2e501c16 AUTHORS: Add Mao YingMing. 82440ad72 dpctl: Fix dpctl process command parameter error. 8e69349f2 conntrack: Fix the icmp conntrack new state. 1c337c43a ovsdb-idl: Break into two layers. a5c067a8b ovsdb-cs: New module that factors out code from ovsdb-idl. 81f06e2b8 test-ovsdb: Log steps in idl test. e7eb904d2 odp-util: Fix abort while formatting nsh actions. 50e5523b9 Prepare for post-2.15.0 (2.15.90). Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k8s: update to 1.23.6Bruce Ashfield2022-03-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping kubernetes to version v1.23.6-rc.0-16-gfbcfa330181, which comprises the following commits: 1e8f6d51484 Copy request in timeout handler edd7a386c61 kube-up: use registry.k8s.io for containerd-related jobs 3194c87ba25 e2e: Wait only for the service account a62ee8e5c3b e2e: Wait for kube-root-ca.crt to be created 651b1fa1cce Include pod UID in secret/configmap cache key 33d089b173c Move kubelet secret and configmap manager calls to sync_Pod functions 7f02733e4d8 test: Verify that nodes do not transition to Failed while ready 77865d3db93 test: Add E2E for job completions with cpu reservation b51d11be7a4 test: Add E2E for init container pod deletion 290cdbf8792 kubelet: Delay writing a terminal phase until the pod is terminated 914475e2e9f Update CHANGELOG/CHANGELOG-1.23.md for v1.23.5 b3b64745789 Release commit for Kubernetes v1.23.6-rc.0 c285e781331 Release commit for Kubernetes v1.23.5 01c2f1c6420 Remove apf_fd from httplog c52cd9c5920 Update Go to 1.17.8 1a897af197a cluster/gce: update konnectivity image tags to v0.0.30 d741174d7e1 bump sigs.k8s.io/apiserver-network-proxy/konnectivity-client@v0.0.30 0b8199041d1 fix dryrun when ca file exists 903f164b679 fix regression introduced by PR 100320 56bfc202e45 Add unit tests a5faf0b5ce2 Fix nodes volumesAttached status not updated 4c85abf90bb Fix default config flags 1570a75766b test/e2e/framework: include the new control plane taint 60cd43c44e0 kubelet: Clean up a static pod that has been terminated before starting 33863be9478 Add an e2e test for updating a static pod while it restarts 621894de9d6 cronjob_controllerv2: do not filter jobs to be reconciled by labels c9f904304d9 kube-proxy: fix duplicate port opening f783e573f11 increase Azure ACR credential provider timeout ba2cd0ca3db Updating EndpointSlice strategy to retain node name in topology until field is set 4e69dd88613 fix: do not return early in the node informer when there is no change of the topology label. 68ea240512a /test/e2e_kubeadm: adjust label checks for 1.23 2efffd62367 Ignore container notfound error while getPodstatuses 9f5e25033b6 Update CHANGELOG/CHANGELOG-1.23.md for v1.23.4 d4b2d8cf961 Release commit for Kubernetes v1.23.5-rc.0 e6c093d87ea Release commit for Kubernetes v1.23.4 949798fe712 Add PDB selector patch integration test 47fc5aea4a2 Revert v1beta1 PodDisruptionBudget select patchStrategy ef293a9ee95 test/e2e_kubeadm: fix matching UnversionedKubeletConfigMap defaults 799ffd58065 kubeadm: fix the bug that 'kubeadm init --dry-run --upload-certs' command failed with 'secret not found' error c465ceccb32 Update Go to 1.17.7 f0eac451011 Use serializable struct for x-kubernetes-validations in openapi 02d1a291c8b Make JSON schema round tripping test more strict 30eff360132 ignore CRI PodSandboxNetworkStatus for host network pods 34a8474e600 set secondary address on host-network pods 14c399ec5e3 Deeply copy JSONSchemaProps.XValidations. 9fe0c40c8e5 wrap error from RunCordonOrUncordon 0d487176d3a Ensure the execHostnameTest() compares hostnames 733c0ebc7c3 Revert "Fix comparison between FQDN and hostname" ebfa08cd39b service REST: Call Decorator(old) on update path 92d09f90c01 add namespace in azurefile volumeid 5830d1474ff fix: azurefile volumeid conflict in csi migration bce4e5ba5b1 Mark device as uncertain if unmount device succeeds 4b868d09c98 Update CHANGELOG/CHANGELOG-1.23.md for v1.23.3 72506a8439c Release commit for Kubernetes v1.23.4-rc.0 816c97ab8cf Release commit for Kubernetes v1.23.3 f2c6108f462 kubelet: fix podstatus not containing pod full name 398effdfe0d Fix bug with node restriction blocking pvc.status.resizestatus change 6d08a56228a Fix regression pruning array fields with x-kubernetes-preserve-unknown-fields: true 996d8fca977 Set max results if its not set 9c31df589b7 Update CHANGELOG/CHANGELOG-1.23.md for v1.23.2 918dd8343f0 Release commit for Kubernetes v1.23.3-rc.0 9d142434e3a Release commit for Kubernetes v1.23.2 4935e0a527e Update k/utils to v0.0.0-20211116205334-6203023598ed 38e9dce15f4 [go] update to Go 1.17.6 28ad5463fda fix: remove outdated ipv4 route when the corresponding node is deleted dfea07a3b04 fix: delete non existing disk issue 65b309c76d8 Revert "Automated cherry pick of #107554: Correct the feature gate string for RBD migration." 677eae51666 fix containers order after applying 89d8be52ef4 generated: ./hack/update-vendor.sh 04f3c5793c1 upgrade sigs.k8s.io/structured-merge-diff/v4 to v4.2.1 8c8fe66f7aa Execute sync before taking the snapshot 4b1d9d80da7 Correct the feature gate string for RBD migration. 50e813278cd fix: azuredisk parameter lowercase translation issue 879947434c0 removed unnecessary log line 88249a973a8 kubectl: add integration test for result reporting 16a4de9268a cli: let kubectl handle error printing c5365784330 cli: avoid logging command line errors in more cases 26dae30f913 Fix header mutation race in timeout filter 81c8d0aad93 clear pod's .status.nominatedNodeName when necessary f61c4b18c42 use node informer to check volumes attachment status before backoff f4ba875cdfd When volume is not marked in-use, do not backoff e36b9382ecd kubeadm: remove the restriction that the ca.crt can only contain one certificate f4835a2cd3e flake fix: remove the error handler for cronjob integration test 962ab763c5e Fix the leak of vSphere client sessions cc6c36f286d client-go: Clear the ResourceVersionMatch on paged list calls d42a44fcb2f Enabling kube-proxy metrics on windows kernel mode e6a8826e992 Remove JSON logging performance regression Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvirt: uprev to 8.1.0Bruce Ashfield2022-03-256-218/+4
| | | | | | | | | | | | Bumping libvirt to a newer version. We drop our backported patches, update the checksums, change the meson configuration slightly and adjust the location of the systemd manipulations. Along with functionality changes and bugfixes, we pickup newer python components, so we can survive the depreciation of distutils more easily. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* python3-sphinx: make a 4.2.0 specific recipeBruce Ashfield2022-03-241-0/+4
| | | | | | | | | | | OEcore has pulled in python3-sphinx, and bumped the version. Our recipe is causing failures. We still have a version dependency on 4.2.x, so we create a specific recipe to keep things working. Hopefully this can be deleted shortly, and this is only being created as a transition project. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: set CXXFLAGS and CFLAGSsakib.sajal@windriver.com2022-03-221-0/+3
| | | | | | | | | | | commit a83623a54a375d3ae9198a135b94379881a2b7a5 was added to oe-core which removes CXXFLAGS and CFLAGS causing compilation for ceph to fail. Set CXXFLAGS and CFLAGS to resolve the issue. Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k3s: update to 1.23.1Bruce Ashfield2022-03-212-2/+2819
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The significant commit in this series is: 0e72260df4 delete vendor dir Which means that we completely have to revamp the recipe to build without go accessing the network to pull in dependencies. This is an initial effort, and it is acknowledged that it isn't efficient or fast, due to the number of fetches and I/O required to complete the population of the vendor/ directory. The recipe can be iterated and made more efficient over time. Bumping k3s to version v1.23.1+k3s1-11-ge7464a17f7, which comprises the following commits: e7464a17f7 Fix use of agent creds for secrets-encrypt and config validate 8d8c8b0c6b Don't skip the dev image when skipping airgap 31f1a00b6f Fix a typo: advertise-up -> advertise-ip (#4827) 2ac8df3602 Integration tests utilities improvements (#4832) 612a9412fd Enable make generate to use dapper and standardize go and gzip versions (#4861) 66eeabbdfc linter doesn't actually run on windows, found these while getting it running on a windows machine 142b1d96f4 Update channel.yaml for 1.23 ff49dcf71e Export default parser d0f7e23328 Require integration test to be run as sudo/root (#4824) a02db0f2fa Fix cgroup smoke test (#4823) 08d538fb3a Update golang 87395e32d6 Update modules for Kubernetes v1.23 6656d48415 Add tests to use vagrantfile (#4722) 70902209b9 Bump stable to v1.22.5+k3s1 (#4821) 3ee3ecb3ac package rename wasnt approved yet, backing out cruft that snuck into last pr a5c6e6a68a Fix panic checking name of uninitialized etcd member 52e450f033 Add etcd sonobuoy tests 9919f229b6 Add variable to enforce max test concurrency 247298a20d Fix previous channel detection 6872e7da25 More codespell ignores 3ae550ae51 Update bootstrap logic to output all changed files on disk (#4800) 0e72260df4 delete vendor dir e6cf8f5982 code changes to drop the vendor dir 4eb282edac Move flannel logs to logrus 2e91913f54 Close agentReady channel only in k3s (#4792) 8ad7d141e8 Close etcd clients to avoid leaking GRPC connections 588d15db8f Remove Disables, Skips and DisableKubeProxy from the comparing configs 555dfc54db Add initial skeleton ADOPTERS.md to better track large use cases (#4764) baf865b836 Add ADR 6f4217a340 Build standalone containerd 8737e2e13f Build script cleanups 89e63972e9 Bump k3s-root to v0.10.1 17eebe0563 Fix cold boot and reconcilation on secondary servers (#4747) 73725a0882 docs: adrs: Dual-stack in network policy agent d71b335871 Fix snapshot restoration on fresh nodes (#4737) bf4e037fcf Resolve Bootstrap Migration Edge Case (#4730) 2f3bfc27c0 Add in docs/adr to ensure we capture decisions properly during design calls (#4707) a6fe2c0bc5 Resolve restore bootstrap (#4704) a70487d5ae Update wharfie usage in windows code path 3985fd0e26 [master] Add validation to certificate rotation (#4692) e8a30a87c8 Bump runc to v1.0.3 eb068da7f3 Add `SKIP_AIRGAP` enviroment variable for make (#4688) 8f389ab030 Include node-external-ip in serving-kubelet.crt SANs (#4620) bcb662926d Secrets-encryption rotation (#4372) 1b3187ea07 Check HA network parameters 7d3447ceff Bump wharfie to v0.5.1 and use shared decompression code 05d43278e2 bump kine to v0.8.1 3b6a3fe905 Update dynamiclistener a8f7e9f7e8 Nighlty automation vagrant rework (#4574) a0208058ae Bump stable to v1.21.7+k3s1 (#4636) 77fd3e99ec Add cert rotation command (#4495) 1e6e4db2bc Update maintainers list (#4622) d05c334a78 Improved cleanup for etcd unit test (#4537) ae4a1a144a etcd snapshot functionality enhancements (#4453) 0c1f816f24 go generate a7ba3e14ff Add package version to traefik helm chart 7685da3e24 Improve flannel logging d93c82f958 [master] Bump golang and containerd (#4538) 65110a4eec [master] Bump Kubernetes to v1.22.4-k3s1 (#4536) 03485632ea Fix regression with cluster reset (#4521) ef263bd2b0 Improved regex for double equals arguments (#4505) 535a919635 Removed value from warning about skipping flags (#4491) c77efe64e1 tests/vagrant: refactor vagrant smoke tests (#4484) f18b3252c0 [master] Add etcd extra args support for K3s (#4463) 41ff19de71 Feature: Add CoreDNS Customization Options 4b57951fb0 Fix to allow etcd-snapshot to use config file with flags that are only used with k3s server. (#4464) 5ab6d21a7d Increase agent's apiserver ready timeout (#4454) bc7cdc78ca go generate 2e9358934d Add dashboard annotations to Traefik helm chart 5d168a1d59 Allow svclb pod to enable ipv6 forwarding adaeae351c update bootstrap logic (#4438) d85b2468ea Corrected skip check for dualstack on CI (#4427) 559c8ad94b install: /usr/sbin/transactional-update (#4403) 7bd65047c3 Match to last After keyword for parser (#4383) 8915e4c7f7 Replace gzip with pigz for faster builds (#4411) 0a5c6b1088 Remove unit tests from drone CI (#4424) 36c6634cce [master] updating to new signals package in wrangler (#4399) f1d6e9bc4b install.sh: fix path detection for sle-micro (#4398) 86c6924119 containerd: v1.5.7-k3s2 (#4387) f7dcc139ff Bump klipper-lb image for arm fix aa3332085f Update k3s CI to run all integration tests (#4358) 94c1b988ca Enable Epics Action to automatically check off child issues in an epic (#4353) f1622129e4 refactor: Use plain channel send or receive f9f1cabe9c Fix log/reap reexec 702fe24afe containerd/cri: enable the btrfs snapshotter (#4316) 3da1bb3af2 Fix other uses of NewForConfigOrDie in contexts where we could return err 5acd0b9008 Watch the local Node object instead of get/sleep looping 3fe460d080 Block scheduler startup on untainted node when using embedded CCM 52eb6cac1c install.sh: initial support for sle-micro (#4331) 91cf835ec3 Update to v1.22.3 (#4354) 7c3f21e581 K3s Integration test fixes (#4341) ab3d25a2c5 Update peer address when running cluster-reset 0a0b915921 reset buffer after use (#4279) 02a314c69a Bump klipper-helm version 918945da45 Added configuration input to etcd-snapshot (#4280) 72a1925a34 install.sh: capture quoted environment variables (#4275) 6e410fad49 Update to the newest flannel b5b7033afd Bump klog fork version e11a4bf8bb set duration to second (#4231) 0452f017c1 Add etcd s3 timeout (#4207) 34080b23b1 Copy old bootstrap buffer data for use during migration (#4215) dbc14b8990 Fix race condition in cloud provider 5a923ab8dc Add containerd ready channel to delay etcd node join 6b4d75d245 maintainers: add Manuel and Michal (#4193) b282528ee2 Display cluster tls error only in debug mode (#4124) dc18ef2e51 Refactor log and reaper exec to omit MAINPID d6b6a3ee9f vagrant: Add Ubuntu 21.04 support 5e01201195 vagrant: Update package list for Ubuntu e420583684 vagrant: Add support for vagrant-libvirt f830d09d6e vagrant: Change OS environment variable to DISTRO feec44572d Improve error message when using a "K10" prefixed token (#4180) ac7a8d89c6 Add ability to reconcile bootstrap data between datastore and disk (#3398) 9e787bfacb moving fossa to being inline step with a sles image b6919adf62 Add "etcd-" prefix to etcd-snapshot commands as aliases (#4161) 00cf4578ec Dual-stack support LB controller 1f7151ed2f Update stable to v1.21.5+k3s2 9b35734e1a Add topologySpreadConstraints to support scaling of coredns e24e1332fd Bump containerd to v1.5.7+k3s1 12e675e2cc Don't evacuate the root cgroup when rootless cd5002ea37 Skip tests that violate version skew policy 5d1a37ee32 Send MAINPID to systemd when reexecing for logfile output a16105b348 Properly handle operation as init process f4cea90cb9 set transport to skip verify if se skip flag passed (#4102) fd495a6a5f Bump stable to v1.21.5+k3s1 (#4068) 87524a7ac7 Enable the inheritance of settings for ipv6 4ec71b360c Adding fossa anaylze/test drone step 73e21e739f Drop broken SupportNoneCgroupDriver support 8005885bad Add 1.22 channel 539e224159 Update build images to python3 for compat with recent gsutil change b99b943c17 Use the new klipper-lb image that has newer go and Alpine versions Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* lopper: update to 1.0.2Bruce Ashfield2022-03-211-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping lopper to latest, which comprises the following commits: c7b22ce lopper/subsystem: update access to latest specification 716fe89 lopper/init: pass permissive to dt_compile if specified on the command line 2575d66 dt_compile: allow duplicate label errors to be skipped with --permissive 22b2515 lopper: drop duplicate labels due to node merging f70eb86 lopper: bump version to 1.0.2 9b72de5 lopper: only execute main() when __main__ is called directly b0b19a1 lopper: improve label round trip handling d4b7706 docs: clarify lop versioning an compatible strings e44204b README: add phandle-desc-v1 description 17350a7 version: bump to 1.0.1 0a4fcac tree: fix tree export and reload 520dea8 lopper/base: add secure-address-map description 6e660c5 lopper/lops: resolve tree when copying 8d46634 lopper: allow select to match labels 7aac1e3 openamp: add stub for OpenAMP Domain processing landing function 82986bb lopper: add the ability to extend phandle meta-data table 914c7e2 yaml: add alias/anchor based node naming d9f1abb spec: update remoteproc example per latest spec 40cc05d lop-load: add back CDO d5d23ab xlnx: subsystem: rename lopper_tree to lopper.tree in imports 7d23ba6 lop-load: update for latest master 4caa022 openamp: add stubs for picking up domain to domain YAML property d8dae9d openamp_xlnx: rename fily openamp_xlnx.py to allow includes from this file 0358879 yaml-xlate: add stub for domain-to-domain property 903b16a spec: remove resource-groups 1dd1e67 README: update to add mailing list information 5da82a1 lopper/yaml: add lopper processing for "<<+" extension marker 3d05302 assists: domain_access: Fix update_mem_node handling for higher address 3c81fcc fdt: handle large integers Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen: only package xencommon systemd components if systemd is enabledBruce Ashfield2022-03-211-6/+6
| | | | | | | | | | We've had reports of both the init.d xencommons and the systemd services attempting to initialize the console, and breaking boot. The systemd initialization really only needs to be enabled when systemd is in DISTRO_FEATURES, and init.d the opposite. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>