Giter Site home page Giter Site logo

Comments (11)

sormy avatar sormy commented on August 23, 2024

Could you please provide error log

from gentoo-ami-builder.

AZMCode avatar AZMCode commented on August 23, 2024

Sadly there is none. I just get failed to resolve domain name error on user phase, and upon inspection through SSH, the chroot's resolv conf is a dangling symlink.

Edit: Excuse my previous confusion, I thought this was on my failed PR

from gentoo-ami-builder.

sormy avatar sormy commented on August 23, 2024

I mean, what it the error if you won't comment this ln -sf command? Please also share details about what stage, region, profile were used?

from gentoo-ami-builder.

AZMCode avatar AZMCode commented on August 23, 2024

I believe I specified the error in the PR, name resolution is broken. Same with the stage, it happens on stage 3, in the user phase. I'm currently running the script in the sa-east-1 region, with the default instance type, using the amd64-systemd profile.

from gentoo-ami-builder.

sormy avatar sormy commented on August 23, 2024

I just tried ./gentoo-ami-builder.sh --update-world no --gentoo-stage3 amd64-systemd --key-pair "..." on us-east-1 and it has completed without issues. Could you please share logs for failed build. Unfortunately, there are no logs for the issue in this ticket and in related closed ticket as well.

from gentoo-ami-builder.

AZMCode avatar AZMCode commented on August 23, 2024

That's weird. I literally have no logs to share in this respect, as everything worked out fine up until the user phase. I understand if you have to close the issue due to lack of repro.

from gentoo-ami-builder.

sormy avatar sormy commented on August 23, 2024

Please share command line you run. What is printed on the screen when script fails and may be at least partial content of user phase script. Please remove any personal information from logs, user phase script and command line.

from gentoo-ami-builder.

AZMCode avatar AZMCode commented on August 23, 2024

As of now I'm busy getting my current user phase script to work using the fix described, but I might come back to this and provide the log and further experimentation to see what causes the bug.

from gentoo-ami-builder.

frostynova avatar frostynova commented on August 23, 2024

Met this problem too

CLI: ./gentoo-ami-builder.sh --region ap-southeast-1 --key-pair gentoo --spot-instance false --gentoo-stage3 amd64-systemd --gentoo-profile default/linux/amd64/17.1/systemd

No error output during script execution. But using this ami to boot a new instance, "/run/systemd/resolve/resolv.conf" is missing.

After "systemctl restart systemd-resolved", everything is ok.

from gentoo-ami-builder.

sormy avatar sormy commented on August 23, 2024

might be related to ap-southeast-1, reopening, but will test after holidays

from gentoo-ami-builder.

sormy avatar sormy commented on August 23, 2024

Seems like it is working now, feel free to reopen with more details

from gentoo-ami-builder.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.