Hi,
I've just done again the test with or without the hda attached to the ASA :)
Without, it seems like a flash file of 256M is created somewhere (I couldn't figure out where), it saves the files and even the startup-config, but it has a flag error which makes it impossible to be called. Here is the error message I have before the prompt, I've tested a lot of solutions found on the net for GNS 3 0.8.X but failed to succeed:
Code:
ERROR: Flash datafile is corrupt.
Found magic number 0x0, but expected to find 0x1234567a.
Ignoring the rest of the file
Reading from flash...
With a FLASH file attached in hda, it saves the files, but can't be called on startup. In that case before the prompt I have this message:
Code:
config_fetcher: channel open failed
ERROR: MIGRATION - Could not get the startup configuration.
COREDUMP UPDATE: open message queue fail: No such file or directory/2
I'm a newbie, so not sure that I do things the right way and understand properly who it works.
I've created a FLASH file and attached it in the hda because in the boot section the ASA calls a hda disk to create the hda 1 partition, which is used by the disk0 to store the files. However, I agree with you, in the 0.8.7 it can work fine without (even if I found many tutorials using a FLASH file too). I've no clue what is the difference, I'll look more on how is it possible to fix this issue.
For information, when you attach a FLASH file to the hda disk in the
QEMU VMs configuration, and then manually modify the configuration of the ASA in its configuration you have the following error :
Code:
=> Server error [-3200] from 192.168.56.1:8000: ASA8421: request validation error: '' is too short
Failed validating 'minLength' in schema['properties']['hda_disk_image']:
{'description': 'QEMU hda disk image path',
'minLength': 1,
'type': 'string'}
On instance['hda_disk_image']:
That is why I've done the assumption it needs a file configured to the hda. But that's only
my guess :)
To create the FLASH file I used this command :
Code:
qemu-img.exe create C:/FLASH 256M
The file is then under C:/, you could enter the correct PATH for you, this is only a simple example.
To tfontane,
I've done a test with two ASA. I managed to make it work in two ways.
1) I added two ASA directly to the topology, but didn't use the
-vnc :2 none command.
With the command I had a
Network connection refused error message for the second ASA, without it worked fine.
Be careful not to point to the same FLASH file however, it needs different files that you have to change manually before starting the ASA.
I found this solution better if you don't attach hda FLASH files.
2) I created two ASA configuration under the
QEMU VMs panel, and used one of each on the topology.
I found this solution better if you're using FLAH files attached to hda because you don't have to modify manually the ASA configuration each time.
I hope this can help you, I'm sure that guys more competent than me will be able to give us their views and probably will correct me :)
B.R.