cli. fuel nodegroup --assign --node command always returns 405 (method not allowed)

Bug #1464682 reported by Egor Kotko
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Ryan Moe
6.1.x
In Progress
High
Alex Ermolov
7.0.x
Fix Released
High
Ryan Moe

Bug Description

{"build_id": "2015-05-24_15-51-50", "build_number": "462", "release_versions": {"2014.2.2-6.1": {"VERSION": {"build_id": "2015-05-24_15-51-50", "build_number": "462", "api": "1.0", "fuel-library_sha": "889c2534ceadf8afd5d1540c1cadbd913c0c8c14", "nailgun_sha": "76441596e4fe6420cc7819427662fa244e150177", "feature_groups": ["mirantis"], "openstack_version": "2014.2.2-6.1", "production": "docker", "python-fuelclient_sha": "e19f1b65792f84c4a18b5a9473f85ef3ba172fce", "astute_sha": "0bd72c72369e743376864e8e8dabfe873d40450a", "fuel-ostf_sha": "9a5f55602c260d6c840c8333d8f32ec8cfa65c1f", "release": "6.1", "fuelmain_sha": "5c8ebddf64ea93000af2de3ccdb4aa8bb766ce93"}}}, "auth_required": true, "api": "1.0", "fuel-library_sha": "889c2534ceadf8afd5d1540c1cadbd913c0c8c14", "nailgun_sha": "76441596e4fe6420cc7819427662fa244e150177", "feature_groups": ["mirantis"], "openstack_version": "2014.2.2-6.1", "production": "docker", "python-fuelclient_sha": "e19f1b65792f84c4a18b5a9473f85ef3ba172fce", "astute_sha": "0bd72c72369e743376864e8e8dabfe873d40450a", "fuel-ostf_sha": "9a5f55602c260d6c840c8333d8f32ec8cfa65c1f", "release": "6.1", "fuelmain_sha": "5c8ebddf64ea93000af2de3ccdb4aa8bb766ce93"}

Steps to reproduce:
1) Assign by nodegroup node, use existing node_id, group_id
2) Assign by nodegroup node, use non existing node_id, group_id
3) Compare the result:

Expected result:
With non exists IDs should appears appropriate message

Actual result:
http://paste.openstack.org/show/285182/

Changed in fuel:
importance: Low → Medium
status: New → Confirmed
summary: - cli. fuel nodegroup --assign responce with equial error message on exist
- and non exist parameters IDs
+ cli. fuel nodegroup --assign --node command always returns 405
summary: - cli. fuel nodegroup --assign --node command always returns 405
+ cli. fuel nodegroup --assign --node command always returns 405 (method
+ not allowed)
Revision history for this message
Aleksey Kasatkin (alekseyk-ru) wrote :

Medium priority because nodes can be added into groups still:

https://docs.mirantis.com/openstack/fuel/fuel-6.0/operations.html#configuring-multiple-cluster-networks

So, point 6 from the docs doesn't work.

Revision history for this message
Aleksey Kasatkin (alekseyk-ru) wrote :

To add to some new group the node which is already added into envionment user will need to remove it from the env and add it back then (group's networks should be configured before nodes are added).

Ryan Moe (rmoe)
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Ryan Moe (rmoe)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-fuelclient (master)

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

Changed in fuel:
status: Confirmed → In Progress
Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-fuelclient (stable/6.1)

Fix proposed to branch: stable/6.1
Review: https://review.openstack.org/199593

Andrew Woodward (xarses)
tags: added: customer-found
Andrew Woodward (xarses)
tags: added: feature-nodegroup
Revision history for this message
Alexander Bochkarev (abochkarev) wrote :

Verified on 288 ISO.
VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "7.0"
  openstack_version: "2015.1.0-7.0"
  api: "1.0"
  build_number: "288"
  build_id: "288"
  nailgun_sha: "93477f9b42c5a5e0506248659f40bebc9ac23943"
  python-fuelclient_sha: "1ce8ecd8beb640f2f62f73435f4e18d1469979ac"
  fuel-agent_sha: "082a47bf014002e515001be05f99040437281a2d"
  fuel-nailgun-agent_sha: "d7027952870a35db8dc52f185bb1158cdd3d1ebd"
  astute_sha: "a717657232721a7fafc67ff5e1c696c9dbeb0b95"
  fuel-library_sha: "121016a09b0e889994118aa3ea42fa67eabb8f25"
  fuel-ostf_sha: "1f08e6e71021179b9881a824d9c999957fcc7045"
  fuelmain_sha: "6b83d6a6a75bf7bca3177fcf63b2eebbf1ad0a85"

tags: added: on-verification
tags: removed: on-verification
Revision history for this message
Alexander Gubanov (ogubanov) wrote :

Verified on MOS 7.0 (build 257) - have some problem.
Details: http://pastebin.com/hgPBbPTa

Changed in fuel:
status: Fix Committed → Confirmed
Revision history for this message
Aleksey Kasatkin (alekseyk-ru) wrote :

Validation should be extended for corresponding API handler (NodeHandler) to cover such cases.

Revision history for this message
Aleksey Kasatkin (alekseyk-ru) wrote :

Let's make a separate bug as this works with correct parameters now.

Revision history for this message
Aleksey Kasatkin (alekseyk-ru) wrote :
Revision history for this message
Alexander Bochkarev (abochkarev) wrote :

I'm changing status to 'Fix Released' because a separate bug has been made. Please see the link to the bug above.

Changed in fuel:
status: Confirmed → Fix Committed
status: Fix Committed → Fix Released
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/python-fuelclient (stable/6.1)

Fix proposed to branch: stable/6.1
Change author: Alex Ermolov <email address hidden>
Review: https://review.fuel-infra.org/23440

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-fuelclient (stable/6.1)

Change abandoned by Tony Breeds (<email address hidden>) on branch: stable/6.1
Review: https://review.openstack.org/199593
Reason: This branch (stable/6.1) is at End Of Life

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.