# Node Delete and User Delete

**URL:** https://discourse.chef.io/t/node-delete-and-user-delete/2096
**Category:** Chef Infra (archive)
**Created:** [October 12, 2011, 5:00pm UTC](https://discourse.chef.io/t/node-delete-and-user-delete/2096 "2011-10-12T17:00:29Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Wade\_Peacock](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/wade_peacock/32/78_2.png) [@Wade\_Peacock](https://discourse.chef.io/u/Wade_Peacock)
#### Post date: [October 12, 2011, 5:00pm UTC](https://discourse.chef.io/t/node-delete-and-user-delete/2096/1 "2011-10-12T17:00:29Z")

</div>

I’ve search the list archive and the web but I’ve not found anyone else that has mentioned this.

I’m testing chef 0.10.4 on Centos 5.  
I’ve used both the rpm (chef-server) and the chef-solo bootstrap (to chef-server) methods.

I’ve found that I’m not able to delete nodes or users.  
When I attempt to delete a node the webui simply cycles on itself.  
When I attempt to delete a user I get a merb 404 error.

Is this a known bug?

Thanks,  
Wade Peacock

---

<div class="post-metadata">

### Author: ![Ranjib\_Dey](https://avatars.discourse-cdn.com/v4/letter/r/8e8cbc/32.png) [@Ranjib\_Dey](https://discourse.chef.io/u/Ranjib_Dey)
#### Post date: [October 12, 2011, 5:03pm UTC](https://discourse.chef.io/t/node-delete-and-user-delete/2096/2 "2011-10-12T17:03:38Z")

</div>

how you are deleting(knife or webui ) ? are you using an admin client?

On Wed, Oct 12, 2011 at 10:30 PM, Wade Peacock \<  
[Wade.Peacock@visioncritical.com](mailto:Wade.Peacock@visioncritical.com)\> wrote:

> I've search the list archive and the web but I've not found anyone else  
> that has mentioned this.
> 
> I'm testing chef 0.10.4 on Centos 5.  
> I've used both the rpm (chef-server) and the chef-solo bootstrap (to  
> chef-server) methods.
> 
> I've found that I'm not able to delete nodes or users.  
> When I attempt to delete a node the webui simply cycles on itself.  
> When I attempt to delete a user I get a merb 404 error.
> 
> Is this a known bug?
> 
> Thanks,  
> Wade Peacock

---

<div class="post-metadata">

### Author: ![Wade\_Peacock](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/wade_peacock/32/78_2.png) [@Wade\_Peacock](https://discourse.chef.io/u/Wade_Peacock)
#### Post date: [October 12, 2011, 5:05pm UTC](https://discourse.chef.io/t/node-delete-and-user-delete/2096/3 "2011-10-12T17:05:24Z")

</div>

Logged in as “admin” via the webui.

From: Ranjib Dey [[mailto:ranjibd@thoughtworks.com](mailto:ranjibd@thoughtworks.com)]  
Sent: Wednesday, October 12, 2011 10:04 AM  
To: [chef@lists.opscode.com](mailto:chef@lists.opscode.com)  
Subject: [chef] Re: Node Delete and User Delete

how you are deleting(knife or webui ) ? are you using an admin client?  
On Wed, Oct 12, 2011 at 10:30 PM, Wade Peacock \<[Wade.Peacock@visioncritical.com](mailto:Wade.Peacock@visioncritical.com)[mailto:Wade.Peacock@visioncritical.com](mailto:Wade.Peacock@visioncritical.com)\> wrote:  
I’ve search the list archive and the web but I’ve not found anyone else that has mentioned this.

I’m testing chef 0.10.4 on Centos 5.  
I’ve used both the rpm (chef-server) and the chef-solo bootstrap (to chef-server) methods.

I’ve found that I’m not able to delete nodes or users.  
When I attempt to delete a node the webui simply cycles on itself.  
When I attempt to delete a user I get a merb 404 error.

Is this a known bug?

Thanks,  
Wade Peacock

---

<div class="post-metadata">

### Author: ![Ranjib\_Dey](https://avatars.discourse-cdn.com/v4/letter/r/8e8cbc/32.png) [@Ranjib\_Dey](https://discourse.chef.io/u/Ranjib_Dey)
#### Post date: [October 12, 2011, 5:09pm UTC](https://discourse.chef.io/t/node-delete-and-user-delete/2096/4 "2011-10-12T17:09:47Z")

