[smartos-discuss] Troubleshooting "Invalid JSON payload: Unexpected string" (LX Zone)

2016-09-22 Thread Matthew Parsons
(I’m not sure if it’s traditional to introduce oneself here, I’ll include the standard “I’m new here, feel free to point to me existing posts/documentation” disclaimer.) I’m attempting to create a pretty bog-standard LX zone, copying and barely modifying the example from https://wiki.smartos.o

Re: [smartos-discuss] Troubleshooting "Invalid JSON payload: Unexpected string" (LX Zone)

2016-09-22 Thread Johan Claesson
2016-09-22 10:09 Matthew Parsons wrote: (I'm not sure if it's traditional to introduce oneself here, I'll include the standard "I'm new here, feel free to point to me existing posts/documentation" disclaimer.) Hi and welcome to the community! I'm attempting to create a pretty bog-standard

Re: [smartos-discuss] Troubleshooting "Invalid JSON payload: Unexpected string" (LX Zone)

2016-09-22 Thread Seth Tunstall
Hi Matthew, I've also found that copy-pasting from the Joyent wiki introduces 'something' which the json parser doesn't like, maybe nulls or tabs or unicode whitespace chars or whatever. Doing 'vmadm get' on one of your VMs returns nicely formatted json which can be easily modified. Seth On 22

Re: [smartos-discuss] Troubleshooting "Invalid JSON payload: Unexpected string" (LX Zone)

2016-09-22 Thread Matthew Parsons
On Thu, Sep 22, 2016 at 1:24 AM, Johan Claesson wrote: > >> I'm attempting to create a pretty bog-standard LX zone, copying and >> barely modifying the example from https://wiki.smartos.org/displ >> ay/DOC/LX+Branded+Zones [1] like so: >> >> >>> > The problem is you're missing a comma on line 12

Re: [smartos-discuss] Troubleshooting "Invalid JSON payload: Unexpected string" (LX Zone)

2016-09-22 Thread Matthew Parsons
On Thu, Sep 22, 2016 at 3:39 AM, Seth Tunstall wrote: > Hi Matthew, > > I've also found that copy-pasting from the Joyent wiki introduces > 'something' which the json parser doesn't like, maybe nulls or tabs or > unicode whitespace chars or whatever. > I figured, so that's why I turned on "show

Re: [smartos-discuss] Pool scrub causes panic via spa_deadman and vdev_deadman

2016-09-22 Thread Brian Bennett
Daniel, I've created OS-5677 for this issue. https://smartos.org/bugview/OS-5677 -- Brian Bennett Systems Engineer, Cloud Operations Joyent, Inc. | www.joyent.com > On Sep 14, 2016, at 10:30 PM, Daniel Carosone > wrote: > > Some further developments: > > I noticed th

Re: [smartos-discuss] Troubleshooting "Invalid JSON payload: Unexpected string" (LX Zone)

2016-09-22 Thread Daniel Carosone
JSON is not UI. For those who don't use it regularly, there's an easy constructor for vmadm at datasets.at that will help avoid mistakes and frustration. --- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://ww