Hi Dmitry, To fix the first error, you will need to download the oracle JDK 6 from [1] as we cannot automate that step due to licensing issues. The file should be stored at puppet-hilary/modules/oracle-java/files/jdk-6u45-linux-x64.bin.
We also change the VM we're using from precise32 to precise64. So if you have an old VM kicking around, it might be best to start from a fresh VM by running: vagrant destroy vagrant box remove oae vagrant box add oae http://files.vagrantup.com/precise64.box vagrant up To debug the second error, have a look in the bootstrap.log file in the Hilary directory and see if there is any more information in there. Ensure that you're *not* running cassandra 2.0 but are using something like version 1.2.9 (or lower). Kind regards, Simon [1] http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html#jdk-6u45-oth-JPR On 12 Sep 2013, at 11:15, Dmitry Zelenetskiy <[email protected]> wrote: > Tried to run puppet-hilary yesterday, and got next error: > ------------------------------------------------------------------------------------------------- > [default] Running: > C:/Users/root/AppData/Local/Temp/vagrant-shell20130912-3192-hj1wwb > stdin: is not a tty > The Oracle JDK installer is not present in the correct location or is not > executable. > Please download jdk-6u45-linux-x64.bin from the Oracle website and place it > at: > modules/oracle-java/files/jdk-6u45-linux-x64.bin > The following SSH command responded with a non-zero exit status. > Vagrant assumes that this means the command failed! > > chmod +x /tmp/vagrant-shell && /tmp/vagrant-shell > > Stdout from the command: > > The Oracle JDK installer is not present in the correct location or is not > executable. > Please download jdk-6u45-linux-x64.bin from the Oracle website and place it > at: > modules/oracle-java/files/jdk-6u45-linux-x64.bin > > > Stderr from the command: > > stdin: is not a tty > ------------------------------------------------------------------------------------------------- > > Also made new installation of hilary and 3akai-ux from github, and after > running `node app | bunyan` had no logs in shell and 404 error opening > admin.oae.com > > > > On Wed, Sep 11, 2013 at 9:45 PM, Dmitry Zelenetskiy > <[email protected]> wrote: > Hello Simon! > Thank you for your reply, shortly will try puppet-hilary. Tenant didn't > delete accidently and just found interesting issue for me - > https://github.com/oaeproject/Hilary/issues/661 - that says that I used wrong > cassandra version. So also will try to reinstall it with new refactored code > and will write here after that. > > > On Wed, Sep 11, 2013 at 8:42 PM, Simon Gaeremynck <[email protected]> > wrote: > Hi Dmitry, > > We've recently updated the Vagrant setup in our puppet-hilary repo which > should get you in a working state. > Would you have the spare cycles to try if the latest Vagrant setup works for > you? > > Now, for your error specifically, I can't think of anything obvious why it > wouldn't be able to find that tenant. > Did you delete the tenant (in the admin UI) by accident by any chance? > There has been some refactoring of the code recently, so it's possible that > there might be a bug in there. > > Kind regards, > > Simon > > On 6 Sep 2013, at 09:42, Nicolaas Matthijs > <[email protected]> wrote: > > > Hi Dmitry, > > > > I believe Simon has been looking into this yesterday, as the vagrant work > > in the puppet-hilary repository hadn't been completed yet. He's been making > > really good progress on this and I suspect he'll be reporting back later > > today. > > > > Hope that helps, > > Nicolaas > > > > > > On 5 Sep 2013, at 10:03, Dmitry Zelenetskiy wrote: > > > >> Any ideas why it is not working? > >> > >> > >> >Yes, I did. I entered admin.oae.com:8080 (8080 port is forwarded_port to > >> >vagrant's box 80) logged in and created "tenant1" tenant. > >> > >> > >> > >> On Wed, Sep 4, 2013 at 10:23 PM, Nicolaas Matthijs > >> <[email protected]> wrote: > >> Hi Dmitry, > >> > >> The 418 status code means that there is no tenant associated with the > >> tenant1.oae.com hostname. Have you created this tenant in the > >> administration UI (under Create new tenant)? > >> > >> Thanks in advance, > >> Nicolaas > >> > >> > >> On 4 Sep 2013, at 20:21, Dmitry Zelenetskiy wrote: > >> > >>> Trying to start work with Hilary project but can't config environment. > >>> I am using windows8 so trying create vagrant box with ubuntu inside. > >>> Installed all software that describes in > >>> https://github.com/oaeproject/Hilary/blob/master/README.md and have > >>> problem: > >>> admin.oae.com works but tenant1.oae.com is not. There is "418 I'm a > >>> teapot" error while loading the page on /api/ui/skin/ request. > >>> > >>> At vagrant box there is an error: > >>> ------------------------------------------------------------------------------------ > >>> ERROR: oae/2907 on precise64: An uncaught exception was raised to the > >>> application. > >>> TypeError: Cannot read property 'alias' of undefined > >>> at Object.module.exports.getStrategyId > >>> (/home/vagrant/oae/Hilary/node_modules/oae-authentication/lib/util.js:79:39) > >>> at > >>> /home/vagrant/oae/Hilary/node_modules/oae-authentication/lib/api.js:660:55 > >>> at Function._.each._.forEach > >>> (/home/vagrant/oae/Hilary/node_modules/underscore/underscore.js:87:24) > >>> at module.exports.refreshStrategies > >>> (/home/vagrant/oae/Hilary/node_modules/oae-authentication/lib/api.js:658:7) > >>> at EventEmitter.ConfigAPI.on.log.error.tenantAlias > >>> (/home/vagrant/oae/Hilary/node_modules/oae-authentication/lib/api.js:46:5) > >>> at EventEmitter.emit (events.js:95:17) > >>> at > >>> /home/vagrant/oae/Hilary/node_modules/oae-tenants/lib/api.js:66:17 > >>> at > >>> /home/vagrant/oae/Hilary/node_modules/oae-tenants/lib/api.js:184:9 > >>> at > >>> /home/vagrant/oae/Hilary/node_modules/oae-util/lib/cassandra.js:745:9 > >>> at onReturn > >>> (/home/vagrant/oae/Hilary/node_modules/helenus/lib/connection.js:444:7) > >>> [2013-09-04T19:01:10.262Z] ERROR: oae-authentication/2907 on precise64: > >>> Error fetching tenant to update authentication configuration. > >>> (tenantAlias=tenant1) > >>> ------------------------------------------------------------------------------------ > >>> > >>> Also tried to use https://github.com/oaeproject/puppet-hilary but it > >>> fails during vagrant up > >>> > >>> ------------------------------------------------------------------------------------ > >>> puppet apply --verbose --debug --modulepath > >>> environments/local/modules:modules - > >>> -certname dev --environment local --hiera_config > >>> provisioning/vagrant/hiera.yaml > >>> --color=false --detailed-exitcodes /tmp/vagrant-puppet/manifests/site.pp > >>> || [ $ > >>> ? -eq 2 ] > >>> > >>> Stdout from the command: > >>> > >>> > >>> > >>> Stderr from the command: > >>> > >>> stdin: is not a tty > >>> Could not parse options: invalid option: --hiera_config > >>> ------------------------------------------------------------------------------------ > >>> > >>> What can I made wrong? > >>> > >>> Thanks. > >>> _______________________________________________ > >>> oae-dev mailing list > >>> [email protected] > >>> http://collab.sakaiproject.org/mailman/listinfo/oae-dev > >> > >> > >> > >> _______________________________________________ > >> oae-dev mailing list > >> [email protected] > >> http://collab.sakaiproject.org/mailman/listinfo/oae-dev > > > > _______________________________________________ > > oae-dev mailing list > > [email protected] > > http://collab.sakaiproject.org/mailman/listinfo/oae-dev > > > _______________________________________________ oae-dev mailing list [email protected] http://collab.sakaiproject.org/mailman/listinfo/oae-dev