</div>

then you are an admin client. check the chef-server-log.  
/var/log/chef/server.log

On Wed, Oct 12, 2011 at 10:35 PM, Wade Peacock \<  
[Wade.Peacock@visioncritical.com](mailto:Wade.Peacock@visioncritical.com)\> wrote:

> Logged in as “admin” via the webui.\*\*\*\*
> 
> * * *
> 
> * * *
> 
> _From:_ Ranjib Dey [[mailto:ranjibd@thoughtworks.com](mailto:ranjibd@thoughtworks.com)]  
> _Sent:_ Wednesday, October 12, 2011 10:04 AM  
> _To:_ [chef@lists.opscode.com](mailto:chef@lists.opscode.com)  
> _Subject:_ [chef] Re: Node Delete and User Delete\*\*\*\*
> 
> * * *
> 
> how you are deleting(knife or webui ) ? are you using an admin client? \*\*\*  
> \*
> 
> On Wed, Oct 12, 2011 at 10:30 PM, Wade Peacock \<  
> [Wade.Peacock@visioncritical.com](mailto:Wade.Peacock@visioncritical.com)\> wrote:\*\*\*\*
> 
> I've search the list archive and the web but I've not found anyone else  
> that has mentioned this.
> 
> I'm testing chef 0.10.4 on Centos 5.  
> I've used both the rpm (chef-server) and the chef-solo bootstrap (to  
> chef-server) methods.
> 
> I've found that I'm not able to delete nodes or users.  
> When I attempt to delete a node the webui simply cycles on itself.  
> When I attempt to delete a user I get a merb 404 error.
> 
> Is this a known bug?
> 
> Thanks,  
> Wade Peacock\*\*\*\*
> 
> * * *

---

<div class="post-metadata">

### Author: ![bbaugher](https://avatars.discourse-cdn.com/v4/letter/b/97f17d/32.png) [@bbaugher](https://discourse.chef.io/u/bbaugher)
#### Post date: [October 12, 2011, 5:13pm UTC](https://discourse.chef.io/t/node-delete-and-user-delete/2096/5 "2011-10-12T17:13:40Z")

</div>

How did you install chef-server? I had a similar problem with RHEL 5 and  
doing a manual install.

Bryan

On Wed, Oct 12, 2011 at 12:00 PM, Wade Peacock \<  
[Wade.Peacock@visioncritical.com](mailto:Wade.Peacock@visioncritical.com)\> wrote:

> I've search the list archive and the web but I've not found anyone else  
> that has mentioned this.
> 
> I'm testing chef 0.10.4 on Centos 5.  
> I've used both the rpm (chef-server) and the chef-solo bootstrap (to  
> chef-server) methods.
> 
> I've found that I'm not able to delete nodes or users.  
> When I attempt to delete a node the webui simply cycles on itself.  
> When I attempt to delete a user I get a merb 404 error.
> 
> Is this a known bug?
> 
> Thanks,  
> Wade Peacock

---

<div class="post-metadata">

### Author: ![Aaron\_Abramson](https://avatars.discourse-cdn.com/v4/letter/a/71e660/32.png) [@Aaron\_Abramson](https://discourse.chef.io/u/Aaron_Abramson)
#### Post date: [October 12, 2011, 5:15pm UTC](https://discourse.chef.io/t/node-delete-and-user-delete/2096/6 "2011-10-12T17:15:35Z")

</div>

Doesn't logging in as "admin" via the webui, actually use the webui client? So the webui client needs to be granted admin priviliges before deletes via webui actually work?

On Oct 12, 2011, at 12:09 PM, Ranjib Dey wrote:

