Node Delete and User Delete


#1

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


#2

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> 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


#3

Logged in as “admin” via the webui.

From: Ranjib Dey [mailto:ranjibd@thoughtworks.com]
Sent: Wednesday, October 12, 2011 10:04 AM
To: 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.commailto: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


#4

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> wrote:

Logged in as “admin” via the webui.****



From: Ranjib Dey [mailto:ranjibd@thoughtworks.com]
Sent: Wednesday, October 12, 2011 10:04 AM
To: 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> 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****



#5

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> 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


#6

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 wrote:
Logged in as “admin” via the webui.

From: Ranjib Dey [mailto:ranjibd@thoughtworks.com]
Sent: Wednesday, October 12, 2011 10:04 AM
To: 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 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


#7

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.comwrote:

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> wrote:

Logged in as “admin” via the webui.****



From: Ranjib Dey [mailto:ranjibd@thoughtworks.com]
Sent: Wednesday, October 12, 2011 10:04 AM
To: 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> 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****



#8

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

rpm -Uvh 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
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

From: Bryan Baugher [mailto:bjbq4d@gmail.com]
Sent: Wednesday, October 12, 2011 10:14 AM
To: 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.commailto: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


#9

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/

Bryan

On Wed, Oct 12, 2011 at 12:34 PM, Wade Peacock <
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****


rpm -Uvh 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****

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****




From: Bryan Baugher [mailto:bjbq4d@gmail.com]
Sent: Wednesday, October 12, 2011 10:14 AM

To: 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> 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****