Create account link tries to use Fuel REST API

Bug #1442762 reported by Mike Scherbakov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Low
Nikolay Markov

Bug Description

Steps:
ISO #302

1) Once Fuel master is installed, turn off Internet.
2) Click on Create Account link right after Fuel master is installed (first screens). You'll see "Failed to reach external server" message on the top.
3) Turn Internet back on. Close the Create account window, and click it again. Now it tries to reach fuel master node, not Mirantis link:
Request URL:http://10.20.0.2:8000/api/tracking/registration?_=1428690692431
Fuel REST API returns: Status Code:400 Bad Request
4) Even if you close window and repeat it over, it will be still trying to use 10.20.0.2.

If you reload the page, then it will try to use initial Mirantis address, so everything would work fine.

Tags: ui
Revision history for this message
Alexandra Morozova (astepanchuk) wrote :

What should be the expected result here?

Changed in fuel:
status: New → Confirmed
importance: Undecided → Low
tags: added: ui
Changed in fuel:
assignee: Fuel UI Team (fuel-ui) → Nikolay Markov (nmarkov)
Revision history for this message
Nikolay Markov (nmarkov) wrote :

Mike, this is actually a proper behavior, the error was that Nailgun did some bad job passing request to remote server (if UI couldn't do it). I'm working on it.

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

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

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

Reviewed: https://review.openstack.org/172918
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=7e5c443c1c577740977404219f0c3d49e9e409f5
Submitter: Jenkins
Branch: master

commit 7e5c443c1c577740977404219f0c3d49e9e409f5
Author: Nikolay Markov <email address hidden>
Date: Mon Apr 13 16:33:45 2015 +0300

    Fixed requests from backend to remote server

    Nailgun is now using content-type:application/json instead of
    multipart-form-data while sending data to remote server API

    Change-Id: I867bf235e1d9d8855ff1395cf76f3a0b02504b5e
    Closes-Bug: #1442762

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.