Installation of Oracle Linux

Bug #1908547 reported by Stefan Miktov Ivanov
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
MAAS
Invalid
Medium
Unassigned
curtin
New
Undecided
Unassigned

Bug Description

Hi Team,

seems Oracle Linux is not support by default from MAAS can some take a look on this.

Last lines from failed deployment:

finish: cmd-install/stage-extract/builtin/cmd-extract: SUCCESS: acquiring and extracting image from http://10.202.2.106:5248/images/custom/amd64/generic/oracle-linux-8/uploaded/root-tgz
Applying write_files from config.
finish: cmd-install/stage-extract/builtin/cmd-extract: SUCCESS: curtin command extract
start: cmd-install/stage-curthooks/builtin/cmd-curthooks: curtin command curthooks
Running curtin builtin curthooks
finish: cmd-install/stage-curthooks/builtin/cmd-curthooks: FAIL: curtin command curthooks
Traceback (most recent call last):
  File "/curtin/curtin/commands/main.py", line 202, in main
    ret = args.func(args)
  File "/curtin/curtin/commands/curthooks.py", line 1884, in curthooks
    builtin_curthooks(cfg, target, state)
  File "/curtin/curtin/commands/curthooks.py", line 1679, in builtin_curthooks
    distro_info = distro.get_distroinfo(target=target)
  File "/curtin/curtin/distro.py", line 118, in get_distroinfo
    variant = name_to_distro(variant_name)
  File "/curtin/curtin/distro.py", line 57, in name_to_distro
    return DISTROS[DISTROS.index(distname)]
ValueError: tuple.index(x): x not in tuple
tuple.index(x): x not in tuple
curtin: Installation failed with exception: Unexpected error while running command.
Command: ['curtin', 'curthooks']
Exit code: 3
Reason: -
Stdout: start: cmd-install/stage-curthooks/builtin/cmd-curthooks: curtin command curthooks
        Running curtin builtin curthooks
        finish: cmd-install/stage-curthooks/builtin/cmd-curthooks: FAIL: curtin command curthooks
        Traceback (most recent call last):
          File "/curtin/curtin/commands/main.py", line 202, in main
            ret = args.func(args)
          File "/curtin/curtin/commands/curthooks.py", line 1884, in curthooks
            builtin_curthooks(cfg, target, state)
          File "/curtin/curtin/commands/curthooks.py", line 1679, in builtin_curthooks
            distro_info = distro.get_distroinfo(target=target)
          File "/curtin/curtin/distro.py", line 118, in get_distroinfo
            variant = name_to_distro(variant_name)
          File "/curtin/curtin/distro.py", line 57, in name_to_distro
            return DISTROS[DISTROS.index(distname)]
        ValueError: tuple.index(x): x not in tuple
        tuple.index(x): x not in tuple

Stderr: ''

Attached curtin logs thanks in advance.

BR,
Stefan

Revision history for this message
Stefan Miktov Ivanov (tension183) wrote :
Revision history for this message
Lee Trager (ltrager) wrote :

Oracle Linux is nearly identical to RHEL. I don't think there is anything MAAS needs to support Oracle. I suspect all that is needed is Curtin adding an alias to Redhat.

Changed in maas:
milestone: none → 2.9.x
Revision history for this message
Stefan Miktov Ivanov (tension183) wrote :

Hi Lee,

Thanks again for your support but what i need to do?Open a bug in curtin launchpad space?

BR,
Stefan

Revision history for this message
Lee Trager (ltrager) wrote :

@Stefan, LaunchPad allows us to assign a bug to multiple projects. My comment was just so the Curtin team knows why I have it assigned to both MAAS and Curtin.

One thing I forgot is while Curtin needs to add support we should add an OS driver in MAAS as well.

Changed in maas:
milestone: 2.9.2 → 2.9.x
Alberto Donato (ack)
Changed in maas:
status: New → Triaged
importance: Undecided → Medium
milestone: 2.9.x → none
Revision history for this message
Francesco Santagata (phrancesco) wrote :

Hi everybody,

I think it's absolutely the same scenario for Rocky Linux.

Doing the Job for Oracle could be quite the same for both OS.

Can't wait for extra OS support!

BR
Francesco

Revision history for this message
Jerzy Husakowski (jhusakowski) wrote :

Adding support for Oracle Linux is a new feature rather than a bug fix, as adding new distros often requires a small modification to Curtin and creation of a Packer template. We will close this issue and move the request to our internal product feedback backlog.

Changed in maas:
status: Triaged → Invalid
Revision history for this message
Thiago Martins (martinx) wrote :

It would be really nice to have this!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.