remove_ceph_mons: A JSON text must at least contain two octets!

Bug #1453975 reported by Vladimir Sharshov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Vladimir Sharshov

Bug Description

Step to reproduce:

1. Create cluster with cinder nodes without ceph
2. Add mistake for primary-controller manifest
3. Deploy
4. Get deployment error
4. Try to delete controller node

Including fix https://review.openstack.org/#/c/182068/

 Error running RPC method remove_nodes: A JSON text must at least contain two octets!, trace:
["/usr/lib64/ruby/2.1.0/json/common.rb:155:in `initialize'",
 "/usr/lib64/ruby/2.1.0/json/common.rb:155:in `new'",
 "/usr/lib64/ruby/2.1.0/json/common.rb:155:in `parse'",
 "/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/pre_delete.rb:90:in `remove_ceph_mons'",
 "/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/orchestrator.rb:200:in `remove_ceph_mons'",
 "/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/orchestrator.rb:208:in `perform_pre_deletion_tasks'",
 "/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/orchestrator.rb:101:in `remove_nodes'",
 "/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/server/dispatcher.rb:168:in `remove_nodes'",
 "/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/server/server.rb:142:in `dispatch_message'",
 "/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/server/server.rb:103:in `block in dispatch'",
 "/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/server/task_queue.rb:64:in `call'",
 "/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/server/task_queue.rb:64:in `block in each'",
 "/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/server/task_queue.rb:56:in `each'",
 "/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/server/task_queue.rb:56:in `each'",
 "/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/server/server.rb:101:in `each_with_index'",
 "/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/server/server.rb:101:in `dispatch'",
 "/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/server/server.rb:85:in `block in perform_main_job'"]

description: updated
description: updated
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/182100

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

Reviewed: https://review.openstack.org/182100
Committed: https://git.openstack.org/cgit/stackforge/fuel-astute/commit/?id=6be83225930ffff4e06feaa04cb97a1f8bfe2de1
Submitter: Jenkins
Branch: master

commit 6be83225930ffff4e06feaa04cb97a1f8bfe2de1
Author: Vladimir Sharshov (warpc) <email address hidden>
Date: Tue May 12 00:56:11 2015 +0300

    Exception handling in case of unconfigured or not-installed ceph mons

    Change-Id: I5371cc9085f0d501d23f8f91b352ed0e08598880
    Closes-Bug: #1453975

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Alyona Kiseleva (akiselyova) wrote :

Verified on
VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "6.1"
  openstack_version: "2014.2.2-6.1"
  api: "1.0"
  build_number: "437"
  build_id: "2015-05-19_10-05-51"
  nailgun_sha: "593c99f2b46cf52b2be6c7c6e182b6ba9f2232cd"
  python-fuelclient_sha: "e19f1b65792f84c4a18b5a9473f85ef3ba172fce"
  astute_sha: "96801c5bccb14aa3f2a0d7f27f4a4b6dd2b4a548"
  fuel-library_sha: "2814c51668f487e97e1449b078bad1942421e6b9"
  fuel-ostf_sha: "9ce1800749081780b8b2a4a7eab6586583ffaf33"
  fuelmain_sha: "68796aeaa7b669e68bc0976ffd616709c937187a"

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.