Hi, looking at your YAML I think you should edit the location section into something like
location: jclouds:hpcloud-compute:*region *# as per [1] identity: *tenantName:accessKey* # as per [2] credential: *secretKey* Notice, you may also want to control which image will be chosen adding imageId = *region/imageId *# as per [3] Please see [4] for more information about jclouds-hpcloud-compute. Best, Andrea [1]: https://github.com/apache/incubator-brooklyn/blob/2aac052fbde38b566f5d70efa0d241b0488c98f4/docs/guide/start/brooklyn.properties#L181 [2]: https://github.com/apache/incubator-brooklyn/blob/2aac052fbde38b566f5d70efa0d241b0488c98f4/docs/guide/start/brooklyn.properties#L177 [3]: https://github.com/apache/incubator-brooklyn/blob/2aac052fbde38b566f5d70efa0d241b0488c98f4/docs/guide/start/brooklyn.properties#L182 [4]: https://jclouds.apache.org/guides/hpcloud/ On Mon, 31 Aug 2015 at 08:08 Gowri LN <[email protected]> wrote: > Hi , > > I found this link > < > https://github.com/apache/incubator-brooklyn/blob/2aac052fbde38b566f5d70efa0d241b0488c98f4/docs/guide/start/brooklyn.properties > > > and I added > > > > brooklyn.location.jclouds.hpcloud-compute.identity = > projectname:username > > brooklyn.location.jclouds.hpcloud-compute.credential = password > > > in Brooklyn.properties. Now, I am getting the following error > > Error invoking start at EmptySoftwareProcessImpl{id=DnL6EWl6}: Not > authorized to access cloud JcloudsLocation[hpcloud-compute:My project > name:username/hpcloud-compute@qyl5eK6d] to resolve > PortableTemplateBuilder[ports=[22], > > imageChooserFunction=brooklyn.location.jclouds.BrooklynImageChooser$ImageChooserFromOrdering@b1821e > , > minRam=2048]: org.jclouds.rest.AuthorizationException: POST > https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/tokens HTTP/1.1 > -> HTTP/1.1 401 Unauthorized > > What am I missing here ? And also,How can I specify a region through yaml ? > Is it in same way as for AWS ? > Can anyone help me with this? > > Thanks, > Gowri > > On Mon, Aug 31, 2015 at 9:47 AM, Gowri LN <[email protected]> wrote: > > > Hi All, > > > > I was trying to launch a simple yaml on HP Public cloud. Following is my > > blueprint: > > > > name: simple-vm > > location: > > jclouds:hpcloud-compute > > identity:ID > > credential:MY Secret key > > services: > > - type: brooklyn.entity.basic.EmptySoftwareProcess > > name: VM > > > > I got ID and Secret key values from Manage keys section of my HP Public > > Cloud account. But I got the following error > > > > Illegal parameter for 'location' (jclouds:hpcloud-compute identity:...... > > credential:...............); not resolvable: > > java.util.NoSuchElementException: Cloud provider/API type hpcloud-compute > > identity is not supported by jclouds > > > > > > Also, [1] suggests that I need to provide tenant name:username for > > identity . > > What is tenant name in HP Cloud? Is it domain Id or project name ? > > > > > > Is HP's Helion (public /private ) cloud supported by Brooklyn ? If > > yes,then > > can anyone please suggest sample yaml ( mainly location details ) ? > > > > Link [2] doesnot list Hp public cloud as supported . > > > > > > > > [1] : > > > https://github.com/apache/incubator-brooklyn/blob/2aac052fbde38b566f5d70efa0d241b0488c98f4/docs/guide/start/brooklyn.properties > > > > [2] > > > https://github.com/apache/incubator-brooklyn/blob/9595ddc943fa9cb00f86a20e030cffd07bded69b/docs/guide/yaml/setting-locations.md > > > > Thanks, > > Gowri > > > -- Cloudsoft Corporation Limited, Registered in Scotland No: SC349230. Registered Office: 13 Dryden Place, Edinburgh, EH9 1RP This e-mail message is confidential and for use by the addressee only. If the message is received by anyone other than the addressee, please return the message to the sender by replying to it and then delete the message from your computer. Internet e-mails are not necessarily secure. Cloudsoft Corporation Limited does not accept responsibility for changes made to this message after it was sent. Whilst all reasonable care has been taken to avoid the transmission of viruses, it is the responsibility of the recipient to ensure that the onward transmission, opening or use of this message and any attachments will not adversely affect its systems or data. No responsibility is accepted by Cloudsoft Corporation Limited in this regard and the recipient should carry out such virus and other checks as it considers appropriate.
