Chef Open Source Sever 12 RC

Hi There,

I download the RPM for Enterprise Linux (chef-server-core-12.0.0_rc.4-1.el5.x86_64.rpm) and installed it as per the instructions:

yum localinstall _the_rpm
chef-server-ctl reconfigure
chef-server install opscode-manage
opscode-manage-ctl reconfigure
chef-server install reconfigure

The server comes up nicely but I can’t seem to guess what the default username and admin is or if there is actually one created.

I don’t know how to create one or find out anything else.

chef-server-ctl status shows everything’s running but something with ‘move’ in the service name (opscode-move I think)
chef-server-ctl tail doesn’t show any obvious symptoms

Anyone know where I should look? Google seems to think it’s ‘admin’, ‘p@ssw0rd1’ but it doesn’t appear to like that.

DSL

On Mon, Oct 6, 2014 at 8:09 PM, David Lloyd lloy0076@adam.com.au wrote:

I download the RPM for Enterprise Linux
(chef-server-core-12.0.0_rc.4-1.el5.x86_64.rpm) and installed it as per the
instructions:

yum localinstall _the_rpm
chef-server-ctl reconfigure
chef-server install opscode-manage
opscode-manage-ctl reconfigure
chef-server install reconfigure

The server comes up nicely but I can’t seem to guess what the default
username and admin is or if there is actually one created.

There is not actually one created. As you installed the web UI
(opscode-manage), you can create one by loading it in your browser and
creating a new organization and a user.

Or, you can create one at the command line on the server; this is how
you would do it without the UI.

$ sudo chef-server-ctl org-create chef 'Chef' # takes short name,
descriptive name of the org -- spits out an RSA private key which is
the validation key for the org
$ sudo chef-server-ctl user-create admin Julian Dunn admin@getchef.com
abc123 # takes username, first/last name, email, password -- spits out
a user's RSA key
$ sudo chef-server-ctl org-associate chef admin # associates the
'admin' user with the 'chef' organization

chef-server-ctl status shows everything’s running but something with ‘move’
in the service name (opscode-move I think)

The display of opscode-mover (a onetime service used for migrations
from CouchDB) as being "down" is expected. That output will be
suppressed in a future release of Chef Server 12.

  • James Scott as I heard from other folks at summit that the creation
    procedure was confusing.
  • Julian

Hello,

On Mon, Oct 6, 2014 at 10:35 PM, Julian C. Dunn jdunn@aquezada.com wrote:

On Mon, Oct 6, 2014 at 8:09 PM, David Lloyd lloy0076@adam.com.au wrote:

There is not actually one created. As you installed the web UI
(opscode-manage), you can create one by loading it in your browser and
creating a new organization and a user.

Same subject, different issue here using
chef-server-core-12.0.0_rc.4-1.el5.x86_64

I did the installation of opscode-manage but when I try to create a new
account using
https://chef.bla.com/signup, I've got:

Email: A server error occurred. Please refresh and try again
Username: A server error occurred. Please refresh and try again

And I can't press the "Get Started" button

Looking here, I've got:

https://chef.bla.com/signup/validity/username?value=tiago

500
Smell something burning?
Sorry we have a small fire in the kitchen.
An unexpected error has occurred. Our staff are manning the fire
extinguishers and have been alerted.
Try refreshing the page, or contact us if the problem persists.

And "chef-server-ctl tail" only tell me this:

222.222.2.22 - - [06/Oct/2014:21:49:21 -0400] "GET
/signup/validity/username?value=tiago HTTP/1.1" 500 "63.127" 7537 "-"
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/34.0.1847.137 Safari/537.36" "127.0.0.1:9462" "500" "63.127" "-" "-"
"-" "-" "-" 749

Any ideas?

Thanks a lot!

Noah pointed out to me out-of-band that the user creation procedure is currently broken due to an ACL bug. Since I didn’t see an issue about that yet, I opened it:

https://github.com/opscode/opscode-omnibus/issues/534 https://github.com/opscode/opscode-omnibus/issues/534

Use the Web UI for now.

  • Julian

On Oct 6, 2014, at 8:09 PM, David Lloyd lloy0076@adam.com.au wrote:

Hi There,

I download the RPM for Enterprise Linux (chef-server-core-12.0.0_rc.4-1.el5.x86_64.rpm) and installed it as per the instructions:

yum localinstall _the_rpm
chef-server-ctl reconfigure
chef-server install opscode-manage
opscode-manage-ctl reconfigure
chef-server install reconfigure

The server comes up nicely but I can’t seem to guess what the default username and admin is or if there is actually one created.

I don’t know how to create one or find out anything else.

