Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ip -o link does not work #54

Closed
yoctozepto opened this issue Mar 6, 2020 · 5 comments
Closed

ip -o link does not work #54

yoctozepto opened this issue Mar 6, 2020 · 5 comments

Comments

@yoctozepto
Copy link

@yoctozepto yoctozepto commented Mar 6, 2020

Some testing scripts we run in Tempest rely on availability of -o in ip command which stands for 'oneline' and makes ip output parsing much more pleasant and reliable.
It seems to have worked with 0.4.0 but gone with 0.5.0 - empty output.
Try e.g.
ip link
vs
ip -o link

EDIT: seemingly only ip -o link fails

@yoctozepto yoctozepto changed the title ip -o does not work ip -o link does not work Mar 6, 2020
@jharbott

This comment has been minimized.

Copy link

@jharbott jharbott commented Mar 6, 2020

That is a regression in busybox, which provides /sbin/ip for both releases. v1.23.2 vs. v1.29.3. As a workaround we could install the iproute2 original, not sure how much impact that would have on the size.
Edit: https://bugs.busybox.net/show_bug.cgi?id=11551 not updated in more than a year.

@jharbott

This comment has been minimized.

Copy link

@jharbott jharbott commented Mar 6, 2020

@hrw

This comment has been minimized.

Copy link
Collaborator

@hrw hrw commented Mar 6, 2020

I am for enabling iproute2. This way CirrOS gets same networking tool as most of distros. Image may get more use in neutron.

@yoctozepto

This comment has been minimized.

Copy link
Author

@yoctozepto yoctozepto commented Mar 6, 2020

I am with hrw. We have some decent kernel, let's have decent basic toolkits.

@hrw

This comment has been minimized.

Copy link
Collaborator

@hrw hrw commented Mar 6, 2020

Buildroot rootfs grows by ~12% (table in KB):

arch before after
aarch64 11252 12628
x86-64 12176 13604
hrw added a commit to hrw/cirros that referenced this issue Mar 6, 2020
OpenStack Tempest tests fail due to change to 'ip' output.
@hrw hrw linked a pull request that will close this issue Mar 6, 2020
@smoser smoser closed this in ab61649 Mar 6, 2020
smoser added a commit that referenced this issue Mar 6, 2020
Backport Busybox fix to 'ip' command. Closes #54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

3 participants
You can’t perform that action at this time.