Environment is not deleted after successful deployment

Bug #1349399 reported by Anastasia Palkina
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Dima Shulyak

Bug Description

"build_id": "2014-07-28_02-01-14",
"ostf_sha": "8c328521b1444f22c50463b9432193e20ed33813",
"build_number": "366",
"auth_required": true,
"api": "1.0",
"nailgun_sha": "83cc9ed44ebc8dd97248483b6d414ebbc4cff3c0",
"production": "docker",
"fuelmain_sha": "9adfbf5a52cedbdd16ec1a74f6c44c5b3419b87c",
"astute_sha": "aa5aed61035a8dc4035ab1619a8bb540a7430a95",
"feature_groups": ["mirantis"],
"release": "5.1",
"fuellib_sha": "d1c7f67b3cf51978d3178c8666ea398f2477dcb5"

1. Create new environment (Ubuntu, simple mode)
2. Choose Ceilometer
3. Add controller+mongo, compute
4. Start deployment. It was successful
5. Delete environment. It is not deleted. No errors in logs.

Controller node-5, compute node-6

Revision history for this message
Anastasia Palkina (apalkina) wrote :
Dima Shulyak (dshulyak)
Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Fuel Python Team (fuel-python)
Dima Shulyak (dshulyak)
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Dima Shulyak (dshulyak)
Revision history for this message
Dima Shulyak (dshulyak) wrote :

2014-07-28T12:50:26 debug: [384] Requeue message because worker is busy: "{\"args\": {\"engine\": {\"url\": \"http://10.20.0.2:80/cobbler_api\", \"username\": \"cobbler\", \"password\": \"2H88eG3P\", \"master_ip\": \"10.20.0.2\"}, \"task_uuid\": \"eac70a67-1451-4bb9-856b-baa481d877f3\", \"nodes\": [{\"slave_name\": \"node-5\", \"id\": 5, \"roles\": [\"controller\", \"mongo\"], \"uid\": 5}, {\"slave_name\": \"node-6\", \"id\": 6, \"roles\": [\"compute\"], \"uid\": 6}]}, \"respond_to\": \"remove_cluster_resp\", \"method\": \"remove_nodes\", \"api_version\": \"1.0\"}"

Message wasnt requeud

Dima Shulyak (dshulyak)
Changed in fuel:
status: New → Confirmed
Dima Shulyak (dshulyak)
Changed in fuel:
importance: Critical → High
Revision history for this message
Dima Shulyak (dshulyak) wrote :

I've restarted astute with one worker, and can reproduce next bug quite consistently..

2014-07-28 15:28:35 DEBUG
[492] Successfully delete object at /api/queues/%2F/nailgun
2014-07-28 15:28:35 DEBUG
[492] Successfully delete object at /api/queues/%2F/naily
2014-07-28 15:28:35 DEBUG
[492] Successfully delete object at /api/exchanges/%2F/naily_service
2014-07-28 15:28:35 DEBUG
[492] Successfully delete object at /api/exchanges/%2F/nailgun
2014-07-28 15:28:35 WARNING
[492] Try to remove problem exchanges and queues
2014-07-28 15:28:33 DEBUG
[492] Requeue message because worker is busy: "{\"args\": {\"engine\": {\"url\": \"http://10.108.10.2:80/cobbler_api\", \"username\": \"cobbler\", \"password\": \"WQZpqiT6\", \"master_ip\": \"10.108.10.2\"}, \"task_uuid\": \"b72f2b10-5488-44df-a363-21e50f5460b9\", \"nodes\": [{\"slave_name\": \"node-1\", \"id\": 1, \"roles\": [\"controller\"], \"uid\": 1}]}, \"respond_to\": \"remove_cluster_resp\", \"method\": \"remove_nodes\", \"api_version\": \"1.0\"}"

Revision history for this message
Dima Shulyak (dshulyak) wrote :

For some reason we are receiving 406 PRECONDITION FAILURE each time astute tries to requeu message

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-astute (master)

Fix proposed to branch: master
Review: https://review.openstack.org/110019

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
Vladimir Sharshov (vsharshov) wrote :

Best and fast solution provided by Dima Shulyak (dshulyak). If this patch will unlock this problem: https://bugs.launchpad.net/fuel/+bug/1340704, we should create another solution.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-astute (master)

Reviewed: https://review.openstack.org/110019
Committed: https://git.openstack.org/cgit/stackforge/fuel-astute/commit/?id=743ec9ecf3581ba1e99d8c8ffd2d171fc1c2be9d
Submitter: Jenkins
Branch: master

commit 743ec9ecf3581ba1e99d8c8ffd2d171fc1c2be9d
Author: Dima Shulyak <email address hidden>
Date: Mon Jul 28 18:29:59 2014 +0300

    Requeu and acknowledge logic for server

    - no_ack should not be used with requeu implementation at same time
    rejecting message when no_ack set leads to:
    PRECONDITION_FAILED - unknown delivery tag

    - metadata.ack will guarantee that message is delivered and started
    processing

    Change-Id: I15d940f635b1d0f80ac1eaefc8f37a3080e7f4d2
    Closes-Bug: 1349399

Changed in fuel:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.