[openstack-dev] [neutron][lbaasv2][octavia] Not able to create loadbalancer

Michael Johnson johnsomor at gmail.com
Wed Nov 16 16:28:04 UTC 2016


Hi Ganpat,

Yes, as hzhao mentioned, this error means that the controller was
unable to connect to the amphora over the management network.

Please check that this section is properly setup:
http://docs.openstack.org/developer/octavia/guides/dev-quick-start.html#load-balancer-network-configuration

You can also use our devstack plugin.sh script as a reference to how
we set it up in devstack environments:
https://github.com/openstack/octavia/blob/master/devstack/plugin.sh

Michael

On Tue, Nov 15, 2016 at 10:36 PM, Ganpat Agarwal
<gans.developer at gmail.com> wrote:
> Hi All,
>
> I am using devstack stable/newton branch and have deployed octavia for
> neutron-lbaasv2.
>
> Here is my local.conf
>
> [[local|localrc]]
> HOST_IP=10.0.2.15
> DATABASE_PASSWORD=$ADMIN_PASSWORD
> MYSQL_PASSWORD=$ADMIN_PASSWORD
> RABBIT_PASSWORD=$ADMIN_PASSWORD
> SERVICE_PASSWORD=$ADMIN_PASSWORD
> SERVICE_TOKEN=tokentoken
> DEST=/opt/stack
>
> # Disable Nova Network and enable Neutron
> disable_service n-net
> enable_service q-svc
> enable_service q-agt
> enable_service q-dhcp
> enable_service q-l3
> enable_service q-meta
>
> # Enable LBaaS v2
> enable_plugin neutron-lbaas
> https://git.openstack.org/openstack/neutron-lbaas stable/newton
> enable_plugin octavia https://git.openstack.org/openstack/octavia
> stable/newton
> enable_service q-lbaasv2
> enable_service octavia
> enable_service o-cw
> enable_service o-hm
> enable_service o-hk
> enable_service o-api
>
> # Neutron options
> Q_USE_SECGROUP=True
> FLOATING_RANGE="172.18.161.0/24"
> FIXED_RANGE="10.0.0.0/24"
> Q_FLOATING_ALLOCATION_POOL=start=172.18.161.250,end=172.18.161.254
> PUBLIC_NETWORK_GATEWAY="172.18.161.1"
> PUBLIC_INTERFACE=eth0
>
> LOG=True
> VERBOSE=True
> LOGFILE=$DEST/logs/stack.sh.log
> LOGDAYS=1
> SCREEN_LOGDIR=$DEST/logs/screen
> SYSLOG=True
> SYSLOG_HOST=$HOST_IP
> SYSLOG_PORT=516
> RECLONE=yes
>
>
> While creating loadbalancer, i am getting error in octavia worker
>
> 2016-11-16 06:13:08.264 4115 INFO octavia.controller.queue.consumer [-]
> Starting consumer...
> 2016-11-16 06:14:58.507 4115 INFO octavia.controller.queue.endpoint [-]
> Creating load balancer '51082942-b348-4900-bde9-6d617dba8f99'...
> 2016-11-16 06:14:59.204 4115 INFO
> octavia.controller.worker.tasks.database_tasks [-] Created Amphora in DB
> with id 93e28edd-71ee-4448-bc70-b0424dbd64f5
> 2016-11-16 06:14:59.334 4115 INFO octavia.certificates.generator.local [-]
> Signing a certificate request using OpenSSL locally.
> 2016-11-16 06:14:59.336 4115 INFO octavia.certificates.generator.local [-]
> Using CA Certificate from config.
> 2016-11-16 06:14:59.336 4115 INFO octavia.certificates.generator.local [-]
> Using CA Private Key from config.
> 2016-11-16 06:14:59.337 4115 INFO octavia.certificates.generator.local [-]
> Using CA Private Key Passphrase from config.
> 2016-11-16 06:15:15.085 4115 INFO
> octavia.controller.worker.tasks.database_tasks [-] Mark ALLOCATED in DB for
> amphora: 93e28edd-71ee-4448-bc70-b0424dbd64f5 with compute id
> f339b48d-1445-47e0-950b-ee69c2add81f for load balancer:
> 51082942-b348-4900-bde9-6d617dba8f99
> 2016-11-16 06:15:15.208 4115 INFO
> octavia.network.drivers.neutron.allowed_address_pairs [-] Port
> ac27cbb8-078d-47fd-824c-e95b0ebff392 already exists. Nothing to be done.
> 2016-11-16 06:15:39.708 4115 WARNING
> octavia.amphorae.drivers.haproxy.rest_api_driver [-] Could not connect to
> instance. Retrying.
> 2016-11-16 06:15:47.712 4115 WARNING
> octavia.amphorae.drivers.haproxy.rest_api_driver [-] Could not connect to
> instance. Retrying.
> ----
> several 100 lines with same message
> ----
> 2016-11-16 06:24:29.310 4115 WARNING
> octavia.amphorae.drivers.haproxy.rest_api_driver [-] Could not connect to
> instance. Retrying.
> ^[2016-11-16 06:24:34.316 4115 WARNING
> octavia.amphorae.drivers.haproxy.rest_api_driver [-] Could not connect to
> instance. Retrying.
> 2016-11-16 06:24:39.317 4115 ERROR
> octavia.amphorae.drivers.haproxy.rest_api_driver [-] Connection retries
> (currently set to 100) exhausted.  The amphora is unavailable.
> 2016-11-16 06:24:39.327 4115 WARNING
> octavia.controller.worker.controller_worker [-] Task
> 'octavia.controller.worker.tasks.amphora_driver_tasks.AmphoraePostVIPPlug'
> (19f29ca9-3e7f-4629-b976-b4d24539d8ed) transitioned into state 'FAILURE'
> from state 'RUNNING'
> 33 predecessors (most recent first):
>   Atom
> 'octavia.controller.worker.tasks.network_tasks.GetAmphoraeNetworkConfigs'
> {'intention': 'EXECUTE', 'state': 'SUCCESS', 'requires': {'loadbalancer':
> <octavia.common.data_models.LoadBalancer object at 0x7f87742c5190>},
> 'provides': {u'93e28edd-71ee-4448-bc70-b0424dbd64f5':
> <octavia.network.data_models.AmphoraNetworkConfig object at
> 0x7f8774263610>}}
>   |__Atom 'reload-lb-after-plug-vip' {'intention': 'EXECUTE', 'state':
> 'SUCCESS', 'requires': {'loadbalancer_id':
> u'51082942-b348-4900-bde9-6d617dba8f99'}, 'provides':
> <octavia.common.data_models.LoadBalancer object at 0x7f87742c5190>}
>      |__Atom
> 'octavia.controller.worker.tasks.database_tasks.UpdateAmphoraVIPData'
> {'intention': 'EXECUTE', 'state': 'SUCCESS', 'requires': {'amps_data':
> [<octavia.common.data_models.Amphora object at 0x7f87743c23d0>]},
> 'provides': None}
>         |__Atom 'octavia.controller.worker.tasks.network_tasks.PlugVIP'
> {'intention': 'EXECUTE', 'state': 'SUCCESS', 'requires': {'loadbalancer':
> <octavia.common.data_models.LoadBalancer object at 0x7f8774456a10>},
> 'provides': [<octavia.common.data_models.Amphora object at 0x7f87743c23d0>]}
>            |__Atom
> 'octavia.controller.worker.tasks.database_tasks.UpdateVIPAfterAllocation'
> {'intention': 'EXECUTE', 'state': 'SUCCESS', 'requires': {'vip':
> <octavia.common.data_models.Vip object at 0x7f877432de10>,
> 'loadbalancer_id': u'51082942-b348-4900-bde9-6d617dba8f99'}, 'provides':
> <octavia.common.data_models.LoadBalancer object at 0x7f8774456a10>}
>               |__Atom
> 'octavia.controller.worker.tasks.network_tasks.AllocateVIP' {'intention':
> 'EXECUTE', 'state': 'SUCCESS', 'requires': {'loadbalancer':
> <octavia.common.data_models.LoadBalancer object at 0x7f8774297090>},
> 'provides': <octavia.common.data_models.Vip object at 0x7f877432de10>}
>                  |__Flow 'octavia-new-loadbalancer-net-subflow'
>                     |__Atom
> 'octavia-post-loadbalancer-amp_association-subflow-octavia-post-loadbalancer-amp_association-subflow-reload-lb-after-amp-assoc'
> {'intention': 'EXECUTE', 'state': 'SUCCESS', 'requires': {'loadbalancer_id':
> u'51082942-b348-4900-bde9-6d617dba8f99'}, 'provides':
> <octavia.common.data_models.LoadBalancer object at 0x7f8774297090>}
>                        |__Flow
> 'octavia-post-loadbalancer-amp_association-subflow-octavia-post-loadbalancer-amp_association-subflow'
>                           |__Atom
> 'STANDALONE-octavia-create-amp-for-lb-subflow-octavia-mark-amp-standalone-indb'
> {'intention': 'EXECUTE', 'state': 'SUCCESS', 'requires': {'amphora':
> <octavia.common.data_models.Amphora object at 0x7f87742c5290>}, 'provides':
> None}
>                           |  |__Atom
> 'STANDALONE-octavia-create-amp-for-lb-subflow-octavia-reload-amphora'
> {'intention': 'EXECUTE', 'state': 'SUCCESS', 'requires': {'amphora_id':
> u'93e28edd-71ee-4448-bc70-b0424dbd64f5'}, 'provides':
> <octavia.common.data_models.Amphora object at 0x7f87742c5290>}
>                           |     |__Atom
> 'STANDALONE-octavia-create-amp-for-lb-subflow-octavia-mark-amphora-allocated-indb'
> {'intention': 'EXECUTE', 'state': 'SUCCESS', 'requires': {'amphora':
> <octavia.common.data_models.Amphora object at 0x7f877432da50>,
> 'loadbalancer_id': u'51082942-b348-4900-bde9-6d617dba8f99'}, 'provides':
> None}
>                           |        |__Atom
> 'STANDALONE-octavia-create-amp-for-lb-subflow-octavia-amphora-finalize'
> {'intention': 'EXECUTE', 'state': 'SUCCESS', 'requires': {'amphora':
> <octavia.common.data_models.Amphora object at 0x7f877432da50>}, 'provides':
> None}
>                           |           |__Atom
> 'STANDALONE-octavia-create-amp-for-lb-subflow-octavia-update-amphora-info'
> {'intention': 'EXECUTE', 'state': 'SUCCESS', 'requires': {'amphora_id':
> u'93e28edd-71ee-4448-bc70-b0424dbd64f5', 'compute_obj':
> <octavia.common.data_models.Amphora object at 0x7f8774297f90>}, 'provides':
> <octavia.common.data_models.Amphora object at 0x7f877432da50>}
>                           |              |__Atom
> 'STANDALONE-octavia-create-amp-for-lb-subflow-octavia-compute-wait'
> {'intention': 'EXECUTE', 'state': 'SUCCESS', 'requires': {'compute_id':
> u'f339b48d-1445-47e0-950b-ee69c2add81f'}, 'provides':
> <octavia.common.data_models.Amphora object at 0x7f8774297f90>}
>                           |                 |__Atom
> 'STANDALONE-octavia-create-amp-for-lb-subflow-octavia-mark-amphora-booting-indb'
> {'intention': 'EXECUTE', 'state': 'SUCCESS', 'requires': {'amphora_id':
> u'93e28edd-71ee-4448-bc70-b0424dbd64f5', 'compute_id':
> u'f339b48d-1445-47e0-950b-ee69c2add81f'}, 'provides': None}
>                           |                    |__Atom
> 'STANDALONE-octavia-create-amp-for-lb-subflow-octavia-update-amphora-computeid'
> {'intention': 'EXECUTE', 'state': 'SUCCESS', 'requires': {'amphora_id':
> u'93e28edd-71ee-4448-bc70-b0424dbd64f5', 'compute_id':
> u'f339b48d-1445-47e0-950b-ee69c2add81f'}, 'provides': None}
>                           |                       |__Atom
> 'STANDALONE-octavia-create-amp-for-lb-subflow-octavia-cert-compute-create'
> {'intention': 'EXECUTE', 'state': 'SUCCESS', 'requires': {'server_pem':
> '-----BEGIN
> CERTIFICATE-----\nMIIDiDCCAnCgAwIBAgIQRW6GvSqQS3SXEuJ5ykT0vTANBgkqhkiG9w0BAQsFADBc\nMQswCQYDVQQGEwJVUzEPMA0GA1UECAwGRGVuaWFsMRQwEgYDVQQHDAtTc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wETlo4fKMJtDCc7JhpjtU6tpf4vdUfSv/3fmePCye\nlM07z2mNSsPQszVez3dwJ00Qtutjvt1L5t27GYpOtWj6/Tw1IXtj8uReUeGnB+bV\nUBEA/w992fewlB4K9wNCBYBBn3MiToGQEBiOce/vAoGAfjQ8Ow0F8QuuuKN6yE1a\n/jvcf5zWG5vfx0H9yYTOp2LlHlNVrTorbulxwVwlW/pUP0gS6PzgKeC2nB0J9zPF\nWkCBNmwnZUDt1ODE+Lc52n5s1ik6ElENQeEi5GlRIK5QKXugRufEH30veQSjrbbu\n2wxxBsJBAy6GwUEeLoFLPeUCgYEAo7xBbBnniHSOrUvy9xuEL3Y7XG2EftaYQwvA\nEmNj58HrRR4kQ3+kPvPBsBSZWpsevVjOxu4LuK0EEKmwsIyYe1XeOrYDGkmko49b\nJWKYpaldlqoemHeEJRk8VUhYdZcZHnYKC7zla5jDngl1shcDix2WGGFtJiZyemrY\nwfB2j/ECgYAR4dGezMScYMx1VyVF0qMI6YaZCVV9IxokqQUzfELEGjpn5nTMVGxs\njo8y9Wd5HnJjjsuHIC/QJ0tdrQAe2JsdbRMh/ZvojP48HR8aR2cNldaBIEnMryTp\n9mJyjgiiJ5l40KMP9NOHremlIl87FA92g7IbxBuaJCrfnFa72LASRg==\n-----END
> RSA PRIVATE KEY-----\n', 'amphora_id':
> u'93e28edd-71ee-4448-bc70-b0424dbd64f5'}, 'provides':
> u'f339b48d-1445-47e0-950b-ee69c2add81f'}
>                           |                          |__Atom
> 'STANDALONE-octavia-create-amp-for-lb-subflow-octavia-update-cert-expiration'
> {'intention': 'EXECUTE', 'state': 'SUCCESS', 'requires': {'server_pem':
> '-----BEGIN
> CERTIFICATE-----\nMIIDiDCCAnCgAwIBAgIQRW6GvSqQS3SXEuJ5ykT0vTANBgkqhkiG9w0BAQsFADBc\nMQswCQYDVQQGEwJVUzEPMA0GA1UECAwGRGVuaWFsMRQwEgYDVQQHDAtTcHJpbmdm\naWVsZDEMMAoGA1UECgwDRGlzMR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fmePCye\nlM07z2mNSsPQszVez3dwJ00Qtutjvt1L5t27GYpOtWj6/Tw1IXtj8uReUeGnB+bV\nUBEA/w992fewlB4K9wNCBYBBn3MiToGQEBiOce/vAoGAfjQ8Ow0F8QuuuKN6yE1a\n/jvcf5zWG5vfx0H9yYTOp2LlHlNVrTorbulxwVwlW/pUP0gS6PzgKeC2nB0J9zPF\nWkCBNmwnZUDt1ODE+Lc52n5s1ik6ElENQeEi5GlRIK5QKXugRufEH30veQSjrbbu\n2wxxBsJBAy6GwUEeLoFLPeUCgYEAo7xBbBnniHSOrUvy9xuEL3Y7XG2EftaYQwvA\nEmNj58HrRR4kQ3+kPvPBsBSZWpsevVjOxu4LuK0EEKmwsIyYe1XeOrYDGkmko49b\nJWKYpaldlqoemHeEJRk8VUhYdZcZHnYKC7zla5jDngl1shcDix2WGGFtJiZyemrY\nwfB2j/ECgYAR4dGezMScYMx1VyVF0qMI6YaZCVV9IxokqQUzfELEGjpn5nTMVGxs\njo8y9Wd5HnJjjsuHIC/QJ0tdrQAe2JsdbRMh/ZvojP48HR8aR2cNldaBIEnMryTp\n9mJyjgiiJ5l40KMP9NOHremlIl87FA92g7IbxBuaJCrfnFa72LASRg==\n-----END
> RSA PRIVATE KEY-----\n', 'amphora_id':
> u'93e28edd-71ee-4448-bc70-b0424dbd64f5'}, 'provides': None}
>                           |                             |__Atom
> 'STANDALONE-octavia-create-amp-for-lb-subflow-octavia-generate-serverpem'
> {'intention': 'EXECUTE', 'state': 'SUCCESS'}
>                           |                                |__Atom
> 'STANDALONE-octavia-create-amp-for-lb-subflow-octavia-create-amphora-indb'
> {'intention': 'EXECUTE', 'state': 'SUCCESS', 'requires': {}, 'provides':
> u'93e28edd-71ee-4448-bc70-b0424dbd64f5'}
>                           |                                   |__Flow
> 'STANDALONE-octavia-create-amp-for-lb-subflow'
>                           |                                      |__Atom
> 'STANDALONE-octavia-get-amphora-for-lb-subflow-octavia-mapload-balancer-to-amphora'
> {'intention': 'EXECUTE', 'state': 'SUCCESS', 'requires': {'loadbalancer_id':
> u'51082942-b348-4900-bde9-6d617dba8f99'}, 'provides': None}
>                           |                                         |__Flow
> 'STANDALONE-octavia-get-amphora-for-lb-subflow'
>                           |
> |__Atom
> 'octavia.controller.worker.tasks.lifecycle_tasks.LoadBalancerIDToErrorOnRevertTask'
> {'intention': 'EXECUTE', 'state': 'SUCCESS', 'requires': {'loadbalancer_id':
> u'51082942-b348-4900-bde9-6d617dba8f99'}, 'provides': None}
>                           |
> |__Flow 'octavia-create-loadbalancer-flow'
>                           |__Atom
> 'STANDALONE-octavia-post-map-amp-to-lb-subflow-octavia-mark-amp-standalone-indb'
> {'intention': 'IGNORE', 'state': 'IGNORE'}
>                              |__Atom
> 'STANDALONE-octavia-post-map-amp-to-lb-subflow-octavia-reload-amphora'
> {'intention': 'IGNORE', 'state': 'IGNORE', 'requires': {'amphora_id': None}}
>                                 |__Flow
> 'STANDALONE-octavia-post-map-amp-to-lb-subflow'
>                                    |__Atom
> 'STANDALONE-octavia-get-amphora-for-lb-subflow-octavia-mapload-balancer-to-amphora'
> {'intention': 'EXECUTE', 'state': 'SUCCESS', 'requires': {'loadbalancer_id':
> u'51082942-b348-4900-bde9-6d617dba8f99'}, 'provides': None}
>                                       |__Flow
> 'STANDALONE-octavia-get-amphora-for-lb-subflow'
>                                          |__Atom
> 'octavia.controller.worker.tasks.lifecycle_tasks.LoadBalancerIDToErrorOnRevertTask'
> {'intention': 'EXECUTE', 'state': 'SUCCESS', 'requires': {'loadbalancer_id':
> u'51082942-b348-4900-bde9-6d617dba8f99'}, 'provides': None}
>                                             |__Flow
> 'octavia-create-loadbalancer-flow'
> 2016-11-16 06:24:39.327 4115 ERROR
> octavia.controller.worker.controller_worker Traceback (most recent call
> last):
> 2016-11-16 06:24:39.327 4115 ERROR
> octavia.controller.worker.controller_worker   File
> "/usr/local/lib/python2.7/dist-packages/taskflow/engines/action_engine/executor.py",
> line 53, in _execute_task
> 2016-11-16 06:24:39.327 4115 ERROR
> octavia.controller.worker.controller_worker     result =
> task.execute(**arguments)
> 2016-11-16 06:24:39.327 4115 ERROR
> octavia.controller.worker.controller_worker   File
> "/opt/stack/octavia/octavia/controller/worker/tasks/amphora_driver_tasks.py",
> line 242, in execute
> 2016-11-16 06:24:39.327 4115 ERROR
> octavia.controller.worker.controller_worker     amphorae_network_config)
> 2016-11-16 06:24:39.327 4115 ERROR
> octavia.controller.worker.controller_worker   File
> "/opt/stack/octavia/octavia/controller/worker/tasks/amphora_driver_tasks.py",
> line 221, in execute
> 2016-11-16 06:24:39.327 4115 ERROR
> octavia.controller.worker.controller_worker     amphora, loadbalancer,
> amphorae_network_config)
> 2016-11-16 06:24:39.327 4115 ERROR
> octavia.controller.worker.controller_worker   File
> "/opt/stack/octavia/octavia/amphorae/drivers/haproxy/rest_api_driver.py",
> line 133, in post_vip_plug
> 2016-11-16 06:24:39.327 4115 ERROR
> octavia.controller.worker.controller_worker     net_info)
> 2016-11-16 06:24:39.327 4115 ERROR
> octavia.controller.worker.controller_worker   File
> "/opt/stack/octavia/octavia/amphorae/drivers/haproxy/rest_api_driver.py",
> line 355, in plug_vip
> 2016-11-16 06:24:39.327 4115 ERROR
> octavia.controller.worker.controller_worker     json=net_info)
> 2016-11-16 06:24:39.327 4115 ERROR
> octavia.controller.worker.controller_worker   File
> "/opt/stack/octavia/octavia/amphorae/drivers/haproxy/rest_api_driver.py",
> line 279, in request
> 2016-11-16 06:24:39.327 4115 ERROR
> octavia.controller.worker.controller_worker     raise
> driver_except.TimeOutException()
> 2016-11-16 06:24:39.327 4115 ERROR
> octavia.controller.worker.controller_worker TimeOutException: contacting the
> amphora timed out
> 2016-11-16 06:24:39.327 4115 ERROR
> octavia.controller.worker.controller_worker
> 2016-11-16 06:24:39.379 4115 WARNING
> octavia.controller.worker.controller_worker [-] Task
> 'octavia.controller.worker.tasks.amphora_driver_tasks.AmphoraePostVIPPlug'
> (19f29ca9-3e7f-4629-b976-b4d24539d8ed) transitioned into state 'REVERTED'
> from state 'REVERTING'
> 2016-11-16 06:24:39.382 4115 WARNING
> octavia.controller.worker.controller_worker [-] Task
> 'octavia.controller.worker.tasks.network_tasks.GetAmphoraeNetworkConfigs'
> (60025f2a-7fad-4c3c-8a2a-cdb538c54e9e) transitioned into state 'REVERTED'
> from state 'REVERTING'
> 2016-11-16 06:24:39.386 4115 WARNING
> octavia.controller.worker.controller_worker [-] Task
> 'reload-lb-after-plug-vip' (955b35ee-6e35-4017-8abd-1a4ded845d35)
> transitioned into state 'REVERTED' from state 'REVERTING'
> 2016-11-16 06:24:39.390 4115 WARNING
> octavia.controller.worker.controller_worker [-] Task
> 'octavia.controller.worker.tasks.database_tasks.UpdateAmphoraVIPData'
> (26242ba6-8ae9-4b67-9c52-74ef3688a695) transitioned into state 'REVERTED'
> from state 'REVERTING'
> 2016-11-16 06:24:39.396 4115 WARNING
> octavia.controller.worker.tasks.network_tasks [-] Unable to plug VIP for
> loadbalancer id 51082942-b348-4900-bde9-6d617dba8f99
> 2016-11-16 06:24:42.315 4115 WARNING
> octavia.controller.worker.controller_worker [-] Task
> 'octavia.controller.worker.tasks.network_tasks.PlugVIP'
> (bea62769-b506-49f3-a8e2-9532d8e85426) transitioned into state 'REVERTED'
> from state 'REVERTING'
> 2016-11-16 06:24:42.329 4115 WARNING
> octavia.controller.worker.controller_worker [-] Task
> 'octavia.controller.worker.tasks.database_tasks.UpdateVIPAfterAllocation'
> (09cba208-c5fe-415a-bd71-0dc6e02eabc2) transitioned into state 'REVERTED'
> from state 'REVERTING'
> 2016-11-16 06:24:42.335 4115 WARNING
> octavia.controller.worker.tasks.network_tasks [-] Deallocating vip 10.0.0.8
> 2016-11-16 06:24:42.993 4115 INFO
> octavia.network.drivers.neutron.allowed_address_pairs [-] Removing security
> group dff068eb-8d19-4478-83d4-0fbdd1acdd92 from port
> ac27cbb8-078d-47fd-824c-e95b0ebff392
> 2016-11-16 06:24:44.180 4115 INFO
> octavia.network.drivers.neutron.allowed_address_pairs [-] Deleted security
> group dff068eb-8d19-4478-83d4-0fbdd1acdd92
> 2016-11-16 06:24:44.183 4115 INFO
> octavia.network.drivers.neutron.allowed_address_pairs [-] Port
> ac27cbb8-078d-47fd-824c-e95b0ebff392 will not be deleted by Octavia as it
> was not created by Octavia.
> 2016-11-16 06:24:44.186 4115 WARNING
> octavia.controller.worker.controller_worker [-] Task
> 'octavia.controller.worker.tasks.network_tasks.AllocateVIP'
> (57b2a05a-a3d0-4696-9d59-ec11e3d14a83) transitioned into state 'REVERTED'
> from state 'REVERTING'
> 2016-11-16 06:24:44.197 4115 WARNING
> octavia.controller.worker.controller_worker [-] Task
> 'octavia-post-loadbalancer-amp_association-subflow-octavia-post-loadbalancer-amp_association-subflow-reload-lb-after-amp-assoc'
> (f7d69c6b-1319-460d-aba6-899c79ecfe92) transitioned into state 'REVERTED'
> from state 'REVERTING'
> 2016-11-16 06:24:44.207 4115 WARNING
> octavia.controller.worker.tasks.database_tasks [-] Reverting amphora role in
> DB for amp id 93e28edd-71ee-4448-bc70-b0424dbd64f5
> 2016-11-16 06:24:44.246 4115 WARNING
> octavia.controller.worker.controller_worker [-] Task
> 'STANDALONE-octavia-create-amp-for-lb-subflow-octavia-mark-amp-standalone-indb'
> (c2e7bdf0-972b-447b-817c-f531645bb3c0) transitioned into state 'REVERTED'
> from state 'REVERTING'
> 2016-11-16 06:24:44.263 4115 WARNING
> octavia.controller.worker.controller_worker [-] Task
> 'STANDALONE-octavia-create-amp-for-lb-subflow-octavia-reload-amphora'
> (7f3a252b-3dda-4cd6-aa8d-4862cec088bd) transitioned into state 'REVERTED'
> from state 'REVERTING'
> 2016-11-16 06:24:44.273 4115 WARNING
> octavia.controller.worker.tasks.database_tasks [-] Reverting mark amphora
> ready in DB for amp id 93e28edd-71ee-4448-bc70-b0424dbd64f5 and compute id
> f339b48d-1445-47e0-950b-ee69c2add81f
> 2016-11-16 06:24:44.297 4115 WARNING
> octavia.controller.worker.controller_worker [-] Task
> 'STANDALONE-octavia-create-amp-for-lb-subflow-octavia-mark-amphora-allocated-indb'
> (d1eb8cc5-107f-40e1-b5ba-6faf973836b7) transitioned into state 'REVERTED'
> from state 'REVERTING'
> 2016-11-16 06:24:44.306 4115 WARNING
> octavia.controller.worker.tasks.amphora_driver_tasks [-] Reverting amphora
> finalize.
> 2016-11-16 06:24:44.316 4115 WARNING
> octavia.controller.worker.controller_worker [-] Task
> 'STANDALONE-octavia-create-amp-for-lb-subflow-octavia-amphora-finalize'
> (90fdba4d-3be7-4f3e-b06e-e3569b0eb38d) transitioned into state 'REVERTED'
> from state 'REVERTING'
> 2016-11-16 06:24:44.326 4115 WARNING
> octavia.controller.worker.controller_worker [-] Task
> 'STANDALONE-octavia-create-amp-for-lb-subflow-octavia-update-amphora-info'
> (de7a3f58-9843-4c00-b11e-4473a4d27567) transitioned into state 'REVERTED'
> from state 'REVERTING'
> 2016-11-16 06:24:44.357 4115 WARNING
> octavia.controller.worker.controller_worker [-] Task
> 'STANDALONE-octavia-create-amp-for-lb-subflow-octavia-compute-wait'
> (8c715976-6f46-445e-aad2-ed452ed40296) transitioned into state 'REVERTED'
> from state 'REVERTING'
> 2016-11-16 06:24:44.372 4115 WARNING
> octavia.controller.worker.tasks.database_tasks [-] Reverting mark amphora
> booting in DB for amp id 93e28edd-71ee-4448-bc70-b0424dbd64f5 and compute id
> f339b48d-1445-47e0-950b-ee69c2add81f
> 2016-11-16 06:24:44.383 4115 WARNING
> octavia.controller.worker.controller_worker [-] Task
> 'STANDALONE-octavia-create-amp-for-lb-subflow-octavia-mark-amphora-booting-indb'
> (06487e11-cb67-4399-a75e-c0eb4490dc84) transitioned into state 'REVERTED'
> from state 'REVERTING'
> 2016-11-16 06:24:44.387 4115 WARNING
> octavia.controller.worker.controller_worker [-] Task
> 'STANDALONE-octavia-create-amp-for-lb-subflow-octavia-update-amphora-computeid'
> (3ae760d9-50c4-4acf-99ad-68045580f0cd) transitioned into state 'REVERTED'
> from state 'REVERTING'
> 2016-11-16 06:24:44.390 4115 WARNING
> octavia.controller.worker.tasks.compute_tasks [-] Reverting compute create
> for amphora with id93e28edd-71ee-4448-bc70-b0424dbd64f5 and compute id:
> f339b48d-1445-47e0-950b-ee69c2add81f
> 2016-11-16 06:24:44.619 4115 WARNING
> octavia.controller.worker.controller_worker [-] Task
> 'STANDALONE-octavia-create-amp-for-lb-subflow-octavia-cert-compute-create'
> (7436b097-97af-4ba3-a5e0-ad00ff9223a8) transitioned into state 'REVERTED'
> from state 'REVERTING'
> 2016-11-16 06:24:44.630 4115 WARNING
> octavia.controller.worker.controller_worker [-] Task
> 'STANDALONE-octavia-create-amp-for-lb-subflow-octavia-update-cert-expiration'
> (7cf84e66-d40c-4e32-8a27-7a48720769c9) transitioned into state 'REVERTED'
> from state 'REVERTING'
> 2016-11-16 06:24:44.645 4115 WARNING
> octavia.controller.worker.controller_worker [-] Task
> 'STANDALONE-octavia-create-amp-for-lb-subflow-octavia-generate-serverpem'
> (3399aa23-2f88-4b9b-a419-06a3befae336) transitioned into state 'REVERTED'
> from state 'REVERTING'
> 2016-11-16 06:24:44.656 4115 WARNING
> octavia.controller.worker.tasks.database_tasks [-] Reverting create amphora
> in DB for amp id 93e28edd-71ee-4448-bc70-b0424dbd64f5
> 2016-11-16 06:24:44.685 4115 WARNING
> octavia.controller.worker.controller_worker [-] Task
> 'STANDALONE-octavia-create-amp-for-lb-subflow-octavia-create-amphora-indb'
> (a2634fac-dbd4-416a-a1f7-5e65e07b452e) transitioned into state 'REVERTED'
> from state 'REVERTING'
> 2016-11-16 06:24:44.693 4115 WARNING
> octavia.controller.worker.tasks.database_tasks [-] Reverting Amphora
> allocation for the load balancer 51082942-b348-4900-bde9-6d617dba8f99 in the
> database.
> 2016-11-16 06:24:44.706 4115 WARNING
> octavia.controller.worker.controller_worker [-] Task
> 'STANDALONE-octavia-get-amphora-for-lb-subflow-octavia-mapload-balancer-to-amphora'
> (f1ef380a-ac0c-445e-bdad-9854a797c17f) transitioned into state 'REVERTED'
> from state 'REVERTING'
> 2016-11-16 06:24:44.777 4115 WARNING
> octavia.controller.worker.controller_worker [-] Task
> 'octavia.controller.worker.tasks.lifecycle_tasks.LoadBalancerIDToErrorOnRevertTask'
> (0fe8a435-0c4a-4c26-9ff0-818bfcb653c2) transitioned into state 'REVERTED'
> from state 'REVERTING'
> 2016-11-16 06:24:44.793 4115 WARNING
> octavia.controller.worker.controller_worker [-] Flow
> 'octavia-create-loadbalancer-flow' (ceca306c-2ecb-4bb5-804b-6298322d6a0b)
> transitioned into state 'REVERTED' from state 'RUNNING'
> 2016-11-16 06:24:44.797 4115 ERROR oslo_messaging.rpc.server [-] Exception
> during message handling
> 2016-11-16 06:24:44.797 4115 ERROR oslo_messaging.rpc.server Traceback (most
> recent call last):
> 2016-11-16 06:24:44.797 4115 ERROR oslo_messaging.rpc.server   File
> "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line
> 133, in _process_incoming
> 2016-11-16 06:24:44.797 4115 ERROR oslo_messaging.rpc.server     res =
> self.dispatcher.dispatch(message)
> 2016-11-16 06:24:44.797 4115 ERROR oslo_messaging.rpc.server   File
> "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py",
> line 150, in dispatch
> 2016-11-16 06:24:44.797 4115 ERROR oslo_messaging.rpc.server     return
> self._do_dispatch(endpoint, method, ctxt, args)
> 2016-11-16 06:24:44.797 4115 ERROR oslo_messaging.rpc.server   File
> "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py",
> line 121, in _do_dispatch
> 2016-11-16 06:24:44.797 4115 ERROR oslo_messaging.rpc.server     result =
> func(ctxt, **new_args)
> 2016-11-16 06:24:44.797 4115 ERROR oslo_messaging.rpc.server   File
> "/opt/stack/octavia/octavia/controller/queue/endpoint.py", line 45, in
> create_load_balancer
> 2016-11-16 06:24:44.797 4115 ERROR oslo_messaging.rpc.server
> self.worker.create_load_balancer(load_balancer_id)
> 2016-11-16 06:24:44.797 4115 ERROR oslo_messaging.rpc.server   File
> "/opt/stack/octavia/octavia/controller/worker/controller_worker.py", line
> 280, in create_load_balancer
> 2016-11-16 06:24:44.797 4115 ERROR oslo_messaging.rpc.server
> create_lb_tf.run()
> 2016-11-16 06:24:44.797 4115 ERROR oslo_messaging.rpc.server   File
> "/usr/local/lib/python2.7/dist-packages/taskflow/engines/action_engine/engine.py",
> line 247, in run
> 2016-11-16 06:24:44.797 4115 ERROR oslo_messaging.rpc.server     for _state
> in self.run_iter(timeout=timeout):
> 2016-11-16 06:24:44.797 4115 ERROR oslo_messaging.rpc.server   File
> "/usr/local/lib/python2.7/dist-packages/taskflow/engines/action_engine/engine.py",
> line 340, in run_iter
> 2016-11-16 06:24:44.797 4115 ERROR oslo_messaging.rpc.server
> failure.Failure.reraise_if_any(er_failures)
> 2016-11-16 06:24:44.797 4115 ERROR oslo_messaging.rpc.server   File
> "/usr/local/lib/python2.7/dist-packages/taskflow/types/failure.py", line
> 336, in reraise_if_any
> 2016-11-16 06:24:44.797 4115 ERROR oslo_messaging.rpc.server
> failures[0].reraise()
> 2016-11-16 06:24:44.797 4115 ERROR oslo_messaging.rpc.server   File
> "/usr/local/lib/python2.7/dist-packages/taskflow/types/failure.py", line
> 343, in reraise
> 2016-11-16 06:24:44.797 4115 ERROR oslo_messaging.rpc.server
> six.reraise(*self._exc_info)
> 2016-11-16 06:24:44.797 4115 ERROR oslo_messaging.rpc.server   File
> "/usr/local/lib/python2.7/dist-packages/taskflow/engines/action_engine/executor.py",
> line 53, in _execute_task
> 2016-11-16 06:24:44.797 4115 ERROR oslo_messaging.rpc.server     result =
> task.execute(**arguments)
> 2016-11-16 06:24:44.797 4115 ERROR oslo_messaging.rpc.server   File
> "/opt/stack/octavia/octavia/controller/worker/tasks/amphora_driver_tasks.py",
> line 242, in execute
> 2016-11-16 06:24:44.797 4115 ERROR oslo_messaging.rpc.server
> amphorae_network_config)
> 2016-11-16 06:24:44.797 4115 ERROR oslo_messaging.rpc.server   File
> "/opt/stack/octavia/octavia/controller/worker/tasks/amphora_driver_tasks.py",
> line 221, in execute
> 2016-11-16 06:24:44.797 4115 ERROR oslo_messaging.rpc.server     amphora,
> loadbalancer, amphorae_network_config)
> 2016-11-16 06:24:44.797 4115 ERROR oslo_messaging.rpc.server   File
> "/opt/stack/octavia/octavia/amphorae/drivers/haproxy/rest_api_driver.py",
> line 133, in post_vip_plug
> 2016-11-16 06:24:44.797 4115 ERROR oslo_messaging.rpc.server     net_info)
> 2016-11-16 06:24:44.797 4115 ERROR oslo_messaging.rpc.server   File
> "/opt/stack/octavia/octavia/amphorae/drivers/haproxy/rest_api_driver.py",
> line 355, in plug_vip
> 2016-11-16 06:24:44.797 4115 ERROR oslo_messaging.rpc.server
> json=net_info)
> 2016-11-16 06:24:44.797 4115 ERROR oslo_messaging.rpc.server   File
> "/opt/stack/octavia/octavia/amphorae/drivers/haproxy/rest_api_driver.py",
> line 279, in request
> 2016-11-16 06:24:44.797 4115 ERROR oslo_messaging.rpc.server     raise
> driver_except.TimeOutException()
> 2016-11-16 06:24:44.797 4115 ERROR oslo_messaging.rpc.server
> TimeOutException: contacting the amphora timed out
> 2016-11-16 06:24:44.797 4115 ERROR oslo_messaging.rpc.server
>
>
> Do i need to modify any config option to get over this error?
> Please help.
>
> Thanks,
> Ganpat
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>



More information about the OpenStack-dev mailing list