i hope we get up some automated testing for ubuntu too
kirves
I'll try and diff the files to see if something is different between the two
Something I can fix, I hope
ogzy
tboerger: when i check the production.log i was seeing some missing gems which are already mentioned at the Rakefile under /opt/dell/crowbar_framework
kirves
ogzy: true, you can solve it by running rake gem:install in the crowbar_framework dir. But indeed, you're right
tboerger
the missing gems can get fixed quite easy
i try to create a pull request today
ogzy
tboerger: i did, i also gem install sqlite not i can see crowbar ui but with a 500 error page
kirves
ogzy: try "bluepill chef-server restart" and "bluepill crowbar-webserver restart"
It should work, bring up the environment and fail the node deletion tests
ogzy
kirves: still same page saying something went wrong
kirves: ActiveRecord::StatementInvalid (Could not find table 'sessions'): need to create the db it seems, better to edit the line 370 and retry installation it seems
kirves
Oh, k, it was the rake tasks going wrong
just to be sure, rake -V
and which rake
ogzy
kirves: rake, version 10.1.1
alexpilotti has quit
kirves: /usr/local/bin/rake
kirves
ok, /usr/bin/rake -V
ogzy
kirves: and yours?
kirves
same as you, you should force /usr/bin/rake instead of /usr/local/bin/rake
ogzy
kirves: lets see whether reinstalling works
kirves
It won't, I had to link /usr/local/bin/rake to /usr/bin/rake to get beyond that step
ogzy
kirves: ok i am doing that also
tboerger
where did the /usr/local/bin/rake come from? oO
ogzy
kirves: rake, version 0.9.2.2 for /usr/bin/rake -V
kirves
ok
tboerger: I don't know :D
ogzy
kirves: and you restart chef*server and crowbar-webserver?
kirves
it rake db:migrate works
if*
ogzy
kirves: where do you run rake db:migrate?
kirves
In /opt/dell/crowbar_framework
ogzy
kirves:
rake aborted!
undefined method `task'
tboerger: /usr/local/bin/rake it does not coming via apt, i checked with dpkg -S no result returned
kirves
ogzy: did you run /usr/bin/rake?
tboerger: I really don't know where it comes from :D
ogzy
tboerger: what should be the rake version while running rake db:migrate?
kirves: i run but still 500 error page
kirves
I must be forgetting something then, try and check the logs
[1]Mr_D joined the channel
alexpilotti joined the channel
ogzy
kirves: unable to connect to node rabbit@crowbar
kirves
o_O
Never seen that. Did you use crowbar as you FQDN?
ogzy
kirves: no
kirves
Really, I've never seen that error message :/
ogzy
kirves: can you check your history about what you did except from db:migrate
kirves
I did nothing on the admin node: I modified the install-chef.sh file and rebuild the iso every time
So I don't have any history
ogzy
oh
kirves: you changed the 2-370 line only?
kirves: 370 sorry
kirves
Added something and removed something else to make rake work. However do not expect evrything to work flawlessly after that
Around that line, yes
ogzy
kirves: is it a secret :)
kirves
Nope, it's not a secret: it's exactly what you're doing now on the admin node. I made so many modifications to that script that it became a mess and decided to start from scratch
So I don't have that anymore
ogzy
kirves: ok, do you remember whether rake command is working when the script comes at line 370?
kirves
It doesn't work since it uses the wrong rake bin and at that point it is still missing libsqlite-dev (apt) and some gems (rake gems:install)
tboerger
how did you guys build and test the ubuntu stuff?
ogzy
tboerger: i can share my build stuff
tboerger
ogzy: do that please... never tried to build and iso :)
may be i can fix the bad stuff easily that you guys can start on roxy :)
ogzy
tboerger: ok doing now, lets solve this ubuntu issue, i am getting sick of these problems
tboerger
and than i can port it directly to stoney too
but i think i cant solve it until monday
kirves
tboerger: what do tou mean how we built and test the ubuntu stuff? I followed the guide on github and tested on a dedicated VM
tboerger
kirves: as i said, i never tried anything in the direction of ubuntu or building iso on my own
i always used only the suse way and working directly in the github repos with a pretty complicated setup.
kirves
Oh, I thought it was pretty similar, sorry :)
tboerger
suse way is simply install the packages and execute the install chef suse script. and github way is based on a prebuilt image where i execute install suse chef. so it's pretty different for me :D
tboerger: just one thing, you may not need to copt tftpboot, this time i see a tftpboot created so check whether a directory under .crowbar-cache-dir is created after sledgehammer
tboerger: any documentation for suse way by the way?
tboerger: will be happy if we solve the built issue for ubuntu
tboerger
for my suse setup no open documentation... event the rpm repos are not available in the public -.-