dmick_ | Hi all. I'm having trouble understanding exactly how cloud-init data is handled in a subiquity-autoinstall boot | 01:02 |
---|---|---|
dmick_ | I'm PXE booting the ubuntu server image, supplying ds=nocloud-net;s=http:... | 01:02 |
dmick_ | which of course contains a user-data file with the autoinstall map as well as cloud-init config data. I'm specifically trying to understand how things like script files (placed in the datasource in the relative path scripts/per-instance, for example) are used. They would be used on reboot into the target after installation is complete, I assume, but...how do they get there? and where is there? (Can it be the same datasource | 01:05 |
dmick_ | as was used in the PXE boot? If so should it be specified on the kernel command line for the new target install?) | 01:05 |
dmick_ | another way to say it: if I supply scripts/ on the original https data source, does subiquity or something copy those scripts to an appropriate place on the target so they run when desired? | 01:10 |
dmick_ | if there's a better place to ask about this, I'm happy to be redirected | 02:04 |
=== JanC is now known as Guest3224 | ||
=== nate- is now known as nate | ||
=== nate is now known as 073ABUGQ4 | ||
kenyon | dmick_: I think it's "standard cloud-init" once you get to the first boot of the installed machine, nothing specific to Subiquity | 06:39 |
dmick_ | so...what happens to the scripts/ directory that was populated during the pxe boot? Are they just ignored, because they're not part of whatever datasource cloud-init uses when booting from the target? What is that, even? | 09:08 |
dmick_ | (I'm coming to this inside-out, trying to understand Subiquity's use of c-i without really having done much "traditional" c-i) | 09:08 |
=== eggzabyte_ is now known as eggzabyte | ||
Guest95 | Hi all. Hope you all doing fine. A bit of a long shot maybe but I will try my luck here. I am trying to update ubuntu 20 to 24... the do-realease-upgrade went through but when the server rebooted it is still v20 | 12:01 |
gry | what kernel version is it now? | 12:03 |
Guest95 | 5.15.0-133-generic | 12:03 |
gry | sudo dpkg -l linux* | 12:05 |
gry | shows which kernels are installed | 12:05 |
Guest95 | can I paste here? | 12:06 |
=== sdeziel_ is now known as sdeziel | ||
Guest95 | pasted on private just in case, avoiding to get banned for flooding lol | 12:07 |
gry | !pastebin | 12:08 |
ubottu | For posting multi-line texts into the channel, please use https://bpa.st | To post !screenshots use https://imgur.com | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. | 12:08 |
gry | use the https://bpa.st | 12:09 |
gry | it will give you an url to share | 12:09 |
Guest95 | https://bpa.st/WYGQ | 12:09 |
gry | OK, thank you | 12:10 |
Guest95 | thanks for helping me out | 12:10 |
gry | try do apt update and apt release upgrade again, does it do anything now? | 12:11 |
gry | what is in your /etc/apt/sources.list ? | 12:11 |
Guest95 | https://bpa.st/JWOQ | 12:12 |
Guest95 | when I do the release upgrade again it gets aborted after a while | 12:13 |
gry | cat /etc/*release* | 12:13 |
gry | why aborted? what error message? | 12:14 |
Guest95 | https://bpa.st/IRTA | 12:14 |
Guest95 | No candidate ver: python3.8-minimal | 12:15 |
Guest95 | Restoring original system state | 12:15 |
Guest95 | Aborting ... and a bunch of other packages... | 12:15 |
gry | please pastebin these errors | 12:17 |
Guest95 | well let me do the upgrade then | 12:17 |
gry | hm, i am wondering what is best way to resolve this, | 12:18 |
Guest95 | it is so many no candidate vers that I wont even be able to see them all | 12:18 |
Guest95 | https://bpa.st/IMGA | 12:20 |
gry | Ok, please wait a while here | 12:21 |
gry | does it say anything before that? | 12:22 |
Guest95 | I can't see now.. | 12:23 |
Guest95 | it's just showing th packages and saying no valid mirror found and if it should rewrite sources.list anyways... when I press y then it tries and aborts | 12:25 |
gry | ok thanks, please wait around for someone more experienced than me to assist. this is a lot of useful information, i am sure it will help to identify the cause and solution | 12:27 |
Guest95 | aight, thanks | 12:28 |
tomreyn | Guest95: can you show your configured apt sources? | 12:32 |
Guest95 | it was here https://bpa.st/JWOQ | 12:33 |
tomreyn | Guest95: does this include what's in /etc/apt/sources.list.d/ ? | 12:36 |
tomreyn | this might be easier: grep -Ehv '^(#.*)?$' /etc/apt/sources.list{,.d/*.list} | nc termbin.com 9999 | 12:36 |
Guest95 | https://termbin.com/tj8a | 12:39 |
tomreyn | are you using plesk or cpanel on this system? | 12:40 |
tomreyn | i guess i should just say that with any third party repositories you are basically on your own / depend on their support. | 12:41 |
Guest95 | cpanel | 12:41 |
tomreyn | ubuntu release upgrades may still work with software from third parties installed, but there's no way to support this scenario in a volunteer support setting | 12:42 |
tomreyn | in your case, apparently, they would not work, most likely because those third party repositories or other third party packages you have installed have introduced unresolvable dependencies | 12:43 |
Guest95 | so basically they have done it like this the hosting company so I need to take support from them | 12:43 |
tomreyn | you can inspec the release-upgrade log files in /var/log/release-upgrade (might be called different, this is from memory) where main.log should indicate what failed exactly | 12:44 |
tomreyn | you can sort this out yourself, with partial support (when comes to software and tooling ubuntu provides) from here. or you can get (probably commercial) support from third parties, if those can support your combination of third party apt repositories. | 12:45 |
tomreyn | apt-forktracer is a package and command you can use to get a list of installed .deb's (debian packages) - and versions - which are installed from non ubuntu sources | 12:48 |
tomreyn | Guest95: it's possible that cpanel provides release upgrade instructions which prevent the "No candidate ver: python3.8-minimal" issue from occurring. | 12:50 |
tomreyn | but this may not solve all the issues, because you also have other third party repositories activated (and may have installed software from these) | 12:51 |
Guest95 | yeah they have this https://cpanel.github.io/elevate/ but I am not able to do that either... as soon as I try to do the wget it says scheme missing | 12:52 |
tomreyn | i'm not familiar with this, so yes, i guess you'll need to seek cpanel support on this | 12:53 |
tomreyn | make sure you backup first of all | 12:54 |
Guest95 | yeah thanks | 12:56 |
tomreyn | the issue with cpanel is that is applies rather invasive changes on the system, so much that - as they state - you cannot just use the OS provided release upgrade mechanism | 12:58 |
Guest95 | well that sucks... do you have any better suggestions? alternatives? | 12:59 |
tomreyn | for shared web hosting? you can manage the components yourself, but this requires more dedication to understand them | 13:01 |
tomreyn | there are numerous guides on setting up a shared web hosting environment based on ubuntu | 13:01 |
tomreyn | there are also alternatives web panels, if you need one. | 13:02 |
tomreyn | those may or may not be invasive, too, though | 13:02 |
tomreyn | IMO, doing shared web hosting properly requires a lot of low level knowledge and practice. cpanel abstracts much of this and gets you a system which works, is easily manageable (as long as it works as designed and intended). if that's what you need, it can be an ok compromise. on the other hand, if you want to understand what you're doing and how components are interacting with one another, be able to deviate from the standard track, while | 13:08 |
tomreyn | remaining fully compatible to the linux distro, then your own setup may be preferrable. | 13:08 |
=== Guest4672 is now known as ogra | ||
=== ogra is now known as Guest2233 | ||
=== Guest2233 is now known as ogra | ||
gry | 2 | 18:12 |
=== patrick_ is now known as patrick | ||
=== y0sh- is now known as y0sh_ |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!