Uploaded image for project: 'Percona Monitoring and Management'
  1. Percona Monitoring and Management
  2. PMM-6987

No IP address shown in log file of OVF appliance running in headless mode

Details

    • Bug
    • Status: Done
    • High
    • Resolution: Fixed
    • None
    • 2.13.0
    • None
    • Latest OVF build

    Description

      User Impact:

      Significant portions of the users, who run OVF on some Server without UI  (headless mode) will not be able to use OVF because they'll don't know IP address of PMM server based on our current instructions  

       

      PMM Server as a Virtual Appliance page contains a script that imports the PMM Server appliance and configures it to bridge the en0 adapter from the host. Then the script routes console output from the appliance to /tmp/pmm-server-console.log. This is done because the script then starts the appliance in headless (without the console) mode.

      Steps to reproduce:

      1. Import image
        VBoxManage import pmm-server-2.11.1.ova
      2. Modify NIC settings if needed
        VBoxManage list bridgedifs
        VBoxManage modifyvm 'PMM Server 2.11.1' --nic1 bridged --bridgeadapter1 'en0: Wi-Fi (AirPort)'
      3. Log console output into file
        VBoxManage modifyvm 'PMM Server 2.11.1' --uart1 0x3F8 4 --uartmode1 file /tmp/pmm-server-console.log
      4. Start instance
        VBoxManage startvm --type headless 'PMM Server 2.11.1'
      5. Wait for 1 minute and get IP address from the log
        sleep 60
        grep cloud-init /tmp/pmm-server-console.log

      Actual result:
      The 'pmm-server-console.log' doesn't contain IP adress.

      Expected result:
      The user can get the IP address from the log.

       

       

      Note: desired state  - current instructions work, no actions on the user side. If this is completely not possible or  significant impact - let's discuss changes we can do 

      Attachments

        Activity

          People

            paul.jacobs Paul Jacobs (Inactive)
            zoriana.stefanyshyn Zoriana Stefanyshyn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Smart Checklist