Recent content by William Edwards

  1. William Edwards

    Manually set Cloud-init `instance_id` doesn't work

    Well, life can be so simple sometimes. Can confirm my instance ID is in fact used, based on `/run/cloud-init/.instance-id`. I'll add to the tracker that this behaviour is not really intuitive. Thanks again!
  2. William Edwards

    Manually set Cloud-init `instance_id` doesn't work

    There's a known issue (https://bugzilla.proxmox.com/show_bug.cgi?id=1739) where "each time you update the cloud-init configuration, or manualy regenerate the image, the instance-id is changed." To ensure that `instance_id` never changes again unless we explicitly do so—the only 'foolproof'...
  3. William Edwards

    Migrating linked clones - does that go well?

    Got it. Just created a qcow2 image from scratch; can confirm that 'VM ID prefix' is always there, so not specific to my case. Thanks @bbgeek17!
  4. William Edwards

    Migrating linked clones - does that go well?

    Hi @bbgeek17, I was moreso referring to the VM ID as prefix (`105/`). ZFS to local is just for testing purposes. Real migration will be Ceph to Ceph. Regarding the linked-clone-ness: I'm completely fine with VM disks being converted to full clones. In fact, it has my preference; creating...
  5. William Edwards

    Migrating linked clones - does that go well?

    I'm migrating some VMs to different storage. Some of those VMs are linked clones, the parent of which would still be on the old storage. Should this go well? I tried this in a lab environment, and it looks like the linked clone is converted to a full clone (?), although the disk name format...
  6. William Edwards

    Cloud-init `instance_id` changes on migration to different hypervisor

    Relevant tracker: https://bugzilla.proxmox.com/show_bug.cgi?id=1739
  7. William Edwards

    Cloud-init `instance_id` changes on migration to different hypervisor

    Pretty sure I just found the deviation in `resolv.conf` that causes the hash to change. That was a very useful hint, thanks. What throws me off is that SSH host keys aren't re-generated every time this happens, while the `ssh` module runs with `once-per-instance` frequency. I'll think a bit...
  8. William Edwards

    Cloud-init `instance_id` changes on migration to different hypervisor

    Hi @bbgeek17, Thanks for your reply. Your comment on `/etc/resolv.conf` is actually a very good one - I found that five nodes in the cluster have a deviating one. To see if that's an issue, I migrated the VM - that I could reproduce the issue on consistently, with every migration - to a...
  9. William Edwards

    Cloud-init `instance_id` changes on migration to different hypervisor

    Hi, For some time now, we've been having an issue where Cloud-init re-runs on VMs that have already been operating for months or years. By 'run', I mean that first-boot-only stages run again, such as upgrading packages. This is obviously very problematic in production, as an 'innocent' reboot...
  10. William Edwards

    Sharing CephFS among VMs with a size limit

    https://docs.ceph.com/en/latest/cephfs/quota/
  11. William Edwards

    Sharing CephFS among VMs with a size limit

    Can you be more specific about the issues/doubts you're facing?
  12. William Edwards

    Prevent re-injection into Postfix

    Hi, We use postfwd2, which ratelimits stuff based on the amount of RCPTs. I noticed that postfwd2 counts messages twice, because each one has RCPTs: the original message, and the one relayed to pmg-smtp-filter and then re-injected (using `content_filter`). Here's someone else with a similar...
  13. William Edwards

    Correlate relayed mail after the fact

    Hi, This question is only slightly PMG-related. I am mostly looking for other users' input. I use PMG as a smarthost for several purposes, where email sent from a specific domain is sent by a specific system user. Using the mail tracking functionality, I can look up which email was sent from a...
  14. William Edwards

    Mail to internal port is being SPF-filtered

    Hi, From the admin guide and forums, I gather that email sent to the internal port should not be SPF-filtered. It makes no sense to do so for relayed mail, where PMG is a smarthost. However, this mail is being filtered: it's rejected because of the KAM_DMARC_REJECT SpamAssassin rule (6 points...
  15. William Edwards

    VM is not stopped after 'Shutdown timeout'

    I did not read the documentation correctly! Thank you.