Knife node shows empty role

A knife node show -a Role shows Roles attribute as empty, even though a
particular node has a role specified in its run list.

The funny thing is even after executing chef-client on the server; still its
node shows empty role.

Can someone please suggest if I am missing anything.

clinet
Chef: 11.4.4

many thanks
Aniket

I believe you want knife node show -a roles (lower case and plural)

On Sun, May 4, 2014 at 4:20 PM, asharad@adobe.com wrote:

A knife node show -a Role shows Roles attribute as empty, even though a
particular node has a role specified in its run list.

The funny thing is even after executing chef-client on the server; still
its
node shows empty role.

Can someone please suggest if I am missing anything.

clinet
Chef: 11.4.4

many thanks
Aniket

Hi David

That’s what shows empty.
I had specified the roles in run list of the node and I see it empty with the command you suggested. Do I need to update the role against another attribute?

Thanks
Aniket

From: David Petzel [mailto:davidpetzel@gmail.com]
Sent: 05 May 2014 18:19
To: chef@lists.opscode.com
Subject: [chef] Re: knife node shows empty role

I believe you want knife node show -a roles (lower case and plural)

On Sun, May 4, 2014 at 4:20 PM, <asharad@adobe.commailto:asharad@adobe.com> wrote:
A knife node show -a Role shows Roles attribute as empty, even though a
particular node has a role specified in its run list.

The funny thing is even after executing chef-client on the server; still its
node shows empty role.

Can someone please suggest if I am missing anything.

clinet
Chef: 11.4.4

many thanks
Aniket