> then you are an admin client. check the chef-server-log. /var/log/chef/server.log
> 
> On Wed, Oct 12, 2011 at 10:35 PM, Wade Peacock [Wade.Peacock@visioncritical.com](mailto:Wade.Peacock@visioncritical.com) wrote:  
> Logged in as “admin” via the webui.
> 
> From: Ranjib Dey [[mailto:ranjibd@thoughtworks.com](mailto:ranjibd@thoughtworks.com)]  
> Sent: Wednesday, October 12, 2011 10:04 AM  
> To: [chef@lists.opscode.com](mailto:chef@lists.opscode.com)  
> Subject: [chef] Re: Node Delete and User Delete
> 
> how you are deleting(knife or webui ) ? are you using an admin client?
> 
> On Wed, Oct 12, 2011 at 10:30 PM, Wade Peacock [Wade.Peacock@visioncritical.com](mailto:Wade.Peacock@visioncritical.com) wrote:
> 
> I've search the list archive and the web but I've not found anyone else that has mentioned this.
> 
> I'm testing chef 0.10.4 on Centos 5.  
> I've used both the rpm (chef-server) and the chef-solo bootstrap (to chef-server) methods.
> 
> I've found that I'm not able to delete nodes or users.  
> When I attempt to delete a node the webui simply cycles on itself.  
> When I attempt to delete a user I get a merb 404 error.
> 
> Is this a known bug?
> 
> Thanks,  
> Wade Peacock

---

<div class="post-metadata">

### Author: ![Ranjib\_Dey](https://avatars.discourse-cdn.com/v4/letter/r/8e8cbc/32.png) [@Ranjib\_Dey](https://discourse.chef.io/u/Ranjib_Dey)
#### Post date: [October 12, 2011, 5:27pm UTC](https://discourse.chef.io/t/node-delete-and-user-delete/2096/7 "2011-10-12T17:27:26Z")

</div>

webui is an admin client, i think chef-server-webui creates this admin  
client as part of the installation process..

On Wed, Oct 12, 2011 at 10:45 PM, Aaron Abramson [aabramson@wi-figuys.com](mailto:aabramson@wi-figuys.com)wrote:

> Doesn't logging in as "admin" via the webui, actually use the webui client?  
> So the webui client needs to be granted admin priviliges before deletes via  
> webui actually work?
> 
> On Oct 12, 2011, at 12:09 PM, Ranjib Dey wrote:
> 
> then you are an admin client. check the chef-server-log.  
> /var/log/chef/server.log
> 
> On Wed, Oct 12, 2011 at 10:35 PM, Wade Peacock \<  
> [Wade.Peacock@visioncritical.com](mailto:Wade.Peacock@visioncritical.com)\> wrote:
> 
> > Logged in as “admin” via the webui.\*\*\*\*
> > 
> > * * *
> > 
> > * * *
> > 
> > _From:_ Ranjib Dey [[mailto:ranjibd@thoughtworks.com](mailto:ranjibd@thoughtworks.com)]  
> > _Sent:_ Wednesday, October 12, 2011 10:04 AM  
> > _To:_ [chef@lists.opscode.com](mailto:chef@lists.opscode.com)  
> > _Subject:_ [chef] Re: Node Delete and User Delete\*\*\*\*
> > 
> > * * *
> > 
> > how you are deleting(knife or webui ) ? are you using an admin client? \*\*  
> > \*\*
> > 
> > On Wed, Oct 12, 2011 at 10:30 PM, Wade Peacock \<  
> > [Wade.Peacock@visioncritical.com](mailto:Wade.Peacock@visioncritical.com)\> wrote:\*\*\*\*
> > 
> > I've search the list archive and the web but I've not found anyone else  
> > that has mentioned this.
> > 
> > I'm testing chef 0.10.4 on Centos 5.  
> > I've used both the rpm (chef-server) and the chef-solo bootstrap (to  
> > chef-server) methods.
> > 
> > I've found that I'm not able to delete nodes or users.  
> > When I attempt to delete a node the webui simply cycles on itself.  
> > When I attempt to delete a user I get a merb 404 error.
> > 
> > Is this a known bug?
> > 
> > Thanks,  
> > Wade Peacock\*\*\*\*
> > 
> > * * *

---

<div class="post-metadata">

### Author: ![Wade\_Peacock](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/wade_peacock/32/78_2.png) [@Wade\_Peacock](https://discourse.chef.io/u/Wade_Peacock)
#### Post date: [October 12, 2011, 5:34pm UTC](https://discourse.chef.io/t/node-delete-and-user-delete/2096/8 "2011-10-12T17:34:06Z")

</div>

Here is the process that I been following for the manual install. I derived this from reading the wiki’s