chef-server-ctl status shows everything’s running but something with ‘move’ in the service name (opscode-move I think)
chef-server-ctl tail doesn’t show any obvious symptoms

Anyone know where I should look? Google seems to think it’s ‘admin’, ‘p@ssw0rd1’ but it doesn’t appear to like that.

DSL

Tiago,

For that 500, can you try opscode-manage-ctl tail? You can also increase
the log level in /etc/opscode-manage/manage.rb (
manage.rb) to get more verbose
information about why you're seeing those errors.

Would be interested to see, either on or off list, what's happening there
to help you get it fixed.

Thanks

On Mon, Oct 6, 2014 at 9:02 PM, Tiago Cruz tiago.tuxkiller@gmail.com
wrote:

Hello,

On Mon, Oct 6, 2014 at 10:35 PM, Julian C. Dunn jdunn@aquezada.com
wrote:

On Mon, Oct 6, 2014 at 8:09 PM, David Lloyd lloy0076@adam.com.au
wrote:

There is not actually one created. As you installed the web UI
(opscode-manage), you can create one by loading it in your browser and
creating a new organization and a user.

Same subject, different issue here using
chef-server-core-12.0.0_rc.4-1.el5.x86_64

I did the installation of opscode-manage but when I try to create a new
account using
https://chef.bla.com/signup, I've got:

Email: A server error occurred. Please refresh and try again
Username: A server error occurred. Please refresh and try again

And I can't press the "Get Started" button

Looking here, I've got:

https://chef.bla.com/signup/validity/username?value=tiago

500
Smell something burning?
Sorry we have a small fire in the kitchen.
An unexpected error has occurred. Our staff are manning the fire
extinguishers and have been alerted.
Try refreshing the page, or contact us if the problem persists.

And "chef-server-ctl tail" only tell me this:

222.222.2.22 - - [06/Oct/2014:21:49:21 -0400] "GET
/signup/validity/username?value=tiago HTTP/1.1" 500 "63.127" 7537 "-"
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/34.0.1847.137 Safari/537.36" "127.0.0.1:9462" "500" "63.127" "-"
"-" "-" "-" "-" 749

Any ideas?

Thanks a lot!

--
Nathan L Smith
smith@getchef.com
(319) 339-0466

Hello Nathan,

That night I removed the new Chef 12 and installed the old Chef 11. Now,
everything is working good.

The next day, I installed the Chef 12 on my notebook (Ubuntu) and
everything worked as supposed to be.

Today, I installed again Chef 12 on CentOS 6 machine, and I just can't
reproduce the error again :frowning:

But, many thanks by your attention anyway :slight_smile:

On Tue, Oct 7, 2014 at 10:37 PM, Nathan L Smith smith@getchef.com wrote:

Tiago,

For that 500, can you try opscode-manage-ctl tail? You can also increase
the log level in /etc/opscode-manage/manage.rb (
manage.rb) to get more verbose
information about why you're seeing those errors.

Would be interested to see, either on or off list, what's happening there
to help you get it fixed.

Thanks

On Mon, Oct 6, 2014 at 9:02 PM, Tiago Cruz tiago.tuxkiller@gmail.com
wrote:

Hello,

On Mon, Oct 6, 2014 at 10:35 PM, Julian C. Dunn jdunn@aquezada.com
wrote:

On Mon, Oct 6, 2014 at 8:09 PM, David Lloyd lloy0076@adam.com.au
wrote:

There is not actually one created. As you installed the web UI
(opscode-manage), you can create one by loading it in your browser and
creating a new organization and a user.

Same subject, different issue here using
chef-server-core-12.0.0_rc.4-1.el5.x86_64

I did the installation of opscode-manage but when I try to create a new
account using
https://chef.bla.com/signup, I've got:

Email: A server error occurred. Please refresh and try again
Username: A server error occurred. Please refresh and try again

And I can't press the "Get Started" button

Looking here, I've got:

https://chef.bla.com/signup/validity/username?value=tiago

500
Smell something burning?
Sorry we have a small fire in the kitchen.
An unexpected error has occurred. Our staff are manning the fire
extinguishers and have been alerted.
Try refreshing the page, or contact us if the problem persists.

And "chef-server-ctl tail" only tell me this:

222.222.2.22 - - [06/Oct/2014:21:49:21 -0400] "GET
/signup/validity/username?value=tiago HTTP/1.1" 500 "63.127" 7537 "-"
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/34.0.1847.137 Safari/537.36" "127.0.0.1:9462" "500" "63.127" "-"
"-" "-" "-" "-" 749

Any ideas?

Thanks a lot!

--
Nathan L Smith
smith@getchef.com
(319) 339-0466

--
-- Tiago Cruz