Hi,
I installed grizzly . I wanna to launch instance, but i get problem , in nova/nova-scheduler.log I get this log:
2013-05-28 14:53:23.716 ERROR nova.scheduler.filter_scheduler [req-ec80ec3e-948c-4c29-bd20-3d38fe506a2e f6e3916e12ab40efb5562c260f737168 e9ee41924fd44b34aba820d9e7e7ebf5] [instance: 17927393-5a46-4657-a1f0-b67631343994] Error from last host: c01 (node c01): [u'Traceback (most recent call last):\n', u' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 817, in _run_instance\n requested_networks, macs, security_groups)\n', u' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1061, in _allocate_network\n instance=instance)\n', u' File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__\n self.gen.next()\n', u' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1057, in _allocate_network\n security_groups=security_groups)\n', u' File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 46, in wrapper\n res = f(self, context, *args, **kwargs)\n', u' File "/usr/lib/python2.7/dist-packages/nova/network/quantumv2/api.py", line 232, in allocate_for_instance\n raise exception.SecurityGroupCannotBeApplied()\n', u'SecurityGroupCannotBeApplied: Network requires port_security_enabled and subnet associated in order to apply security groups.\n']
2013-05-28 14:53:23.729 WARNING nova.scheduler.driver [req-ec80ec3e-948c-4c29-bd20-3d38fe506a2e f6e3916e12ab40efb5562c260f737168 e9ee41924fd44b34aba820d9e7e7ebf5] [instance: 17927393-5a46-4657-a1f0-b67631343994] Setting instance to ERROR state.
I know the codee of security groups and verification is there:
https://github.com/openstack/nova/blob/master/nova/network/quantumv2/api.py
How i done security groups? I just added then on controlleer node (with cmd) using this command:
# Define security rules
nova secgroup-add-rule default icmp -1 -1 0.0.0.0/0
nova secgroup-add-rule default tcp 22 22 0.0.0.0/0
nova secgroup-add-rule default tcp 80 80 0.0.0.0/0
Why my instance dont wanna launch?? any suggestion?