Comment 3 for bug 430957

MANAGED and MANAGED_NOVLAN work fine with revno 894.

SYSTEM mode shows the following behavior now.

The NC keeps getting run instance over and over.

cc.log

[Fri Sep 25 20:18:30 2009][019078][EUCADEBUG ] RunInstances(): called
[Fri Sep 25 20:18:30 2009][019078][EUCADEBUG ] refresh_resources(): called
[Fri Sep 25 20:18:30 2009][018979][EUCAINFO ] node=eucabuild29 mem=3728/3728 disk=117249/117249 cores=2/2
[Fri Sep 25 20:18:30 2009][018979][EUCADEBUG ] refresh_resources(): done
[Fri Sep 25 20:18:30 2009][019078][EUCADEBUG ] calling http://eucabuild29:8775/axis2/services/EucalyptusNC
[Fri Sep 25 20:18:30 2009][018979][EUCAINFO ] running instance i-35E9072D with emiId emi-E750108E...
[Fri Sep 25 20:18:30 2009][018979][EUCAINFO ] assigning MAC/IP: d0:0d:35:E9:07:2D/0.0.0.0/0.0.0.0/-1
[Fri Sep 25 20:18:30 2009][019078][EUCADEBUG ] time left for next op: 60
[Fri Sep 25 20:18:30 2009][019078][EUCAINFO ] node=eucabuild29 mem=3728/3728 disk=117249/117249 cores=2/2
[Fri Sep 25 20:18:30 2009][019078][EUCADEBUG ] refresh_resources(): done
[Fri Sep 25 20:18:30 2009][019078][EUCAINFO ] running instance i-35E9072D with emiId emi-E750108E...
[Fri Sep 25 20:18:30 2009][018979][EUCAINFO ] scheduler using ROUNDROBIN policy to find next resource
[Fri Sep 25 20:18:30 2009][018979][EUCADEBUG ] scheduler state starting at resource 0
[Fri Sep 25 20:18:30 2009][018979][EUCADEBUG ] scheduler state finishing at resource 0
[Fri Sep 25 20:18:30 2009][018979][EUCAINFO ] scheduler decided to run instance 'i-35E9072D' on resource 'http://eucabuild29:8775/axis2/services/EucalyptusNC'
[Fri Sep 25 20:18:30 2009][019078][EUCAINFO ] assigning MAC/IP: d0:0d:35:E9:07:2D/0.0.0.0/0.0.0.0/-1
[Fri Sep 25 20:18:30 2009][019952][EUCAINFO ] client (http://eucabuild29:8775/axis2/services/EucalyptusNC) running instance: i-35E9072D emi-E750108E d0:0d:35:E9:07:2D d0:0d:35:E9:07:2D 10 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCdTMSCSb4VovoHjYjlm5QpmSHZi0WPe4HD5PGoN+jqPoLESJBNIM85g2DPQnEtxy3JIQk5iLpM6yqM+qsZKjnTRg9OIid2Ile/dI5nVjt6UgCcnz9KJSlzdKPhsGxsviRJS2gKJ1mkqZW3SKv1kAAyj5PQywwz5mTCfjd6BrhJhppHstFal0RQNwnpT2zgvvMtWpmgJkG3OOe2uZPQ74HOVGsrq+lcSJa5T6aWpSk8655QKCS0CYsAnMBOcBOhpfdAtv2GTiRgxtXaQgDFHfjI/GaguzesNtSyQWB5BAXlwWqYHJGpf5cYWvFyRiS1tOR0vpP4LM3JIq+vMoBwjlaD admin@eucalyptus
[Fri Sep 25 20:18:30 2009][019952][EUCAINFO ] asking for virtual hardware (mem/disk/cores): 128/2/1
[Fri Sep 25 20:18:30 2009][018979][EUCADEBUG ] time left for op: 60
[Fri Sep 25 20:18:30 2009][018979][EUCAINFO ] call complete (pid/rc): 19952/0
[Fri Sep 25 20:18:30 2009][018979][EUCADEBUG ] RunInstances(): done
[Fri Sep 25 20:18:30 2009][019078][EUCAINFO ] scheduler using ROUNDROBIN policy to find next resource
[Fri Sep 25 20:18:30 2009][019078][EUCADEBUG ] scheduler state starting at resource 0
[Fri Sep 25 20:18:30 2009][019078][EUCADEBUG ] scheduler state finishing at resource 0
[Fri Sep 25 20:18:30 2009][019078][EUCAINFO ] scheduler decided to run instance 'i-35E9072D' on resource 'http://eucabuild29:8775/axis2/services/EucalyptusNC'
[Fri Sep 25 20:18:30 2009][019953][EUCAINFO ] client (http://eucabuild29:8775/axis2/services/EucalyptusNC) running instance: i-35E9072D emi-E750108E d0:0d:35:E9:07:2D d0:0d:35:E9:07:2D 10 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCdTMSCSb4VovoHjYjlm5QpmSHZi0WPe4HD5PGoN+jqPoLESJBNIM85g2DPQnEtxy3JIQk5iLpM6yqM+qsZKjnTRg9OIid2Ile/dI5nVjt6UgCcnz9KJSlzdKPhsGxsviRJS2gKJ1mkqZW3SKv1kAAyj5PQywwz5mTCfjd6BrhJhppHstFal0RQNwnpT2zgvvMtWpmgJkG3OOe2uZPQ74HOVGsrq+lcSJa5T6aWpSk8655QKCS0CYsAnMBOcBOhpfdAtv2GTiRgxtXaQgDFHfjI/GaguzesNtSyQWB5BAXlwWqYHJGpf5cYWvFyRiS1tOR0vpP4LM3JIq+vMoBwjlaD admin@eucalyptus
[Fri Sep 25 20:18:30 2009][019953][EUCAINFO ] asking for virtual hardware (mem/disk/cores): 128/2/1
[Fri Sep 25 20:18:30 2009][019078][EUCADEBUG ] time left for op: 60
[Fri Sep 25 20:18:30 2009][019078][EUCAINFO ] call complete (pid/rc): 19953/0
[Fri Sep 25 20:18:30 2009][019078][EUCADEBUG ] RunInstances(): done
[Fri Sep 25 20:18:30 2009][019952][EUCAERROR ] ERROR: RunInstance returned an error
[Fri Sep 25 20:18:30 2009][019952][EUCAERROR ] ERROR: RunInstance returned an error
[Fri Sep 25 20:18:30 2009][019952][EUCAERROR ] ERROR: RunInstance returned an error
[Fri Sep 25 20:18:30 2009][019952][EUCAERROR ] ERROR: RunInstance returned an error
[Fri Sep 25 20:18:30 2009][019952][EUCAERROR ] ERROR: RunInstance returned an error
[Fri Sep 25 20:18:30 2009][019952][EUCAERROR ] ERROR: RunInstance returned an error
[Fri Sep 25 20:18:31 2009][019952][EUCAERROR ] ERROR: RunInstance returned an error
[Fri Sep 25 20:18:31 2009][019952][EUCAERROR ] ERROR: RunInstance returned an error
[Fri Sep 25 20:18:31 2009][019952][EUCAERROR ] ERROR: RunInstance returned an error
[Fri Sep 25 20:18:31 2009][019952][EUCAERROR ] ERROR: RunInstance returned an error

nc.log
[Fri Sep 25 20:20:14 2009][013076][EUCAFATAL ] Error: instance i-35E9072D already running
[Fri Sep 25 20:20:14 2009][013076][EUCAERROR ] ERROR: doRunInstance() failed error=1
[Fri Sep 25 20:20:14 2009][013076][EUCADEBUG ] doStartNetwork() invoked
[Fri Sep 25 20:20:14 2009][013076][EUCAINFO ] StartNetwork(): SUCCESS return from vnetStartNetwork 0
[Fri Sep 25 20:20:14 2009][013076][EUCAINFO ] StartNetwork(): done
[Fri Sep 25 20:20:14 2009][013076][EUCAINFO ] doRunInstance() invoked (id=i-35E9072D cores=1 disk=2 memory=128)
[Fri Sep 25 20:20:14 2009][013076][EUCAINFO ] image=emi-E750108E at http://192.168.7.96:8773/services/Walrus/image/ubuntu.9-04.x86-64.img.manifest.xml
[Fri Sep 25 20:20:14 2009][013076][EUCAINFO ] krnel=eki-45871260 at http://192.168.7.96:8773/services/Walrus/kernel/vmlinuz-2.6.28-11-generic.manifest.xml
[Fri Sep 25 20:20:14 2009][013076][EUCAINFO ] rmdsk=eri-97D013AB at http://192.168.7.96:8773/services/Walrus/ramdisk/initrd.img-2.6.28-11-generic.manifest.xml
[Fri Sep 25 20:20:14 2009][013076][EUCAINFO ] vlan=10 priMAC=d0:0d:35:E9:07:2D pubMAC=d0:0d:35:E9:07:2D