wget -O /etc/yum.repos.d/aegisco.repo [http://rpm.aegisco.com/aegisco/el5/aegisco.repo](http://rpm.aegisco.com/aegisco/el5/aegisco.repo)

rpm -Uvh [http://rbel.frameos.org/rbel5](http://rbel.frameos.org/rbel5)

yum install ruby ruby-devel ruby-ri ruby-rdoc gcc gcc-c++ gcc44 gcc44-c++ automake autoconf make curl gecode-devel flex bison zlib-devel libxml2-devel giflib libXtst jpackage-utils rabbitmq-server erlang-R12B erlang-mochiweb erlang-oauth erlang-ibrowse

mv /usr/bin/gcc /usr/bin/gcc412  
mv /usr/bin/g++ /usr/bin/g++412

ln -s /usr/bin/gcc44 /usr/bin/gcc  
ln -s /usr/bin/g++44 /usr/bin/g++

service couchdb start

cd /tmp  
curl -O [http://production.cf.rubygems.org/rubygems/rubygems-1.8.10.tgz](http://production.cf.rubygems.org/rubygems/rubygems-1.8.10.tgz)  
tar zxf rubygems-1.8.10.tgz  
cd rubygems-1.8.10  
sudo ruby setup.rb --no-format-executable

gem install chef --no-ri --no-rdoc

mkdir /etc/chef

#### 

echo ‘file\_cache\_path “/tmp/chef-solo”’ \> /etc/chef/solo.rb  
echo ‘cookbook\_path “/tmp/chef-solo/cookbooks”’ \>\> /etc/chef/solo.rb

#### 

echo ‘{  
“chef\_server”: {  
“server\_url”: “[http://10.20.32.117:4000](http://10.20.32.117:4000)”,  
“webui\_enabled”: true  
},  
“run\_list”: [“recipe[chef-server::rubygems-install]” ]  
}’ \> ~/chef.json

chef-solo -c /etc/chef/solo.rb -j ~/chef.json -r [http://s3.amazonaws.com/chef-solo/bootstrap-latest.tar.gz](http://s3.amazonaws.com/chef-solo/bootstrap-latest.tar.gz)

From: Bryan Baugher [[mailto:bjbq4d@gmail.com](mailto:bjbq4d@gmail.com)]  
Sent: Wednesday, October 12, 2011 10:14 AM  
To: [chef@lists.opscode.com](mailto:chef@lists.opscode.com)  
Subject: [chef] Re: Node Delete and User Delete

How did you install chef-server? I had a similar problem with RHEL 5 and doing a manual install.

Bryan  
On Wed, Oct 12, 2011 at 12:00 PM, Wade Peacock \<[Wade.Peacock@visioncritical.com](mailto:Wade.Peacock@visioncritical.com)[mailto:Wade.Peacock@visioncritical.com](mailto:Wade.Peacock@visioncritical.com)\> wrote:  
I’ve search the list archive and the web but I’ve not found anyone else that has mentioned this.

I’m testing chef 0.10.4 on Centos 5.  
I’ve used both the rpm (chef-server) and the chef-solo bootstrap (to chef-server) methods.

I’ve found that I’m not able to delete nodes or users.  
When I attempt to delete a node the webui simply cycles on itself.  
When I attempt to delete a user I get a merb 404 error.

Is this a known bug?

Thanks,  
Wade Peacock

---

<div class="post-metadata">

### Author: ![bbaugher](https://avatars.discourse-cdn.com/v4/letter/b/97f17d/32.png) [@bbaugher](https://discourse.chef.io/u/bbaugher)
#### Post date: [October 12, 2011, 6:00pm UTC](https://discourse.chef.io/t/node-delete-and-user-delete/2096/9 "2011-10-12T18:00:18Z")

</div>

I don't know if you would be willing to do this, but I ended up giving up on  
trying to fix it, wiped the box and just used this installer instead.

[http://blog.frameos.org/2011/04/29/installing-chef-server-0-10-in-centos-5-rhel-5/](http://blog.frameos.org/2011/04/29/installing-chef-server-0-10-in-centos-5-rhel-5/)

Bryan

On Wed, Oct 12, 2011 at 12:34 PM, Wade Peacock \<  
[Wade.Peacock@visioncritical.com](mailto:Wade.Peacock@visioncritical.com)\> wrote:

> Here is the process that I been following for the manual install. I  
> derived this from reading the wiki’s\*\*\*\*
> 
> * * *
> 
> * * *
> 
> wget -O /etc/yum.repos.d/aegisco.repo  
> [http://rpm.aegisco.com/aegisco/el5/aegisco.repo](http://rpm.aegisco.com/aegisco/el5/aegisco.repo)\*\*\*\*
> 
> * * *
> 
> rpm -Uvh [http://rbel.frameos.org/rbel5](http://rbel.frameos.org/rbel5)\*\*\*\*
> 
> * * *
> 
> yum install ruby ruby-devel ruby-ri ruby-rdoc gcc gcc-c++ gcc44 gcc44-c++  
> automake autoconf make curl gecode-devel flex bison zlib-devel libxml2-devel  
> giflib libXtst jpackage-utils rabbitmq-server erlang-R12B erlang-mochiweb  
> erlang-oauth erlang-ibrowse\*\*\*\*
> 
> * * *
> 
> mv /usr/bin/gcc /usr/bin/gcc412\*\*\*\*
> 
> mv /usr/bin/g++ /usr/bin/g++412\*\*\*\*
> 
> * * *
> 
> ln -s /usr/bin/gcc44 /usr/bin/gcc\*\*\*\*
> 
> ln -s /usr/bin/g++44 /usr/bin/g++\*\*\*\*
> 
> * * *
> 
> service couchdb start\*\*\*\*
> 
> * * *
> 
> cd /tmp\*\*\*\*
> 
> curl -O [http://production.cf.rubygems.org/rubygems/rubygems-1.8.10.tgz](http://production.cf.rubygems.org/rubygems/rubygems-1.8.10.tgz)\*\*\*\*
> 
> tar zxf rubygems-1.8.10.tgz\*\*\*\*
> 
> cd rubygems-1.8.10\*\*\*\*
> 
> sudo ruby setup.rb --no-format-executable\*\*\*\*
> 
> * * *
> 
> gem install chef --no-ri --no-rdoc\*\*\*\*
> 
> * * *
> 
> mkdir /etc/chef\*\*\*\*
> 
> * * *
> 
> ####\*\*\*\*
> 
> * * *
> 
> echo 'file\_cache\_path "/tmp/chef-solo"' \> /etc/chef/solo.rb\*\*\*\*
> 
> echo 'cookbook\_path "/tmp/chef-solo/cookbooks"' \>\> /etc/chef/solo.rb\*\*\*\*
> 
> * * *
> 
> ####\*\*\*\*
> 
> * * *
> 
> echo '{\*\*\*\*
> 
> "chef\_server": {\*\*\*\*
> 
> ```
> "server_url": "http://10.20.32.117:4000", ****
> 
> "webui_enabled": true ****
> 
> ```
> 
> },\*\*\*\*
> 
> "run\_list": ["recipe[chef-server::rubygems-install]" ]\*\*\*\*
> 
> }' \> ~/chef.json\*\*\*\*
> 
> * * *
> 
> chef-solo -c /etc/chef/solo.rb -j ~/chef.json -r  
> [http://s3.amazonaws.com/chef-solo/bootstrap-latest.tar.gz](http://s3.amazonaws.com/chef-solo/bootstrap-latest.tar.gz)\*\*\*\*
> 
> * * *
> 
> * * *
> 
> * * *
> 
> _From:_ Bryan Baugher [[mailto:bjbq4d@gmail.com](mailto:bjbq4d@gmail.com)]  
> _Sent:_ Wednesday, October 12, 2011 10:14 AM
> 
> _To:_ [chef@lists.opscode.com](mailto:chef@lists.opscode.com)  
> _Subject:_ [chef] Re: Node Delete and User Delete\*\*\*\*
> 
> * * *
> 
> How did you install chef-server? I had a similar problem with RHEL 5 and  
> doing a manual install.
> 
> Bryan\*\*\*\*
> 
> On Wed, Oct 12, 2011 at 12:00 PM, Wade Peacock \<  
> [Wade.Peacock@visioncritical.com](mailto:Wade.Peacock@visioncritical.com)\> wrote:\*\*\*\*
> 
> I've search the list archive and the web but I've not found anyone else  
> that has mentioned this.
> 
> I'm testing chef 0.10.4 on Centos 5.  
> I've used both the rpm (chef-server) and the chef-solo bootstrap (to  
> chef-server) methods.
> 
> I've found that I'm not able to delete nodes or users.  
> When I attempt to delete a node the webui simply cycles on itself.  
> When I attempt to delete a user I get a merb 404 error.
> 
> Is this a known bug?
> 
> Thanks,  
> Wade Peacock\*\*\*\*
> 
> * * *
