tox -e docs fails due to faulty api sample

Bug #1539071 reported by Balazs Gibizer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Balazs Gibizer

Bug Description

tox -e docs fails on master (df8216b2bcf3657b1c89797d4e3ecc456cf27054) with

python -m json.tool doc/api_samples/servers/v2.19/server-put-req.json
Expecting property name: line 5 column 5 (char 117)
ERROR: InvocationError: '/bin/bash -c ! find doc/ -type f -name *.json | xargs -t -n1 python -m json.tool 2>&1 > /dev/null | grep -B1 -v ^python'
_____________________________________________________________________________________________________ summary ______________________________________________________________________________________________________
ERROR: docs: commands failed

It seem that doc/api_samples/servers/v2.19/server-put-req.json is not a valid json file.

Changed in nova:
assignee: nobody → Balazs Gibizer (balazs-gibizer)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

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

Reviewed: https://review.openstack.org/273520
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=1269f5aeb1e66df1e45c1c879bda3e63f45d7573
Submitter: Jenkins
Branch: master

commit 1269f5aeb1e66df1e45c1c879bda3e63f45d7573
Author: Balazs Gibizer <email address hidden>
Date: Thu Jan 28 14:05:03 2016 +0100

    doc: fix malformed api sample

    I74b1a340c5ab98fdea2186e87dd13f42ce7c7661 introduced a malformed api
    sample and the tox -e docs fails since then. This patch fixes the
    sample file.

    Closes-bug: #1539071
    Change-Id: Ica76db8928fc98db1a09074fdc46439c920e93d8

Changed in nova:
status: In Progress → 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.