fuel cli snapshot doesn't work under docker

Bug #1314063 reported by Matthew Mosesohn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Alexandr Notchenko

Bug Description

Strange 404 error:
[root@fuel ~]# fuel --debug snapshot ---dir .
PUT http://127.0.0.1:8000/api/v1/logs/package data={}
GET http://127.0.0.1:8000/api/v1/tasks/4/
Generating dump...
GET http://127.0.0.1:8000/api/v1/tasks/4/
GET http://127.0.0.1:8000/api/v1/tasks/4/
GET http://127.0.0.1:8000/api/v1/tasks/4/
GET http://127.0.0.1:8000/api/v1/tasks/4/
GET http://127.0.0.1:8000/api/v1/tasks/4/
GET http://127.0.0.1:8000/api/v1/tasks/4/
GET http://127.0.0.1:8000/api/v1/tasks/4/
GET http://127.0.0.1:8000/api/v1/tasks/4/
GET http://127.0.0.1:8000/api/v1/tasks/4/
GET http://127.0.0.1:8000/api/v1/tasks/4/
GET http://127.0.0.1:8000/api/v1/tasks/4/
GET http://127.0.0.1:8000/api/v1/tasks/4/
GET http://127.0.0.1:8000/api/v1/tasks/4/
HTTP Error 404: Not Found (not found)

The dump is there and I can download the "last" and the actual snapshot itself with no problems.

[root@fuel ~]# ls /var/www/nailgun/dump/
fuel-snapshot-2014-04-28_17-55-48.tgz fuel-snapshot-2014-04-29_07-50-57.tgz
fuel-snapshot-2014-04-29_07-50-23.tgz last
fuel-snapshot-2014-04-29_07-50-33.tgz
root@fuel ~]# curl http://127.0.0.1:8000/dump/fuel-snapshot-2014-04-29_07-50-57.tgz > dump.tar.gz
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
100 12.2M 100 12.2M 0 0 119M 0 --:--:-- --:--:-- --:--:-- 124M

Tags: cli
Changed in fuel:
importance: Undecided → Critical
status: New → Confirmed
Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :

this bug doesn't block anything - snapshot via web interface works fine

Changed in fuel:
importance: Critical → High
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix proposed to fuel-web (master)

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

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/91360
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=0308c7b69463584cc7db781d190205b88cb66a93
Submitter: Jenkins
Branch: master

commit 0308c7b69463584cc7db781d190205b88cb66a93
Author: Alexandr Notchenko <email address hidden>
Date: Wed Apr 30 17:29:05 2014 +0400

    Fuel client snapshot downloading

     * Fixed incorrect url prefix

     Closes-bug: #1314063

    Change-Id: I562ae749dd109ef1e3166d309b80685534f5372e

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Egor Kotko (ykotko) wrote :

Checked on:
{"build_id": "2014-05-16_01-10-31", "mirantis": "yes", "build_number": "208", "ostf_sha": "353f918197ec53a00127fd28b9151f248a2a2d30", "nailgun_sha": "89e7224f0b87284f75bf02b956b640768fabe352", "production": "docker", "api": "1.0", "fuelmain_sha": "861f4410bd07ecf40c1f87785dd0c86de387f2cf", "astute_sha": "c0418e1739cceb864fd2c548a7c6b9ad6a46ed86", "release": "5.0", "fuellib_sha": "68ef90fdc9fe5a3978f756a96a3fa29d5f1a2929"}

Changed in fuel:
status: Fix Committed → Fix Released
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.