I’ve been again trying to upgrade our Chef server to 11.
knife upload fails with
ERROR: JSON::ParserError: Unsupported json_class type ‘Chef::WebUIUser’
When I remove all the .json files from user/, the upload succeeds.
knife user list also shows them to me, but I can’t login to the web
interface using the old password.
After resetting my password through the API, I’m able to login.
We don’t have that many users, so it might be possible that everybody
does this, however it feels not very convenient and the way to go.
you have to update the chef-client , theres a json related bug which is
causing this (something related to gem dependencies ). we have reported
bugs against this in tickets.opscode.com (search that site and u’ll get
more info on the fixes).
On Tue, Oct 29, 2013 at 10:31 AM, Steffen Gebert st+gmane@st-g.de wrote:
Hi,
I’ve been again trying to upgrade our Chef server to 11.
knife upload fails with
ERROR: JSON::ParserError: Unsupported json_class type ‘Chef::WebUIUser’
When I remove all the .json files from user/, the upload succeeds.
knife user list also shows them to me, but I can’t login to the web
interface using the old password.
After resetting my password through the API, I’m able to login.
We don’t have that many users, so it might be possible that everybody
does this, however it feels not very convenient and the way to go.
I’ve been again trying to upgrade our Chef server to 11.
knife upload fails with
ERROR: JSON::ParserError: Unsupported json_class type ‘Chef::WebUIUser’
When I remove all the .json files from user/, the upload succeeds.
What version of knife are you running? As a start, I’d recommend making
sure you are either on the latest patch release of Chef 10.x or (if
possible) upgrade to Chef 11.x for your workstation.
knife user list also shows them to me, but I can’t login to the web
interface using the old password.
That part is expected. User (hashed) passwords are not transfered via
the knife download/upload upgrade path.
seth
–
Seth Falcon | Development Lead | Opscode | @sfalcon
you have to update the chef-client , theres a json related bug which is
causing this (something related to gem dependencies ). we have reported
bugs against this in tickets.opscode.com (search that site and u’ll get
more info on the fixes).
https://tickets.opscode.com/browse/CHEF-4515 ? Sounds different, but
valid for my case. I probably didn’t understand all the implications of
the already existing admin user in [1].
Still wondering why google didn’t show this to me.
you have to update the chef-client , theres a json related bug which is
causing this (something related to gem dependencies ). we have reported
bugs against this in tickets.opscode.com (search that site and u’ll get
more info on the fixes).
On Tue, Oct 29, 2013 at 10:31 AM, Steffen Gebert st+gmane@st-g.de wrote:
Hi,
I’ve been again trying to upgrade our Chef server to 11.
knife upload fails with
ERROR: JSON::ParserError: Unsupported json_class type ‘Chef::WebUIUser’
When I remove all the .json files from user/, the upload succeeds.
knife user list also shows them to me, but I can’t login to the web
interface using the old password.
After resetting my password through the API, I’m able to login.
We don’t have that many users, so it might be possible that everybody
does this, however it feels not very convenient and the way to go.
I’ve been again trying to upgrade our Chef server to 11.
knife upload fails with
ERROR: JSON::ParserError: Unsupported json_class type ‘Chef::WebUIUser’
When I remove all the .json files from user/, the upload succeeds.
What version of knife are you running? As a start, I’d recommend making
sure you are either on the latest patch release of Chef 10.x or (if
possible) upgrade to Chef 11.x for your workstation.
knife user list also shows them to me, but I can’t login to the web
interface using the old password.
That part is expected. User (hashed) passwords are not transfered via
the knife download/upload upgrade path.