I have added the following to all three associations: "DependsOn" : "router", "DependsOn" : "router_interface_private", "DependsOn" : "router_gateway_external", I have added the second and third because I noticed that it created the router, but it did not connect it to both networks before creating an association and it failed again. With the above three lines added it seems to be working most of the time, but not always. Event list working: saso@devstack-new-virt:~/diploma$ heat event-list DNS5 +-----------------------------+-----+------------------------+-----------------+----------------------+ | logical_resource_id | id | resource_status_reason | resource_status | event_time | +-----------------------------+-----+------------------------+-----------------+----------------------+ | MinimalSecurityGroup | 369 | state changed | IN_PROGRESS | 2013-05-06T03:22:10Z | | MinimalSecurityGroup | 370 | state changed | CREATE_COMPLETE | 2013-05-06T03:22:12Z | | floating_ip_DNSserver | 371 | state changed | IN_PROGRESS | 2013-05-06T03:22:13Z | | floating_ip_Client1 | 373 | state changed | IN_PROGRESS | 2013-05-06T03:22:14Z | | floating_ip_DNSserver | 372 | state changed | CREATE_COMPLETE | 2013-05-06T03:22:14Z | | floating_ip_Client1 | 374 | state changed | CREATE_COMPLETE | 2013-05-06T03:22:15Z | | network | 375 | state changed | IN_PROGRESS | 2013-05-06T03:22:15Z | | Client2Port | 379 | state changed | IN_PROGRESS | 2013-05-06T03:22:16Z | | network | 376 | state changed | CREATE_COMPLETE | 2013-05-06T03:22:16Z | | subnet | 377 | state changed | IN_PROGRESS | 2013-05-06T03:22:16Z | | subnet | 378 | state changed | CREATE_COMPLETE | 2013-05-06T03:22:16Z | | Client2Port | 380 | state changed | CREATE_COMPLETE | 2013-05-06T03:22:18Z | | Client2 | 381 | state changed | IN_PROGRESS | 2013-05-06T03:22:19Z | | Client1Port | 383 | state changed | IN_PROGRESS | 2013-05-06T03:22:37Z | | Client2 | 382 | state changed | CREATE_COMPLETE | 2013-05-06T03:22:37Z | | Client1Port | 384 | state changed | CREATE_COMPLETE | 2013-05-06T03:22:38Z | | router | 385 | state changed | IN_PROGRESS | 2013-05-06T03:22:38Z | | router | 386 | state changed | CREATE_COMPLETE | 2013-05-06T03:22:39Z | | router_gateway_external | 387 | state changed | IN_PROGRESS | 2013-05-06T03:22:39Z | | DNSServerPort | 391 | state changed | IN_PROGRESS | 2013-05-06T03:22:40Z | | router_gateway_external | 388 | state changed | CREATE_COMPLETE | 2013-05-06T03:22:40Z | | router_interface_private | 389 | state changed | IN_PROGRESS | 2013-05-06T03:22:40Z | | router_interface_private | 390 | state changed | CREATE_COMPLETE | 2013-05-06T03:22:40Z | | DNSServerPort | 392 | state changed | CREATE_COMPLETE | 2013-05-06T03:22:42Z | | floating_ip_assoc_DNSserver | 393 | state changed | IN_PROGRESS | 2013-05-06T03:22:42Z | | floating_ip_Client2 | 395 | state changed | IN_PROGRESS | 2013-05-06T03:22:44Z | | floating_ip_Client2 | 396 | state changed | CREATE_COMPLETE | 2013-05-06T03:22:44Z | | floating_ip_assoc_DNSserver | 394 | state changed | CREATE_COMPLETE | 2013-05-06T03:22:44Z | | floating_ip_assoc_Client1 | 399 | state changed | IN_PROGRESS | 2013-05-06T03:22:45Z | | floating_ip_assoc_Client2 | 397 | state changed | IN_PROGRESS | 2013-05-06T03:22:45Z | | floating_ip_assoc_Client2 | 398 | state changed | CREATE_COMPLETE | 2013-05-06T03:22:45Z | | DNSServerSecurityGroup | 401 | state changed | IN_PROGRESS | 2013-05-06T03:22:46Z | | floating_ip_assoc_Client1 | 400 | state changed | CREATE_COMPLETE | 2013-05-06T03:22:46Z | | DNSServer | 403 | state changed | IN_PROGRESS | 2013-05-06T03:22:51Z | | DNSServerSecurityGroup | 402 | state changed | CREATE_COMPLETE | 2013-05-06T03:22:51Z | | Client1 | 405 | state changed | IN_PROGRESS | 2013-05-06T03:23:10Z | | DNSServer | 404 | state changed | CREATE_COMPLETE | 2013-05-06T03:23:10Z | | Client1 | 406 | state changed | CREATE_COMPLETE | 2013-05-06T03:23:33Z | +-----------------------------+-----+------------------------+-----------------+----------------------+ saso@devstack-new-virt:~/diploma$ Not working: saso@devstack-new-virt:~/diploma$ heat event-list DNS5 +-----------------------------+-----+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------+----------------------+ | logical_resource_id | id | resource_status_reason | resource_status | event_time | +-----------------------------+-----+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------+----------------------+ | floating_ip_Client2 | 529 | state changed | IN_PROGRESS | 2013-05-06T03:40:00Z | | floating_ip_Client2 | 530 | state changed | CREATE_COMPLETE | 2013-05-06T03:40:01Z | | floating_ip_DNSserver | 531 | state changed | IN_PROGRESS | 2013-05-06T03:40:02Z | | floating_ip_DNSserver | 532 | state changed | CREATE_COMPLETE | 2013-05-06T03:40:03Z | | router | 533 | state changed | IN_PROGRESS | 2013-05-06T03:40:03Z | | router | 534 | state changed | CREATE_COMPLETE | 2013-05-06T03:40:03Z | | router_gateway_external | 535 | state changed | IN_PROGRESS | 2013-05-06T03:40:03Z | | DNSServerSecurityGroup | 537 | state changed | IN_PROGRESS | 2013-05-06T03:40:04Z | | router_gateway_external | 536 | state changed | CREATE_COMPLETE | 2013-05-06T03:40:04Z | | DNSServerSecurityGroup | 538 | state changed | CREATE_COMPLETE | 2013-05-06T03:40:07Z | | MinimalSecurityGroup | 539 | state changed | IN_PROGRESS | 2013-05-06T03:40:07Z | | MinimalSecurityGroup | 540 | state changed | CREATE_COMPLETE | 2013-05-06T03:40:11Z | | network | 541 | state changed | IN_PROGRESS | 2013-05-06T03:40:12Z | | network | 542 | state changed | CREATE_COMPLETE | 2013-05-06T03:40:12Z | | subnet | 543 | state changed | IN_PROGRESS | 2013-05-06T03:40:12Z | | subnet | 544 | state changed | CREATE_COMPLETE | 2013-05-06T03:40:13Z | | Client2Port | 545 | state changed | IN_PROGRESS | 2013-05-06T03:40:14Z | | Client2Port | 546 | state changed | CREATE_COMPLETE | 2013-05-06T03:40:15Z | | DNSServerPort | 547 | state changed | IN_PROGRESS | 2013-05-06T03:40:15Z | | DNSServerPort | 548 | state changed | CREATE_COMPLETE | 2013-05-06T03:40:16Z | | floating_ip_assoc_Client2 | 551 | Stack creation aborted | CREATE_FAILED | 2013-05-06T03:40:16Z | | floating_ip_assoc_DNSserver | 549 | state changed | IN_PROGRESS | 2013-05-06T03:40:16Z | | floating_ip_assoc_DNSserver | 550 | QuantumClientException: External network 97459abb-4dc6-428a-8639-ebe1b4bd7cbb is not reachable from subnet 38c496c7-bdcd-46ec-a686-df2ac22d005e. Therefore, cannot associate Port cdb5db2b-f4c4-4e68-9746-98eaa7ed18fa with a Floating IP. | CREATE_FAILED | 2013-05-06T03:40:16Z | | Client1 | 555 | Stack creation aborted | CREATE_FAILED | 2013-05-06T03:40:17Z | | Client1Port | 554 | Stack creation aborted | CREATE_FAILED | 2013-05-06T03:40:17Z | | Client2 | 553 | Stack creation aborted | CREATE_FAILED | 2013-05-06T03:40:17Z | | DNSServer | 556 | Stack creation aborted | CREATE_FAILED | 2013-05-06T03:40:17Z | | floating_ip_Client1 | 557 | Stack creation aborted | CREATE_FAILED | 2013-05-06T03:40:17Z | | floating_ip_assoc_Client1 | 558 | Stack creation aborted | CREATE_FAILED | 2013-05-06T03:40:17Z | | router_interface_private | 552 | Stack creation aborted | CREATE_FAILED | 2013-05-06T03:40:17Z | +-----------------------------+-----+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------+----------------------+ saso@devstack-new-virt:~/diploma$ Here in the not working case it seems it tried to create floating point associations before it created router interface on the local network, even though it has a line to depend on the router_interface_private. Stack delete also seems to fail sometimes, as in the case below: saso@devstack-new-virt:~/diploma$ heat event-list DNS7 +-----------------------------+-----+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------+----------------------+ | logical_resource_id | id | resource_status_reason | resource_status | event_time | +-----------------------------+-----+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------+----------------------+ | floating_ip_Client1 | 746 | state changed | IN_PROGRESS | 2013-05-06T03:59:41Z | | floating_ip_Client1 | 747 | state changed | CREATE_COMPLETE | 2013-05-06T03:59:42Z | | DNSServerSecurityGroup | 748 | state changed | IN_PROGRESS | 2013-05-06T03:59:43Z | | DNSServerSecurityGroup | 749 | state changed | CREATE_COMPLETE | 2013-05-06T03:59:46Z | | MinimalSecurityGroup | 750 | state changed | IN_PROGRESS | 2013-05-06T03:59:46Z | | MinimalSecurityGroup | 751 | state changed | CREATE_COMPLETE | 2013-05-06T03:59:48Z | | floating_ip_Client2 | 752 | state changed | IN_PROGRESS | 2013-05-06T03:59:48Z | | floating_ip_Client2 | 753 | state changed | CREATE_COMPLETE | 2013-05-06T03:59:49Z | | floating_ip_DNSserver | 754 | state changed | IN_PROGRESS | 2013-05-06T03:59:49Z | | floating_ip_DNSserver | 755 | state changed | CREATE_COMPLETE | 2013-05-06T03:59:51Z | | router | 756 | state changed | IN_PROGRESS | 2013-05-06T03:59:52Z | | router | 757 | state changed | CREATE_COMPLETE | 2013-05-06T03:59:52Z | | network | 758 | state changed | IN_PROGRESS | 2013-05-06T03:59:53Z | | network | 759 | state changed | CREATE_COMPLETE | 2013-05-06T03:59:53Z | | subnet | 760 | state changed | IN_PROGRESS | 2013-05-06T03:59:53Z | | Client2Port | 762 | state changed | IN_PROGRESS | 2013-05-06T03:59:54Z | | Client2Port | 763 | state changed | CREATE_COMPLETE | 2013-05-06T03:59:54Z | | subnet | 761 | state changed | CREATE_COMPLETE | 2013-05-06T03:59:54Z | | DNSServerPort | 764 | state changed | IN_PROGRESS | 2013-05-06T03:59:55Z | | DNSServer | 766 | state changed | IN_PROGRESS | 2013-05-06T03:59:56Z | | DNSServerPort | 765 | state changed | CREATE_COMPLETE | 2013-05-06T03:59:56Z | | Client1Port | 768 | state changed | IN_PROGRESS | 2013-05-06T04:00:16Z | | DNSServer | 767 | state changed | CREATE_COMPLETE | 2013-05-06T04:00:16Z | | Client1 | 770 | state changed | IN_PROGRESS | 2013-05-06T04:00:17Z | | Client1Port | 769 | state changed | CREATE_COMPLETE | 2013-05-06T04:00:17Z | | Client1 | 771 | state changed | CREATE_COMPLETE | 2013-05-06T04:00:36Z | | Client2 | 772 | state changed | IN_PROGRESS | 2013-05-06T04:00:36Z | | Client2 | 773 | state changed | CREATE_COMPLETE | 2013-05-06T04:01:00Z | | router_interface_private | 774 | state changed | IN_PROGRESS | 2013-05-06T04:01:00Z | | router_gateway_external | 776 | state changed | IN_PROGRESS | 2013-05-06T04:01:01Z | | router_gateway_external | 777 | state changed | CREATE_COMPLETE | 2013-05-06T04:01:01Z | | router_interface_private | 775 | state changed | CREATE_COMPLETE | 2013-05-06T04:01:01Z | | floating_ip_assoc_Client1 | 778 | state changed | IN_PROGRESS | 2013-05-06T04:01:02Z | | floating_ip_assoc_Client1 | 779 | state changed | CREATE_COMPLETE | 2013-05-06T04:01:02Z | | floating_ip_assoc_DNSserver | 780 | state changed | IN_PROGRESS | 2013-05-06T04:01:02Z | | floating_ip_assoc_Client2 | 782 | state changed | IN_PROGRESS | 2013-05-06T04:01:03Z | | floating_ip_assoc_DNSserver | 781 | state changed | CREATE_COMPLETE | 2013-05-06T04:01:03Z | | floating_ip_assoc_Client2 | 783 | state changed | CREATE_COMPLETE | 2013-05-06T04:01:07Z | | router_interface_private | 784 | state changed | DELETE_IN_PROGRESS | 2013-05-06T04:04:53Z | | floating_ip_assoc_Client1 | 786 | state changed | DELETE_IN_PROGRESS | 2013-05-06T04:04:54Z | | floating_ip_assoc_Client1 | 787 | state changed | DELETE_COMPLETE | 2013-05-06T04:04:54Z | | router_interface_private | 785 | QuantumClientException: Router interface for subnet b0415e83-6813-4ba0-99bf-b01266e8856b on router ae37dc90-3be1-4ced-b417-c5c635420feb cannot be deleted, as it is required by one or more floating IPs. | DELETE_FAILED | 2013-05-06T04:04:54Z | | DNSServer | 788 | state changed | DELETE_IN_PROGRESS | 2013-05-06T04:04:55Z | | DNSServer | 789 | state changed | DELETE_COMPLETE | 2013-05-06T04:05:01Z | | DNSServerSecurityGroup | 790 | state changed | DELETE_IN_PROGRESS | 2013-05-06T04:05:02Z | | DNSServerSecurityGroup | 791 | state changed | DELETE_COMPLETE | 2013-05-06T04:05:06Z | | Client2 | 792 | state changed | DELETE_IN_PROGRESS | 2013-05-06T04:05:07Z | | Client2 | 793 | state changed | DELETE_COMPLETE | 2013-05-06T04:05:13Z | | floating_ip_assoc_DNSserver | 794 | state changed | DELETE_IN_PROGRESS | 2013-05-06T04:05:13Z | | DNSServerPort | 796 | state changed | DELETE_IN_PROGRESS | 2013-05-06T04:05:14Z | | DNSServerPort | 797 | state changed | DELETE_COMPLETE | 2013-05-06T04:05:14Z | | floating_ip_assoc_DNSserver | 795 | state changed | DELETE_COMPLETE | 2013-05-06T04:05:14Z | | floating_ip_DNSserver | 798 | state changed | DELETE_IN_PROGRESS | 2013-05-06T04:05:15Z | | Client2Port | 802 | state changed | DELETE_IN_PROGRESS | 2013-05-06T04:05:16Z | | floating_ip_DNSserver | 799 | state changed | DELETE_COMPLETE | 2013-05-06T04:05:16Z | | floating_ip_assoc_Client2 | 800 | state changed | DELETE_IN_PROGRESS | 2013-05-06T04:05:16Z | | floating_ip_assoc_Client2 | 801 | state changed | DELETE_COMPLETE | 2013-05-06T04:05:16Z | | Client2Port | 803 | state changed | DELETE_COMPLETE | 2013-05-06T04:05:17Z | | floating_ip_Client2 | 806 | state changed | DELETE_IN_PROGRESS | 2013-05-06T04:05:17Z | | router_gateway_external | 804 | state changed | DELETE_IN_PROGRESS | 2013-05-06T04:05:17Z | | router_gateway_external | 805 | state changed | DELETE_COMPLETE | 2013-05-06T04:05:17Z | | floating_ip_Client1 | 810 | state changed | DELETE_IN_PROGRESS | 2013-05-06T04:05:18Z | | floating_ip_Client2 | 807 | state changed | DELETE_COMPLETE | 2013-05-06T04:05:18Z | | router | 808 | state changed | DELETE_IN_PROGRESS | 2013-05-06T04:05:18Z | | router | 809 | QuantumClientException: Router ae37dc90-3be1-4ced-b417-c5c635420feb still has active ports | DELETE_FAILED | 2013-05-06T04:05:18Z | | floating_ip_Client1 | 811 | state changed | DELETE_COMPLETE | 2013-05-06T04:05:20Z | | Client1 | 812 | state changed | DELETE_IN_PROGRESS | 2013-05-06T04:05:21Z | | Client1 | 813 | state changed | DELETE_COMPLETE | 2013-05-06T04:05:28Z | | MinimalSecurityGroup | 814 | state changed | DELETE_IN_PROGRESS | 2013-05-06T04:05:28Z | | Client1Port | 816 | state changed | DELETE_IN_PROGRESS | 2013-05-06T04:05:30Z | | Client1Port | 817 | state changed | DELETE_COMPLETE | 2013-05-06T04:05:30Z | | MinimalSecurityGroup | 815 | state changed | DELETE_COMPLETE | 2013-05-06T04:05:30Z | | subnet | 818 | state changed | DELETE_IN_PROGRESS | 2013-05-06T04:05:31Z | | subnet | 819 | QuantumClientException: Unable to complete operation on subnet b0415e83-6813-4ba0-99bf-b01266e8856b. One or more ports have an IP allocation from this subnet. | DELETE_FAILED | 2013-05-06T04:05:31Z | | network | 820 | state changed | DELETE_IN_PROGRESS | 2013-05-06T04:05:32Z | | network | 821 | QuantumClientException: Unable to complete operation on network 9bd22cb5-1fb0-4111-af7d-f75b98e4c14d. There are one or more ports still in use on the network. | DELETE_FAILED | 2013-05-06T04:05:32Z | +-----------------------------+-----+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------+----------------------+ saso@devstack-new-virt:~/diploma$ It seems stack deletion tries to delete router_interface_private before releasing floating ips. On Mon, May 6, 2013 at 4:39 AM, Steve Baker