Local mirror image url always keeps ubuntu image in queued state

Installed canonical maas in Ubuntu 24.04 LTS

any update on this? Please let me know

From the logs I suspect there is a misconfiguration in your MAAS setup. Do you have a single region+rack setup? How did you install and setup MAAS? Any special network config?

I have installed maas in a vm which does not have internet connect.
Downloaded core22,maas and snapd assert and snap files and installed them.
Application is up and running, only issue I am facing that is unable to synced ubuntu image in Images page.
For that I have created local mirror image from images.maas.io and it’s reachable properly by local uri and it’s configured by following the local mirror image configuration link.

Let me know if any configuration I am missing from my side to sync the ubuntu OS from local mirror.

on the VM where you are running MAAS could you please run

lsb_release -a

and

snap info maas

and

sudo cat /var/snap/maas/current/regiond.conf

and

sudo cat /var/snap/maas/current/agent.yaml

and paste all the outputs here?

Please find the below details,

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04.1 LTS
Release: 24.04
Codename: noble

snap info maas
name: maas
summary: Metal as a Service
publisher: Canonical**
license: unset
description: |
Total automation of your physical servers for amazing data center operational efficiency.
commands:

  • maas
  • maas.power
    services:
    maas.pebble: simple, enabled, active
    snap-id: shY22YTZ3RhJJDOj0MfmShTNZTEb1Jiq
    refresh-date: yesterday at 11:19 EST
    installed: 3.5.2-16329-g.a0861379f (37259) 196MB -

sudo cat /var/snap/maas/current/regiond.conf
database_host: bitnamipostgres-postgresql-ha-postgresql
database_name: maasdb
database_pass: maaspass
database_port: 5432
database_user: maas
maas_url: http://172.25.92.166:5240/MAAS

sudo cat /var/snap/maas/current/agent.yaml

WARNING: MAAS will overwrite any changes made here.

controllers:

  • 172.25.92.166
    httpproxy:
    cache_dir: /var/snap/maas/common/maas/cache/httpproxy
    cache_size: 3746942976.0
    log_level: info
    maas_uuid: e2cf86d5-bcac-4a26-a5dd-11f22033043e
    secret: 46a525c9040731b21d61893d2f9d2338
    system_id: q4tnrp

Please make sure the database maasdb is actually owned by the “maas” user. If it still does not work, I’d suggest to take a step back and try with a non-ha postgres (maybe even installed on the same vm) to see if it’s your db the problem

As per docs, I have created database maasdb which is owned by maas user only.
I have tried in both external postgresql database and internal postgresql database, but unable to solve this sync issue in no internet setup of canonical -maas environment.

Can you try setting the IP instead? You can simply edit the regiond.conf and restart MAAS to apply the change

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.