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

Unattended installation ended with error #1739

Closed
serock opened this issue Nov 8, 2024 · 7 comments
Closed

Unattended installation ended with error #1739

serock opened this issue Nov 8, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@serock
Copy link

serock commented Nov 8, 2024

I tried an unattended installation of Leap 16.0 using the agama-installer.x86_64-10.0.0-openSUSE-Build27.7.iso in VirtualBox 7.0.18 on Leap 15.6. At the end of the installation, an error was displayed:
Screenshot from 2024-11-08 03-10-39

The effective profile.json is attached with the user and password info omitted.

The end of the agama.out.log had:

Nov 08 09:08:01 agama agamactl[3007]: [INFO]: software: Commit result [688, [], [], [], []]
Nov 08 09:08:01 agama agamactl[2991]: [INFO]: manager: Configure the system (3/3)
Nov 08 09:08:02 agama agamactl[39077]: /mnt: /etc/locale.conf written.
Nov 08 09:08:02 agama agamactl[39077]: /mnt: /etc/vconsole.conf written.
Nov 08 09:08:02 agama agamactl[39077]: /mnt: /etc/localtime written
Nov 08 09:08:15 agama agamactl[2989]: Loading mocked module /usr/lib64/ruby/gems/3.3.0/gems/agama-yast-10.devel407/lib/agama/dbus/y2dir/modules/InstFunctions.rb
Nov 08 09:08:20 agama agamactl[2991]: [INFO]: manager: Install phase done

The installation of Leap 16.0 seemed to be successful; I was able to reboot the virtual machine and login to Leap 16.0.

@imobachgs
Copy link
Contributor

Thanks for the report. The installation was finished successfully, but the web UI crashed. We will try to reproduce the problem.

@dgdavid

This comment was marked as outdated.

@imobachgs
Copy link
Contributor

imobachgs commented Nov 11, 2024

I was able to reproduce the problem using bug.json. It seems to related to the storage layer, as I see two failing requests to api/storage/proposal/settings and api/storage/proposal/actions.

I am attaching some debugging information:

@imobachgs
Copy link
Contributor

Actually, if you remove the encryption password from bug.json and try to import that profile (from the CLI), the storage proposal will fail and the UI won't handle it properly.

@joseivanlopez
Copy link
Contributor

I haven't checked this yet. BTW, removing the encryption password should report an error because the password is required by the schema. Is Agama validating the schema while importing the profile?

@imobachgs
Copy link
Contributor

Sorry, I did not explain it well. It is not removing but setting the password to an empty string (which is "valid"). However, in my latest test I was unable to reproduce that problem.

However, the original issue still applies.

@imobachgs imobachgs added the bug Something isn't working label Nov 12, 2024
teclator added a commit that referenced this issue Dec 2, 2024
…storage section (#1739). (#1793)

## Problem

The **UI** is not ready for the new storage configuration loaded from
the profile.

- #1739
- https://trello.com/c/3BVQ3zl5

## Solution

Adapted the installation finished page using the storage config instead
of the proposal settings as it could not exist.

As the problem is reported just for unattended installation and the
finished page we will provide a fix only for the reporeted issue as the
whole UI should be ready when the new storage features
[branch](https://github.com/agama-project/agama/tree/storage-config-ui)
is merged

## Testing

- *Tested manually*
@teclator
Copy link
Contributor

teclator commented Dec 2, 2024

Should be fixed by #1793, thanks for the report!

@teclator teclator closed this as completed Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants