Guest User!

You are not Sophos Staff.

[8.164][BUG][FIXED] ASG inaccessible after importing config from 8.102

I had included my self in a previous thread reporting this problem but evidently the source of my problem is different because although the original posters problem was quickly identified and subsequently fixed in a following release, the problem still exists for me.

Please forgive me for copying and pasting the following but nothing has changed.
I too am experiencing this issue.

My ASG (both production 8.102 and beta 8.161) are on an ESXi 4.1.0 box. The upgrade protocol I use is as follows.

1) On the production router I disable all but the LAN/management interface and then create and export the configuration backup. I do this so only one interface will be active after I import the config. This makes more sense after step 3.

2) When creating the new virtual machine I create it with a number of interface cards equal to or greater than the number used in the machine I have exported the current configuration from. In this case both have 4 network adapters.

3) I place all of the network adapters for the new VM on the a single virtual switch with a single physical port connected, no other VMs or devices are on this switch except for my laptop which is plugged directly into the physical port. Since the setup wizard only activates the internal interface and the config I import has only one active interface, there are no conflicts or cross talk between ASG interfaces. I can then compare/match up MACs to ensure I place the correct virtual NICs on the appropriate virtual switches before activating the interfaces in the ASG Web Admin.

4) This is where the problem starts. I have tried:

  • Importing the configuration file during the initial setup wizard/guide (not sure of the proper name)
  • I have tried completing the initial setup, turning on only the DHCP service, and then importing and restoring the config from the management►Backup/Restore menu.


In both cases the web admin becomes inaccessible. Even after initiating a soft-reboot using the ESXi vSphere client, the web interface will not load and I can not ping the ASG (pinging is permitted by my imported config) and the DHCP service does not issue configurations.

Spoof protection is not enabled on the beta installation prior to import and it is not enabled in the config I am importing.

Just did a fresh install with 162, same problem.
 The exact same behavior is still happening with 8.164. Let me know what additional information you would find helpful. Please note that I am not proficient in Linux CLI. I'm a smart guy so I'll endeavor to figure out what you ask of me.
  • Astaro Beta Report
    
    --------------------------------
    Version: 8.164
    Type: BUG
    State: TESTED/FIXED
    Reporter: Soong++
    Contributor: 
    MantisID: 17874
    Target version: 8.165
    Fixed in version: 8.165
    --------------------------------
  • Hi Soong,

    ... the source of my problem is different ...


    We had a different Problem with importing V7 configs into earlier V8.2 betas, but the relevant change should already be in V8.164.


    As far as i understand from your post, the installation succeeds, and the problems are starting after you restore the config. So, what we can do is that you enable shell access (Management>System Settings>Shell Access, remember that you need to set the "Shell user password" for the user "root" too. ) on the ASG - and log in into the machine through the vSphere console (and not via SSH) before you restore the configuration. 

    When logged in, head over to the logfiles directory (just "[FONT="Courier New"]cd /var/log[/FONT]"), and take a look at the confd.log and the mdw.log. You can use the "less" command for this (just enter "less confd.log"). Scroll up until you find something that looks like an error message and make sure that it happened during the backup-restore. Use the timestamps as a hint. To leave less, type "q".

    Please make sure you:

    • set up the correct time on the ASG, otherwise the timestamps in the logs will be bogus
    • wait some time before you restore the backup to ensure that you don't look at messages that came up during the initial setup (before you restored the config).


    Cheers,
    Kai
  • I did as you asked. Unfortunately I don't see any one thing that looks like an error. After importing the configuration, everything in the logs looks like an error.

    Most every line in the confd.log talks about resetting and then deleting things:



    The mdw.log also gets repetitive after the import:


    Is this what you are looking for?
  • Thanks Soong,
    Is this what you are looking for?


    yes, the mdw.log screenshot shows up the problem nicely.

    Cheers,
    Kai
  • For what it's worth, I can confirm this has been resolved in 8.165.

    Thank you![:D]