Skip to content

Misc fixes - #488

Merged
troglobit merged 7 commits into
mainfrom
misc-fixes
Jun 25, 2024
Merged

troglobit merged 7 commits into
mainfrom
misc-fixes

Conversation

@troglobit

@troglobit troglobit commented Jun 23, 2024 •

Copy link
Copy Markdown
Contributor

Description

  • Bump curiOS httpd sample container, latest Buildroot + better BusyBox config/tools
  • Fix blocking delete of containers in sysrepo callback, run in background
  • Fix column width for "show bridge mdb"
  • klish: improved error/warning message for unknown/incomplete command

Checklist

Tick relevant boxes, this PR is-a or has-a:

  • Bugfix
    • Regression tests
    • ChangeLog updates (for next release)
  • Feature
    • YANG model change => revision updated?
    • Regression tests added?
    • ChangeLog updates (for next release)
    • Documentation added?
  • Code style update (formatting, renaming)
  • Refactoring (please detail in commit messages)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

@troglobit

troglobit commented Jun 23, 2024 •

Copy link
Copy Markdown
Contributor Author

I'll update the CLI unit test and add ChangeLog in the morning.

@troglobit

Copy link
Copy Markdown
Contributor Author

There, unit test and ChangeLog updated. Ready for review @wkz + @mattiaswal

@troglobit

Copy link
Copy Markdown
Contributor Author

Not sure why the container tests fail, probably has to do with the curiOS upgrade, at least I've managed to reproduce it here now. Looking into it ...

@troglobit

Copy link
Copy Markdown
Contributor Author

Had obviously forgot to update a hard-coded string. Fixed.

@troglobit troglobit added this to the Infix v24.06 milestone Jun 24, 2024

@wkz wkz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢!

@mattiaswal mattiaswal left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

 - Fixes to missing BusyBox tools (cat)
 - Bump Buildroot to this year's LTS (2024.02)

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
ietf-system.c: In function ‘change_hostname’:
ietf-system.c:1722:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1722 |         system("initctl -nbq touch netbrowse");
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This change makes sure execd calls KNN style scripts before SNN,
allowing confd to post teardown jobs that are guaranteed to run
before any jobs to create new resources run.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
Instead of potentially blocking sysrepo, which has a 5 second timeout,
we move 'container delete' jobs to be run by the execd queue.

Fixes #479

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
Fixes #462

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
Replaces:

    Error: Illegal command

with:

    Error: Command not found, or incomplete.  Try ? for help or Tab for completion.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
@troglobit

Copy link
Copy Markdown
Contributor Author

Changes after approval due to conflicts with #480, only minor fixups force-pushed.

Tests still pass so merging.

@troglobit
troglobit merged commit 2ecb692 into main Jun 25, 2024
@troglobit
troglobit deleted the misc-fixes branch June 25, 2024 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

containers: Not possible to disable a container cli: too narrow heading for show bridge mdb

3 participants