Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ceph-volume: Add linesep/newline at end of JSON file when writing #19458

Merged
merged 1 commit into from Dec 16, 2017

Conversation

wido
Copy link
Member

@wido wido commented Dec 12, 2017

Instead of:

    "systemd": "",
    "type": "bluestore",
    "whoami": "0"
  }root@alpha:~#

A newline is added to the JSON file when writing:

    "type": "bluestore",
    "whoami": "0"
  }
  root@alpha:~#

Makes it a bit easier to read the JSON files on a terminal

Signed-off-by: Wido den Hollander wido@42on.com

Instead of:

    "systemd": "",
    "type": "bluestore",
    "whoami": "0"
  }root@alpha:~#

A newline is added to the JSON file when writing:

    "type": "bluestore",
    "whoami": "0"
  }
  root@alpha:~#

Makes it a bit easier to read the JSON files on a terminal

Signed-off-by: Wido den Hollander <wido@42on.com>
Copy link
Contributor

@alfredodeza alfredodeza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@andrewschoen want to take a look? I guess this would still load fine

@alfredodeza
Copy link
Contributor

jenkins test ceph-volume tox

@alfredodeza
Copy link
Contributor

@wido to test this we will need this branch on ceph-ci.git

Mind pushing there?

@wido
Copy link
Member Author

wido commented Dec 16, 2017

Done! It's in the CI repo as well

@alfredodeza
Copy link
Contributor

The only failure here was ceph-disk not being able to activate:

mount_activate: Failed to activate

Everything on ceph-volume's side for the simple sub-command worked. This looks good to go. Thank you @wido for the PR

@alfredodeza alfredodeza merged commit 4ee0e9e into ceph:master Dec 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants