Package: ganeti
Version: 2.16.0-5
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

Ganeti cluster running Deb9/ganeti-2.15 was upgraded to first
Deb10/ganeti-2.15 and then to Deb10/ganeti-2.16.
After upgrade, starting VMs gives an error message.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

# gnt-instance add --no-install -o debootstrap+default --no-ip-check 
--no-wait-for-sync -t drbd -B memory=1024,vcpus=1 -s 20G  testcrap.DOMAIN
Fri Mar 27 22:31:25 2020  - INFO: No-installation mode selected, disabling 
startup
Fri Mar 27 22:31:25 2020  - INFO: Selected nodes for instance testcrap.DOMAIN 
via iallocator hail: fxxx.DOMAIN, pxxx.DOMAIN
Fri Mar 27 22:31:26 2020 * creating instance disks...
Fri Mar 27 22:31:32 2020 adding instance testcrap.DOMAIN to cluster config
Fri Mar 27 22:31:32 2020 adding disks to cluster config
Fri Mar 27 22:31:32 2020 * checking mirrors status
Fri Mar 27 22:31:32 2020  - INFO: - device disk/0:  2.70% done, 37s remaining 
(estimated)
Fri Mar 27 22:31:32 2020 * checking mirrors status
Fri Mar 27 22:31:32 2020  - INFO: - device disk/0:  4.10% done, 23s remaining 
(estimated)
Fri Mar 27 22:31:33 2020 Could not update metadata for instance 
'testcrap.DOMAIN': Error while executing backend function: Failed to start 
metadata daemon
#

The problem seems to be wrong ownership of a log file:
-rw-r----- 1 root gnt-daemons 0 Mar  1 06:25 /var/log/ganeti/meta-daemon.log

This seems to fix it:
# gnt-cluster command chown gnt-metad /var/log/ganeti/meta-daemon.log

Another test:

# gnt-instance add --no-install -o debootstrap+default --no-ip-check 
--no-wait-for-sync -t drbd -B memory=1024,vcpus=1 -s 20G  testcrap.DOMAIN 
Fri Mar 27 22:40:08 2020  - INFO: No-installation mode selected, disabling 
startup
Fri Mar 27 22:40:26 2020  - INFO: Selected nodes for instance testcrap.DOMAIN 
via iallocator hail: fxxx.DOMAIN, pxxx.DOMAIN
Fri Mar 27 22:40:27 2020 * creating instance disks...
Fri Mar 27 22:40:33 2020 adding instance testcrap.DOMAIN to cluster config
Fri Mar 27 22:40:33 2020 adding disks to cluster config
Fri Mar 27 22:40:33 2020 * checking mirrors status
Fri Mar 27 22:40:33 2020  - INFO: - device disk/0:  2.40% done, 42s remaining 
(estimated)
Fri Mar 27 22:40:33 2020 * checking mirrors status
Fri Mar 27 22:40:33 2020  - INFO: - device disk/0:  3.50% done, 27s remaining 
(estimated)
#


Maybe make sure that the log file is owned by the right user after
upgrade, and/or at logrotate time..?

   * What was the outcome of this action?
At least error messages, not sure about malfunctions

   * What outcome did you expect instead?
No error messages

*** End of the template - remove these template lines ***


-- Package-specific info:
Version symlinks:
  /etc/ganeti/share -> /usr/share/ganeti/2.16
  /etc/ganeti/lib -> /usr/lib/ganeti/2.16
Cluster config version: 2.16.0
Address family: IPv4
Enabled hypervisors: kvm
kvm hypervisor parameters:
  acpi=True
  boot_order=disk
  cpu_cores=0
  cpu_mask=all
  cpu_sockets=0
  cpu_threads=0
  cpu_type=host
  disk_aio=threads
  disk_cache=default
  disk_discard=default
  disk_type=paravirtual
  kernel_args=ro
  keymap=sv
  kvm_extra=-device 
virtio-rng-pci,bus=pci.0,addr=0x1e,max-bytes=1024,period=1000
  kvm_path=/usr/bin/kvm
  kvm_pci_reservations=12
  migration_bandwidth=800
  migration_downtime=30
  migration_mode=live
  migration_port=8102
  nic_type=paravirtual
  reboot_behavior=reboot
  root_path=/dev/vda1
  scsi_controller_type=lsi
  security_model=none
  serial_console=True
  serial_speed=38400
  spice_ip_version=0
  spice_playback_compression=True
  spice_tls_ciphers=HIGH:-DES:-3DES:-EXPORT:-DH
  spice_use_tls=False
  spice_use_vdagent=True
  use_chroot=False
  use_guest_agent=False
  use_localtime=False
  user_shutdown=False
  vhost_net=True
  virtio_net_queues=1
  vnc_bind_address=127.0.0.1
  vnc_tls=False
  vnc_x509_verify=False
  vnet_hdr=True

-- System Information:
Debian Release: 10.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-8-amd64 (SMP w/24 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages ganeti depends on:
ii  adduser              3.118
ii  ganeti-2.16          2.16.0-5
ii  ganeti-haskell-2.16  2.16.0-5
ii  ganeti-htools-2.16   2.16.0-5
ii  lsb-base             10.2019051400
ii  python               2.7.16-1

Versions of packages ganeti recommends:
ii  drbd-utils                   9.5.0-1
ii  fdisk                        2.33.1-0.1
ii  ganeti-instance-debootstrap  0.16-6
ii  ndisc6                       1.0.4-1
ii  qemu-kvm                     1:3.1+dfsg-8+deb10u4

Versions of packages ganeti suggests:
pn  blktap-dkms  <none>
pn  ganeti-doc   <none>
pn  molly-guard  <none>

-- no debconf information

Reply via email to