Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-10167

Zabbix 2.4.6 VHD appliance cannot reboot without manual selection

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Major Major
    • None
    • 2.4.6
    • Appliance (L)
    • Windows 2012 R2 with Hyper-V

      Chronology:

      • Download VHD appliance from Zabbix.org
      • Unzip and copy to the Cluster Shared Volume
      • Create a new VM 1024Mo RAM, 1 vCPU, 1 NIC, No CD, connect the VHD as IDE
      • Start the VM, get the Suse Logo.
      • I log in with the root user into the appliance then start yast2
      • Set up the Keyboard, the NIC, the NTP, and the DNS
        Seems good then open a web browser on a worstation and test the Zabbix portal. I can log in using the admin user account.
        All good.

      Then I restart the VM.
      I get the message:
      Waiting for device /dev/disk/by-id/scsi-14d....-part1 to appear:..... Could not find /dev/disk/by-id/scsi-14d....-part1
      Want me to fall back to /dev/disk/by-id/14d.....-part1? (Y/n)

      I tried to press Y or n but nothing appends.
      I then restart the VM, Select Advanced options for Zabbix_2.4_x86
      Then select the first line Zabbix_2.4_x86_64_13.1 [ VMX ], with Linu

      I got the same result.

      I then restart the VM, Select Advanced options for Zabbix_2.4_x86
      Then select the second line Zabbix_2.4_x86_64_13.1 [ VMX ], with Linu

      And it works again, I was able to login on the Zabbix portal (web site).

      If the Zabbix server is unable to boot alone, we are losing the entire Zabbix services until a manual intervention is done which could be long because some other critical apps are taking all the "recovery" time.

      In the image, the "by-id" is used but it is not the best choice because the device ID is changing each time the image is mount on another "hardware" (including virtual hardware).

      The resolution is:
      Login as root:

      fdisk -l
      
      Disk /dev/sda: 64.4 GB, 64425615360 bytes, 125831280 sectors
      Units = sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 512 bytes
      I/O size (minimum/optimal): 512 bytes / 512 bytes
      Disk label type: dos
      Disk identifier: 0x42d970e7
      
      Device Boot Start End Blocks Id System
      /dev/sda1 * 2048 125829119 62913536 83 Linux
      
      nano /etc/default/grub
      
      Change line 6 of /etc/default/grub
      GRUB_CMDLINE_LINUX_DEFAULT=" root=/dev/sd1 disk=/dev/sd1 resume=swap USE_BY_UUID_DEVICE_NAMES=1 quiet splash=silent"
      
      grub2-mkconfig -o /boot/grub2/grub.cfg
      

      Could you change this in the image to enhanced the friendliness?

            zabbix.dev Zabbix Development Team
            SwitchZabbix SwitchZabbix
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: