all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: "Thomas Ellmenreich" <t.ellmenreich@proxmox.com>
To: "Christoph Heiss" <c.heiss@proxmox.com>, <pdm-devel@lists.proxmox.com>
Subject: Re: [PATCH datacenter-manager/installer/proxmox v2 00/16] auto-installer: add installed target systems as new remotes
Date: Thu, 10 Sep 2026 15:53:14 +0200	[thread overview]
Message-ID: <DLBOQ63Y22WS.2CQJQ6ZWFSI56@proxmox.com> (raw)
In-Reply-To: <20260826110504.1339934-1-c.heiss@proxmox.com>

After struggling a little bit to get the repositories to build and an ISO
patched, the automatic installing worked perfectly.

I created a new "Prepared Answer" on my PDM instance and then pasted the
correct URL, fingerprint, ... to the ISO. Having ticked the "Provision As
New Remote" checkbox in the Authentication tab, after successful installation,
the machine was added to PDM as a remote.

Aside from having the patches applied to the installer and PDM, I have also
tried the following combinations:
  * only patching the installer
  * only patching PDM and ticking the checkbox in the answer sheet
  * as a baseline, I also tested the auto installer without patches
  * since PBS is also supported, I also tested that

All of the cases mentioned above worked well, although there are two small
things that I noticed. Since my knowledge in this domain is limited, I'm not
100% sure if this is the correct place to mention them, but I will do so
anyway:

1. Faulty Datacenter Manager URL

During my first autoinstall, I had the URL to the PDM instance set with a
incorrect domain name, which led to this error during the installation:

    > ...
    > Unmounting "/target/dev"
    > Unmounting "/target/proc"
    > Unmounting "/target/run"
    > Unmounting "/target/sys"
    > Chroot cleanup done. You can now reboot or leave the shell.
    >
    > Error occurred during post-installation-webhook:
    > io: falied to look up address information: Name or service not known
    > Post-installation hook failed (exit-code 0) - see above for errors.
    >
    > Installation aborted - unable to continue (type exit or CTRL-D to reboot)


Reading these last lines, I was not sure if the installation had succeeded or
not. A restart did confirm that everything was alright and that the
installation did succeed.

Maybe the logs can be reworked to not send such mixed signals.

2. Installation Status in PDM

During one of the initial installations, I had misconfigured the network
device filters and thus the installation failed. Opening the PDM webui and
going under "Automated Installations", these failed attempts still retain the
"In Progress" status.

I don't think this is a problem, but just a thing I noticed. I'm also aware
that adding a "Failed" state, as well as the machinery to set such a state on
error, could be a bigger change, and thus better suited to a separate series.

---

That said, both of these are not blockers, so consider this:

Reviewed-by: Thomas Ellmenreich <t.ellmenreich@proxmox.com>
Tested-by: Thomas Ellmenreich <t.ellmenreich@proxmox.com>




      parent reply	other threads:[~2026-09-10 13:53 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-26 11:04 [PATCH datacenter-manager/installer/proxmox v2 00/16] auto-installer: add installed target systems as new remotes Christoph Heiss
2026-08-26 11:04 ` [PATCH proxmox v2 01/16] installer-types: drop unnecessary clippy attribute Christoph Heiss
2026-08-26 11:04 ` [PATCH proxmox v2 02/16] installer-types: post-hook: factor schema version into proper struct Christoph Heiss
2026-08-26 11:04 ` [PATCH proxmox v2 03/16] installer-types: post-hook: allow additional properties on api schema Christoph Heiss
2026-08-26 11:04 ` [PATCH proxmox v2 04/16] installer-types: post-hook: add api-token and cert-fingerprint options Christoph Heiss
2026-08-26 11:04 ` [PATCH proxmox v2 05/16] installer-types: systeminfo: add check for API token creation capability Christoph Heiss
2026-08-26 11:04 ` [PATCH installer v2 06/16] chroot: print full error if bind-mounting fails Christoph Heiss
2026-08-26 11:04 ` [PATCH installer v2 07/16] post-hook: re-use low-level config retrieval from proxmox-chroot Christoph Heiss
2026-08-26 11:04 ` [PATCH installer v2 08/16] post-hook: generate and retrieve node certificate fingerprint Christoph Heiss
2026-08-26 11:04 ` [PATCH installer v2 09/16] post-hook: support creating API token if requested in answer file Christoph Heiss
2026-09-10 13:42   ` Thomas Ellmenreich
2026-08-26 11:04 ` [PATCH installer v2 10/16] auto: enforce https for post hook when generating an API token Christoph Heiss
2026-08-26 11:04 ` [PATCH installer v2 11/16] assistant: validate-answer: also verify post-hook settings if set Christoph Heiss
2026-08-26 11:04 ` [PATCH datacenter-manager v2 12/16] ui: auto-installer: spell out Proxmox Datacenter Manager Christoph Heiss
2026-08-26 11:04 ` [PATCH datacenter-manager v2 13/16] config: auto-install: add optional `post-hook-add-as-remote` field Christoph Heiss
2026-08-26 11:04 ` [PATCH datacenter-manager v2 14/16] api: auto-installer: add option for adding new remotes to PDM Christoph Heiss
2026-08-26 11:04 ` [PATCH datacenter-manager v2 15/16] ui: auto-installer: wizard: add checkbox to add target as new remote Christoph Heiss
2026-08-26 11:04 ` [PATCH datacenter-manager v2 16/16] docs: auto-installer: document adding targets as remotes afterwards Christoph Heiss
2026-08-28 11:47 ` [PATCH datacenter-manager/installer/proxmox v2 00/16] auto-installer: add installed target systems as new remotes Christoph Heiss
2026-09-10 13:53 ` Thomas Ellmenreich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DLBOQ63Y22WS.2CQJQ6ZWFSI56@proxmox.com \
    --to=t.ellmenreich@proxmox.com \
    --cc=c.heiss@proxmox.com \
    --cc=pdm-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal