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

Reply via email to