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

update things for 0.6.x work #82

Merged
merged 13 commits into from Aug 10, 2022
Merged

Conversation

hrw
Copy link
Collaborator

@hrw hrw commented Aug 2, 2022

Those changes move us to Buildroot 2022.02.4 (current LTS) and to kernels from Ubuntu 22.04 release.

Another change is removal of i386, powerpc and ppc64 architectures. We do not have up-to-date kernels for them.

@hrw hrw requested review from osfrickler and smoser August 2, 2022 13:33
Copy link
Member

@smoser smoser left a comment

Choose a reason for hiding this comment

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

some little things.
You guys do good work. thank you.

bin/grab-grub-efi Outdated Show resolved Hide resolved
bin/grab-grub-efi Show resolved Hide resolved
bin/grab-grub-ieee Outdated Show resolved Hide resolved
bin/grab-kernels Outdated Show resolved Hide resolved
bin/grab-kernels Show resolved Hide resolved
@hrw hrw force-pushed the 2022/updates-for-0.6.x branch 3 times, most recently from 9bd9065 to 42f0ec7 Compare August 3, 2022 10:50
@yoctozepto
Copy link

IPv6 works well in Kolla CI.
But! It seems it is no longer bootable in the very same CI on aarch64:

+ openstack console log show kolla_boot_test
[2J[01;01H[=3h[2J[01;01H[0m[35m[40m[0m[37m[40mBdsDxe: failed to load Boot0002 "UEFI Misc Device 2" from PciRoot(0x0)/Pci(0x1,0x2)/Pci(0x0,0x0): Not Found
BdsDxe: failed to load Boot0001 "UEFI Misc Device" from VenHw(93E34C7E-B50E-11DF-9223-2443DFD72085,00): Not Found
BdsDxe: loading Boot0003 "EFI Internal Shell" from Fv(64074AFE-340A-4BE6-94BA-91B5B4D0F71E)/FvFile(7C04A583-9E3E-4F1C-AD65-E05268D0B4D1)
BdsDxe: starting Boot0003 "EFI Internal Shell" from Fv(64074AFE-340A-4BE6-94BA-91B5B4D0F71E)/FvFile(7C04A583-9E3E-4F1C-AD65-E05268D0B4D1)
[2J[01;01H[01;01HUEFI Interactive Shell v2.2
EDK II
UEFI v2.70 (EDK II, 0x00010000)
[1m[33m[40mMapping table[0m[37m[40m
[1m[33m[40m      FS0:[0m[37m[40m [1m[37m[40mAlias(s):[0m[37m[40mHD0p:;BLK2:
          PciRoot(0x0)/Pci(0x1,0x2)/Pci(0x0,0x0)/HD(15,GPT,D5219989-35DC-46D2-A545-F27D74632444,0x800,0x4000)
[1m[33m[40m     BLK3:[0m[37m[40m [1m[37m[40mAlias(s):[0m[37m[40m
          VenHw(93E34C7E-B50E-11DF-9223-2443DFD72085,00)
[1m[33m[40m     BLK0:[0m[37m[40m [1m[37m[40mAlias(s):[0m[37m[40m
          PciRoot(0x0)/Pci(0x1,0x2)/Pci(0x0,0x0)
[1m[33m[40m     BLK1:[0m[37m[40m [1m[37m[40mAlias(s):[0m[37m[40m
          PciRoot(0x0)/Pci(0x1,0x2)/Pci(0x0,0x0)/HD(1,GPT,C203238C-6C44-4B0F-83D5-D0014DD0679A,0x4800,0x337DF)
[15;01HPress [1m[37m[40mESC[0m[37m[40m in 5 seconds to skip [1m[33m[40mstartup.nsh[0m[37m[40m or any other key to continue.[15;01HPress [1m[37m[40mESC[0m[37m[40m in 4 seconds to skip [1m[33m[40mstartup.nsh[0m[37m[40m or any other key to continue.[15;01HPress [1m[37m[40mESC[0m[37m[40m in 3 seconds to skip [1m[33m[40mstartup.nsh[0m[37m[40m or any other key to continue.[15;01HPress [1m[37m[40mESC[0m[37m[40m in 2 seconds to skip [1m[33m[40mstartup.nsh[0m[37m[40m or any other key to continue.[15;01HPress [1m[37m[40mESC[0m[37m[40m in 1 seconds to skip [1m[33m[40mstartup.nsh[0m[37m[40m or any other key to continue.
[16;01H[1m[33m[40mShell> [0m[37m[40m

@hrw
Copy link
Collaborator Author

hrw commented Aug 4, 2022

@yoctozepto I gave you x86_64 image only. Where from you took AArch64 one?

@yoctozepto
Copy link

@hrw Sorry, I was blind.

@hrw
Copy link
Collaborator Author

hrw commented Aug 4, 2022

@yoctozepto no problem. I uploaded aarch64 test image and re-run openstack ci job

@yoctozepto
Copy link

Thanks @hrw.

osfrickler and others added 12 commits August 8, 2022 16:17
Use current LTS buildroot release 2021.02.8, drop busybox patch that is
no longer needed.

Stop building ppc64 which is failing boot-test with "kernel too old".

Change-Id: I19603cc50a11153dcf9ee30958754737782b5e14
This has multiple advantages about the previous setup:

- Set up all available interfaces automatically
- Handle IPv6 variants properly (SLAAC vs. DHCPv6)

Add some further networking tools for easier debugging

Change-Id: Idf04a48c04127b2a40fdaea47e7eea39383b1125
Use the latest grub and linux kernel versions from Ubuntu 22.04 LTS.
Update the README accordingly.

Build images on Ubuntu 22.04, too. Switch from python 2 to 3.
Stop building i386 for which no recent kernels are available.

Change-Id: I0e58449cd4bd3d526efd5b99b1f84fabda5c5813
Ubuntu 22.04 packages use zstd compression method. It is not
supported in upstream dpkg so build was possible only on
Ubuntu 22.04 release.

Change-Id: I9856e4072462d8a1e280768bb71c1790837c6005
Configs need to be updated

Change-Id: I7573775d6375e5f8c3deb84c8cc5d6e3416de536
- arm moved to armv7/cortex-a8
- bind disabled (have to check)
- tcpdump, traceroute, dhcpcd enabled

arm, aarch64, x86_64 build and boot fine
ppc64le needs work

Change-Id: I3f96ac790fe66fe903ee007aa116c012266c6f2f
Ubuntu 22.04 does not support them so we do not too:

- i386    (32-bit x86)
- powerpc (32-bit)
- ppc64   (64-bit big endian)

Also dropped support for older kernel releases which was used for
powerpc/ppc64.

Change-Id: Idc41fe181034c2b6d9e45bac7ac114174da3a789
Instead of creating those directories in parent directory and then
symlinking them back.
This way there is no need to scroll whole build log just to see did it
booted properly.
Looks like they block traffic coming from github.
@hrw
Copy link
Collaborator Author

hrw commented Aug 8, 2022

rebased on top of all changes

@smoser
Copy link
Member

smoser commented Aug 10, 2022

I think this is fine now.
fee free to merge.

@hrw hrw merged commit 9da6b3f into cirros-dev:main Aug 10, 2022
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.

None yet

4 participants