You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by Rupinder Singh <ru...@gmail.com> on 2017/04/13 03:49:27 UTC

Failing to deploy

Hi,

I'm using 0.10.0 on windows 7. I'm trying to deploy a tomcat to either to
trystack or to localhost(of course, with yaml modified) as per the
 attached yaml. The outputs are

Brooklyn output: https://pastebin.com/14kEhzRK

Br Output: https://pastebin.com/nuGssySt


Trystack status keeps showing as attached.



After taking a lot of time to start, it declares ERROR. It meets the same
fate on localhost.


Rupinder

Re: Failing to deploy

Posted by Rupinder Singh <ru...@gmail.com>.
Hi Guglielmo,

The yaml is here

https://pastebin.com/Qy3Lcnz8

Rupinder

On Thu, Apr 13, 2017 at 2:22 PM, Guglielmo Nigri <
guglielmo.nigri@cloudsoftcorp.com> wrote:

> Hi Rupinder,
>
> The yaml is missing, can you post it to pastebin as well, maybe?
> It would also help to see the logs for the localhost deployment, too.
>
> Cheers,
>
> Guglielmo
>
> On 13 April 2017 at 05:49, Rupinder Singh <ru...@gmail.com> wrote:
>
> > Hi,
> >
> > I'm using 0.10.0 on windows 7. I'm trying to deploy a tomcat to either to
> > trystack or to localhost(of course, with yaml modified) as per the
> >  attached yaml. The outputs are
> >
> > Brooklyn output: https://pastebin.com/14kEhzRK
> >
> > Br Output: https://pastebin.com/nuGssySt
> >
> >
> > Trystack status keeps showing as attached.
> >
> >
> >
> > After taking a lot of time to start, it declares ERROR. It meets the same
> > fate on localhost.
> >
> >
> > Rupinder
> >
>

Re: Failing to deploy

Posted by Aled Sage <al...@gmail.com>.
Hi,

For the trystack deployment, your pastebin shows an exception while 
jclouds is trying to destroy the node (presumably because of an earlier 
error). It expects the VM's id to be in the format "regionId/id". It got 
this id by calling the OpenStack api's Get_Server_Details.

Unfortunately your pastebin does not include the earlier errors (it 
starts in the middle of an earlier exception's stacktrace). Do you have 
the debug log that you can share (ensuring any credentials are stripping 
out first - feel free to send the log to me privately if you don't want 
to share with the entire list).

What version of OpenStack are you using?

Note that Brooklyn 0.11.0 will hopefully be released in the next couple 
of weeks, which will include an upgrade to jclouds 2.0.1. That version 
of jclouds much better supports OpenStack releases from Mitaka onwards. 
You could test with 0.11.0 R1 (which was sent to the dev@brooklyn 
mailing list) if you like.

Aled

p.s. I see from the screenshot you're provisioning openSUSE 13.2. Once 
you get past this VM provisioning problem, that might cause problems - 
we test the Tomcat blueprint mainly on CentOS, and some testing on Ubuntu.


On 13/04/2017 10:30, Rupinder Singh wrote:
> Hi Guglielmo,
>
> For l localhost deployment,
>
> yaml: https://pastebin.com/BtuU74yG
>
> brooklun output: https://pastebin.com/REGwLnWz
>
> br output: https://pastebin.com/sihThbK1
>
>
>
> Rupinder
>
> On Thu, Apr 13, 2017 at 2:22 PM, Guglielmo Nigri <
> guglielmo.nigri@cloudsoftcorp.com> wrote:
>
>> Hi Rupinder,
>>
>> The yaml is missing, can you post it to pastebin as well, maybe?
>> It would also help to see the logs for the localhost deployment, too.
>>
>> Cheers,
>>
>> Guglielmo
>>
>> On 13 April 2017 at 05:49, Rupinder Singh <ru...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I'm using 0.10.0 on windows 7. I'm trying to deploy a tomcat to either to
>>> trystack or to localhost(of course, with yaml modified) as per the
>>>   attached yaml. The outputs are
>>>
>>> Brooklyn output: https://pastebin.com/14kEhzRK
>>>
>>> Br Output: https://pastebin.com/nuGssySt
>>>
>>>
>>> Trystack status keeps showing as attached.
>>>
>>>
>>>
>>> After taking a lot of time to start, it declares ERROR. It meets the same
>>> fate on localhost.
>>>
>>>
>>> Rupinder
>>>


Fwd: Failing to deploy

Posted by Rupinder Singh <ru...@gmail.com>.
Hi Thomas,

I removed minRam in the yaml and this time an instance of ubuntu 16.04 did
show running in TrySStack dashboard. However, it kept starting for too long
and then crashed. The blueprint and logs are attached here.

https://drive.google.com/file/d/0B9xR8_XMSxDSTlp3bUFPMzRrZzBXVUR2OWdOTGR5OERyTFFR/view?usp=sharing

https://drive.google.com/file/d/0B9xR8_XMSxDSQl9ZSzBsU1YyT2UwTVBkMXAxa0VIcnotNVZr/view?usp=sharing

https://drive.google.com/file/d/0B9xR8_XMSxDSbktWM3BZcW9lMWxzMVQwaGdKRjJfc2VBUXFR/view?usp=sharing

https://drive.google.com/file/d/0B9xR8_XMSxDSRzhGZUE5UEFveExqOFpWYXllbzJPVHRiZ1Fz/view?usp=sharing

Rupinder


On Mon, Apr 17, 2017 at 2:33 AM, Thomas Bouron <thomas.bouron@cloudsoftcorp.
com> wrote:

> Hi Rupinder.
>
> Looks like your Openstack does not have the minimum hardware requirements
> you specified in your blueprint:
>
> 2017-04-16 22:06:50,094 ERROR o.a.b.l.j.JcloudsLocation
> [brooklyn-execmanager-ZqOwXBDn-4]: Failed to start VM for null after
> 3.84s (semaphore obtained in 1ms;): Unable to match required VM
> template constraints PortableTemplateBuilder[ports=[22],
> imageId=RegionOne/76f5f4aa-a78f-4703-b738-cab967957431,
> imageChooserFunction=org.apache.brooklyn.location.jclouds.
> BrooklynImageChooser$ImageChooserFromOrdering,
> minRam=8000] when trying to provision VM in
> JcloudsLocation[openstack-nova:http://8.43.86.2:5000/v2.0/:
> facebook1939146382766976:facebook1939146382766976@c04b5y402d];
> see list of images in log. Root cause:
> java.util.NoSuchElementException: no hardware profiles match params:
> Predicates.and(nullEqualToIsParentOrIsGrandparentOfCurrentLo
> cation(),minCores(0.0),minRam(8000),minDisk(0.0))
>
>
> You should try to lower down the `minRam` or removing it entirely. If
> that's not acceptable, I would suggest that you create your own image +
> hardware to make sure it matches your requirements.
>
> Best.
>
> On Sun, 16 Apr 2017 at 18:12 Rupinder Singh <ru...@gmail.com> wrote:
>
> > ---------- Forwarded message ----------
> > From: Rupinder Singh <ru...@gmail.com>
> > Date: Sun, Apr 16, 2017 at 10:28 PM
> > Subject: Re: Failing to deploy
> > To: dev@brooklyn.apache.org
> >
> >
> > Hi Andrea,
> >
> > No problem!
> >
> > I tried that. Blueprints and logs attached here. The issue stays.
> >
> > Rupinder
> >
> > On Sun, Apr 16, 2017 at 8:22 PM, Andrea Turli <
> > andrea.turli@cloudsoftcorp.com> wrote:
> >
> >> Rupinder,
> >>
> >> I've noticed in your latest example
> >>
> >> location:
> >>
> >>  jclouds:openstack-nova:
> >>
> >>    ...
> >>
> >>    osFamily:     ubuntu
> >>
> >>    imageId:      RegionOne/76f5f4aa-a78f-4703-b738-cab967957431
> >>
> >>    ...
> >>
> >>
> >>
> >> Could you try the following:
> >>
> >>
> >>
> >> location:
> >>
> >>  jclouds:openstack-nova:
> >>
> >>    ...
> >>
> >>    imageId:      RegionOne/76f5f4aa-a78f-4703-b738-cab967957431
> >>
> >>    ...
> >>
> >> Thanks for your perseverance and sorry for the long throubleshooting
> >> session,
> >> Andrea
> >>
> >>
> >>
> > --
>
> Thomas Bouron • Senior Software Engineer @ Cloudsoft Corporation •
> https://cloudsoft.io/
> Github: https://github.com/tbouron
> Twitter: https://twitter.com/eltibouron
>

Re: Failing to deploy

Posted by Thomas Bouron <th...@cloudsoftcorp.com>.
Hi Rupinder

It makes sense for the user/password as you supplied your own user/password
in the blueprint. In this case, Brooklyn will connect to the VM with the
default user, then create a new user (supplied by the blueprint) and
finally disable the default user[1]

However, I'm not really understanding what happens with your deployment.
The debug logs say:

017-04-17 05:18:36,258 DEBUG jclouds.compute
[brooklyn-execmanager-ZM1RaPwv-3]: <<   matched
image(RegionOne/76f5f4aa-a78f-4703-b738-cab967957431)
hardware(RegionOne/2) location(RegionOne)


and the machine is provisioned. But there error message I can see later in
the logs suggested that the VM was not even created:

2017-04-17 05:48:44,587 ERROR jclouds.compute [user thread 0]:
createNodesInGroup(brooklyn-ooj0sw-nwe-server3-brookly-wp0w-my-vm-g4bb),
completed: 0/1, errors: 1, rate: 1806806ms/op
java.util.concurrent.ExecutionException:
java.lang.IllegalArgumentException: id must be in format regionId/id


Maybe someone with a deeper understanding of Brooklyn with Openstack can
answer this?

Best.

[1] https://brooklyn.apache.org/v/latest/ops/locations/index.html#os-setup

On Mon, 17 Apr 2017 at 15:09 Rupinder Singh <ru...@gmail.com> wrote:

> Hi Thomas,
>
> I'd tried to deploy earlier in the morning. So those were the logs. I just
> happened to check TryStack dashboard moments ago. I noticed the Ubuntu
> intance running and active. However, it isn't accepting the user login or
> password specified in the blueprint. Although, it does show console of
> Ubuntu 16.04.
>
> Rupinder
>
> On Mon, Apr 17, 2017 at 6:45 PM, Rupinder Singh <ru...@gmail.com>
> wrote:
>
> > Hi Thomas,
> >
> > I removed minRam in the yaml and this time an instance of ubuntu 16.04
> did
> > show running in TrySStack dashboard. However, it kept starting for too
> long
> > and then crashed. The blueprint and logs are attached here.
> >
> > Rupinder
> >
> > On Mon, Apr 17, 2017 at 2:33 AM, Thomas Bouron <
> > thomas.bouron@cloudsoftcorp.com> wrote:
> >
> >> Hi Rupinder.
> >>
> >> Looks like your Openstack does not have the minimum hardware
> requirements
> >> you specified in your blueprint:
> >>
> >> 2017-04-16 22:06:50,094 ERROR o.a.b.l.j.JcloudsLocation
> >> [brooklyn-execmanager-ZqOwXBDn-4]: Failed to start VM for null after
> >> 3.84s (semaphore obtained in 1ms;): Unable to match required VM
> >> template constraints PortableTemplateBuilder[ports=[22],
> >> imageId=RegionOne/76f5f4aa-a78f-4703-b738-cab967957431,
> >> imageChooserFunction=org.apache.brooklyn.location.jclouds.
> >> BrooklynImageChooser$ImageChooserFromOrdering,
> >> minRam=8000] when trying to provision VM in
> >> JcloudsLocation[openstack-nova:http://8.43.86.2:5000/v2.0/:
> >> facebook1939146382766976:facebook1939146382766976@c04b5y402d];
> >> see list of images in log. Root cause:
> >> java.util.NoSuchElementException: no hardware profiles match params:
> >> Predicates.and(nullEqualToIsParentOrIsGrandparentOfCurrentLo
> >> cation(),minCores(0.0),minRam(8000),minDisk(0.0))
> >>
> >>
> >> You should try to lower down the `minRam` or removing it entirely. If
> >> that's not acceptable, I would suggest that you create your own image +
> >> hardware to make sure it matches your requirements.
> >>
> >> Best.
> >>
> >> On Sun, 16 Apr 2017 at 18:12 Rupinder Singh <ru...@gmail.com> wrote:
> >>
> >> > ---------- Forwarded message ----------
> >> > From: Rupinder Singh <ru...@gmail.com>
> >> > Date: Sun, Apr 16, 2017 at 10:28 PM
> >> > Subject: Re: Failing to deploy
> >> > To: dev@brooklyn.apache.org
> >> >
> >> >
> >> > Hi Andrea,
> >> >
> >> > No problem!
> >> >
> >> > I tried that. Blueprints and logs attached here. The issue stays.
> >> >
> >> > Rupinder
> >> >
> >> > On Sun, Apr 16, 2017 at 8:22 PM, Andrea Turli <
> >> > andrea.turli@cloudsoftcorp.com> wrote:
> >> >
> >> >> Rupinder,
> >> >>
> >> >> I've noticed in your latest example
> >> >>
> >> >> location:
> >> >>
> >> >>  jclouds:openstack-nova:
> >> >>
> >> >>    ...
> >> >>
> >> >>    osFamily:     ubuntu
> >> >>
> >> >>    imageId:      RegionOne/76f5f4aa-a78f-4703-b738-cab967957431
> >> >>
> >> >>    ...
> >> >>
> >> >>
> >> >>
> >> >> Could you try the following:
> >> >>
> >> >>
> >> >>
> >> >> location:
> >> >>
> >> >>  jclouds:openstack-nova:
> >> >>
> >> >>    ...
> >> >>
> >> >>    imageId:      RegionOne/76f5f4aa-a78f-4703-b738-cab967957431
> >> >>
> >> >>    ...
> >> >>
> >> >> Thanks for your perseverance and sorry for the long throubleshooting
> >> >> session,
> >> >> Andrea
> >> >>
> >> >>
> >> >>
> >> > --
> >>
> >> Thomas Bouron • Senior Software Engineer @ Cloudsoft Corporation •
> >> https://cloudsoft.io/
> >> Github: https://github.com/tbouron
> >> Twitter: https://twitter.com/eltibouron
> >>
> >
> >
>
-- 

Thomas Bouron • Senior Software Engineer @ Cloudsoft Corporation •
https://cloudsoft.io/
Github: https://github.com/tbouron
Twitter: https://twitter.com/eltibouron

Re: Failing to deploy

Posted by Rupinder Singh <ru...@gmail.com>.
Hi Thomas,

I'd tried to deploy earlier in the morning. So those were the logs. I just
happened to check TryStack dashboard moments ago. I noticed the Ubuntu
intance running and active. However, it isn't accepting the user login or
password specified in the blueprint. Although, it does show console of
Ubuntu 16.04.

Rupinder

On Mon, Apr 17, 2017 at 6:45 PM, Rupinder Singh <ru...@gmail.com> wrote:

> Hi Thomas,
>
> I removed minRam in the yaml and this time an instance of ubuntu 16.04 did
> show running in TrySStack dashboard. However, it kept starting for too long
> and then crashed. The blueprint and logs are attached here.
>
> Rupinder
>
> On Mon, Apr 17, 2017 at 2:33 AM, Thomas Bouron <
> thomas.bouron@cloudsoftcorp.com> wrote:
>
>> Hi Rupinder.
>>
>> Looks like your Openstack does not have the minimum hardware requirements
>> you specified in your blueprint:
>>
>> 2017-04-16 22:06:50,094 ERROR o.a.b.l.j.JcloudsLocation
>> [brooklyn-execmanager-ZqOwXBDn-4]: Failed to start VM for null after
>> 3.84s (semaphore obtained in 1ms;): Unable to match required VM
>> template constraints PortableTemplateBuilder[ports=[22],
>> imageId=RegionOne/76f5f4aa-a78f-4703-b738-cab967957431,
>> imageChooserFunction=org.apache.brooklyn.location.jclouds.
>> BrooklynImageChooser$ImageChooserFromOrdering,
>> minRam=8000] when trying to provision VM in
>> JcloudsLocation[openstack-nova:http://8.43.86.2:5000/v2.0/:
>> facebook1939146382766976:facebook1939146382766976@c04b5y402d];
>> see list of images in log. Root cause:
>> java.util.NoSuchElementException: no hardware profiles match params:
>> Predicates.and(nullEqualToIsParentOrIsGrandparentOfCurrentLo
>> cation(),minCores(0.0),minRam(8000),minDisk(0.0))
>>
>>
>> You should try to lower down the `minRam` or removing it entirely. If
>> that's not acceptable, I would suggest that you create your own image +
>> hardware to make sure it matches your requirements.
>>
>> Best.
>>
>> On Sun, 16 Apr 2017 at 18:12 Rupinder Singh <ru...@gmail.com> wrote:
>>
>> > ---------- Forwarded message ----------
>> > From: Rupinder Singh <ru...@gmail.com>
>> > Date: Sun, Apr 16, 2017 at 10:28 PM
>> > Subject: Re: Failing to deploy
>> > To: dev@brooklyn.apache.org
>> >
>> >
>> > Hi Andrea,
>> >
>> > No problem!
>> >
>> > I tried that. Blueprints and logs attached here. The issue stays.
>> >
>> > Rupinder
>> >
>> > On Sun, Apr 16, 2017 at 8:22 PM, Andrea Turli <
>> > andrea.turli@cloudsoftcorp.com> wrote:
>> >
>> >> Rupinder,
>> >>
>> >> I've noticed in your latest example
>> >>
>> >> location:
>> >>
>> >>  jclouds:openstack-nova:
>> >>
>> >>    ...
>> >>
>> >>    osFamily:     ubuntu
>> >>
>> >>    imageId:      RegionOne/76f5f4aa-a78f-4703-b738-cab967957431
>> >>
>> >>    ...
>> >>
>> >>
>> >>
>> >> Could you try the following:
>> >>
>> >>
>> >>
>> >> location:
>> >>
>> >>  jclouds:openstack-nova:
>> >>
>> >>    ...
>> >>
>> >>    imageId:      RegionOne/76f5f4aa-a78f-4703-b738-cab967957431
>> >>
>> >>    ...
>> >>
>> >> Thanks for your perseverance and sorry for the long throubleshooting
>> >> session,
>> >> Andrea
>> >>
>> >>
>> >>
>> > --
>>
>> Thomas Bouron • Senior Software Engineer @ Cloudsoft Corporation •
>> https://cloudsoft.io/
>> Github: https://github.com/tbouron
>> Twitter: https://twitter.com/eltibouron
>>
>
>

Re: Failing to deploy

Posted by Thomas Bouron <th...@cloudsoftcorp.com>.
Hi Rupinder.

Looks like your Openstack does not have the minimum hardware requirements
you specified in your blueprint:

2017-04-16 22:06:50,094 ERROR o.a.b.l.j.JcloudsLocation
[brooklyn-execmanager-ZqOwXBDn-4]: Failed to start VM for null after
3.84s (semaphore obtained in 1ms;): Unable to match required VM
template constraints PortableTemplateBuilder[ports=[22],
imageId=RegionOne/76f5f4aa-a78f-4703-b738-cab967957431,
imageChooserFunction=org.apache.brooklyn.location.jclouds.BrooklynImageChooser$ImageChooserFromOrdering,
minRam=8000] when trying to provision VM in
JcloudsLocation[openstack-nova:http://8.43.86.2:5000/v2.0/:facebook1939146382766976:facebook1939146382766976@c04b5y402d];
see list of images in log. Root cause:
java.util.NoSuchElementException: no hardware profiles match params:
Predicates.and(nullEqualToIsParentOrIsGrandparentOfCurrentLocation(),minCores(0.0),minRam(8000),minDisk(0.0))


You should try to lower down the `minRam` or removing it entirely. If
that's not acceptable, I would suggest that you create your own image +
hardware to make sure it matches your requirements.

Best.

On Sun, 16 Apr 2017 at 18:12 Rupinder Singh <ru...@gmail.com> wrote:

> ---------- Forwarded message ----------
> From: Rupinder Singh <ru...@gmail.com>
> Date: Sun, Apr 16, 2017 at 10:28 PM
> Subject: Re: Failing to deploy
> To: dev@brooklyn.apache.org
>
>
> Hi Andrea,
>
> No problem!
>
> I tried that. Blueprints and logs attached here. The issue stays.
>
> Rupinder
>
> On Sun, Apr 16, 2017 at 8:22 PM, Andrea Turli <
> andrea.turli@cloudsoftcorp.com> wrote:
>
>> Rupinder,
>>
>> I've noticed in your latest example
>>
>> location:
>>
>>  jclouds:openstack-nova:
>>
>>    ...
>>
>>    osFamily:     ubuntu
>>
>>    imageId:      RegionOne/76f5f4aa-a78f-4703-b738-cab967957431
>>
>>    ...
>>
>>
>>
>> Could you try the following:
>>
>>
>>
>> location:
>>
>>  jclouds:openstack-nova:
>>
>>    ...
>>
>>    imageId:      RegionOne/76f5f4aa-a78f-4703-b738-cab967957431
>>
>>    ...
>>
>> Thanks for your perseverance and sorry for the long throubleshooting
>> session,
>> Andrea
>>
>>
>>
> --

Thomas Bouron • Senior Software Engineer @ Cloudsoft Corporation •
https://cloudsoft.io/
Github: https://github.com/tbouron
Twitter: https://twitter.com/eltibouron

Fwd: Failing to deploy

Posted by Rupinder Singh <ru...@gmail.com>.
---------- Forwarded message ----------
From: Rupinder Singh <ru...@gmail.com>
Date: Sun, Apr 16, 2017 at 10:28 PM
Subject: Re: Failing to deploy
To: dev@brooklyn.apache.org


Hi Andrea,

No problem!

I tried that. Blueprints and logs attached here. The issue stays.

Rupinder

On Sun, Apr 16, 2017 at 8:22 PM, Andrea Turli <andrea.turli@cloudsoftcorp.
com> wrote:

> Rupinder,
>
> I've noticed in your latest example
>
> location:
>
>  jclouds:openstack-nova:
>
>    ...
>
>    osFamily:     ubuntu
>
>    imageId:      RegionOne/76f5f4aa-a78f-4703-b738-cab967957431
>
>    ...
>
>
>
> Could you try the following:
>
>
>
> location:
>
>  jclouds:openstack-nova:
>
>    ...
>
>    imageId:      RegionOne/76f5f4aa-a78f-4703-b738-cab967957431
>
>    ...
>
> Thanks for your perseverance and sorry for the long throubleshooting
> session,
> Andrea
>
>
>

Re: Failing to deploy

Posted by Andrea Turli <an...@cloudsoftcorp.com>.
Rupinder,

I've noticed in your latest example

location:

 jclouds:openstack-nova:

   ...

   osFamily:     ubuntu

   imageId:      RegionOne/76f5f4aa-a78f-4703-b738-cab967957431

   ...



Could you try the following:



location:

 jclouds:openstack-nova:

   ...

   imageId:      RegionOne/76f5f4aa-a78f-4703-b738-cab967957431

   ...

Thanks for your perseverance and sorry for the long throubleshooting
session,
Andrea


Il 16/apr/2017 16:06, "Rupinder Singh" <ru...@gmail.com> ha scritto:

Hi Thomas, Andrea

Localhost deployment works as before.

Still unlucky with TryStack, :-) ! Thanks for your continued support!

I'm attaching blueprints and logs here.


Rupinder

On Sun, Apr 16, 2017 at 3:01 PM, Rupinder Singh <ru...@gmail.com> wrote:

> Thanks Thomas. Andrea. I'll try and get back.
>
> Rupinder
> On 16 Apr 2017 14:31, "Andrea Turli" <an...@cloudsoftcorp.com>
> wrote:
>
>> Hi,
>>
>> In addition to the very good suggestione from Thomas, you can also try by
>> adding
>>
>> imageId=RegionOne/76f5f4aa-a78f-4703-b738-cab967957431
>>
>> to force Brooklyn to pick your Ubuntu 16.04 image. This will couple your
>> blueprint to the specific image, if that is not accettable for you there
>> is
>> also use
>> 'osNameRegex' [1] that can help Brooklyn in selecting the desired image
>> without hardcoding the image id.
>>
>> HTH,
>> Andrea
>>
>> [1]: https://brooklyn.apache.org/v/latest/ops/locations/
>>
>> Il 16/apr/2017 10:43, "Thomas Bouron" <th...@cloudsoftcorp.com>
>> ha
>> scritto:
>>
>> Hi Rupinder.
>>
>> Looks like your Openstack mislabelled your ubuntu images as you can see in
>> this log extract:
>>
>> 2017-04-15 19:40:06,274 INFO  o.a.b.l.j.JcloudsLocation
>> [brooklyn-execmanager-Nhwh8YHI-21]:  Image:
>> {id=RegionOne/b55d48a9-29af-490c-af8d-ff897f688f0c,
>> providerId=b55d48a9-29af-490c-af8d-ff897f688f0c, name=Ubuntu14.04,
>> location={scope=REGION, id=RegionOne, description=RegionOne,
>> parent=openstack-nova}, os={family=unrecognized, name=Ubuntu14.04,
>> description=Ubuntu14.04, is64Bit=true}, description=Ubuntu14.04,
>> status=AVAILABLE, loginUser=root,
>> userMetadata={description=Ubuntu14.04}}
>> 2017-04-15 19:40:06,296 INFO  o.a.b.l.j.JcloudsLocation
>> [brooklyn-execmanager-Nhwh8YHI-21]:  Image:
>> {id=RegionOne/76f5f4aa-a78f-4703-b738-cab967957431,
>> providerId=76f5f4aa-a78f-4703-b738-cab967957431, name=Ubuntu16.04,
>> location={scope=REGION, id=RegionOne, description=RegionOne,
>> parent=openstack-nova}, os={family=unrecognized, name=Ubuntu16.04,
>> description=Ubuntu16.04, is64Bit=true}, description=Ubuntu16.04,
>> status=AVAILABLE, loginUser=root}
>>
>>
>> The OS family is not populated (unrecognized) which is probably the reason
>> why Brooklyn cannot find any matching images.
>>
>> I would suggest to try a `osFamily: centos` in your blueprint instead.
>> Based on the info log you provided, those are correctly tagged
>>
>> Best.
>>
>> On Sat, 15 Apr 2017 at 16:05 Rupinder Singh <ru...@gmail.com> wrote:
>>
>> > Hi Aled,
>> >
>> > the info log is here. I missed it earlier.
>> >
>> > Rupinder
>> >
>> > On Sat, Apr 15, 2017 at 8:32 PM, Rupinder Singh <ru...@gmail.com>
>> > wrote:
>> >
>> >> Hi Aled,
>> >> Thanks for help!
>> >>
>> >> I just want to test my setup once.
>> >>
>> >> I have now taken simple blueprints available in Brooklyn web console
>> and
>> >> adjusted them for localhost and TtryStack  as server1 and server2 as
>> >> attached as txt.
>> >>
>> >> Localhost deployment is successful and web console status is attached
>> as
>> >> web_console_output1 here.
>> >>
>> >> TryStack deployment doesn't happen and web console staus is attached as
>> >> web_console_output2 here.
>> >>
>> >> Brroklyn console output as also debug and info log are attached here as
>> >> txts.
>> >>
>> >>
>> >> The debug log is so large, so didn't work in pastebin.
>> >>
>> >> Rupinder
>> >>
>> >>
>> >>
>> >> On Thu, Apr 13, 2017 at 3:11 PM, Aled Sage <al...@gmail.com>
>> wrote:
>> >>
>> >>> Hi,
>> >>>
>> >>> For your localhost failure, the brooklyn output shows "Cannot
>> establish
>> >>> ssh connection to ... 127.0.0.1:22".
>> >>>
>> >>> You said earlier that you were running on Windows 7. Therefore
>> deploying
>> >>> to localhost will not work with this blueprint, as it does not support
>> >>> windows.
>> >>>
>> >>> You could instead try bring your own node (BYON) - you could deploy a
>> >>> linux VM and then use a BYON location with that ip:port and
>> credentials.
>> >>>
>> >>> Aled
>> >>>
>> >>>
>> >>> On 13/04/2017 10:30, Rupinder Singh wrote:
>> >>>
>> >>>> Hi Guglielmo,
>> >>>>
>> >>>> For l localhost deployment,
>> >>>>
>> >>>> yaml: https://pastebin.com/BtuU74yG
>> >>>>
>> >>>> brooklun output: https://pastebin.com/REGwLnWz
>> >>>>
>> >>>> br output: https://pastebin.com/sihThbK1
>> >>>>
>> >>>>
>> >>>>
>> >>>> Rupinder
>> >>>>
>> >>>> On Thu, Apr 13, 2017 at 2:22 PM, Guglielmo Nigri <
>> >>>> guglielmo.nigri@cloudsoftcorp.com> wrote:
>> >>>>
>> >>>> Hi Rupinder,
>> >>>>>
>> >>>>> The yaml is missing, can you post it to pastebin as well, maybe?
>> >>>>> It would also help to see the logs for the localhost deployment,
>> too.
>> >>>>>
>> >>>>> Cheers,
>> >>>>>
>> >>>>> Guglielmo
>> >>>>>
>> >>>>> On 13 April 2017 at 05:49, Rupinder Singh <ru...@gmail.com>
>> wrote:
>> >>>>>
>> >>>>> Hi,
>> >>>>>>
>> >>>>>> I'm using 0.10.0 on windows 7. I'm trying to deploy a tomcat to
>> >>>>>> either to
>> >>>>>> trystack or to localhost(of course, with yaml modified) as per the
>> >>>>>>   attached yaml. The outputs are
>> >>>>>>
>> >>>>>> Brooklyn output: https://pastebin.com/14kEhzRK
>> >>>>>>
>> >>>>>> Br Output: https://pastebin.com/nuGssySt
>> >>>>>>
>> >>>>>>
>> >>>>>> Trystack status keeps showing as attached.
>> >>>>>>
>> >>>>>>
>> >>>>>>
>> >>>>>> After taking a lot of time to start, it declares ERROR. It meets
>> the
>> >>>>>> same
>> >>>>>> fate on localhost.
>> >>>>>>
>> >>>>>>
>> >>>>>> Rupinder
>> >>>>>>
>> >>>>>>
>> >>>
>> >>
>> > --
>>
>> Thomas Bouron • Senior Software Engineer @ Cloudsoft Corporation •
>> https://cloudsoft.io/
>> Github: https://github.com/tbouron
>> Twitter: https://twitter.com/eltibouron
>>
>

Re: Failing to deploy

Posted by Rupinder Singh <ru...@gmail.com>.
Hi Thomas, Andrea

Localhost deployment works as before.

Still unlucky with TryStack, :-) ! Thanks for your continued support!

I'm attaching blueprints and logs here.


Rupinder

On Sun, Apr 16, 2017 at 3:01 PM, Rupinder Singh <ru...@gmail.com> wrote:

> Thanks Thomas. Andrea. I'll try and get back.
>
> Rupinder
> On 16 Apr 2017 14:31, "Andrea Turli" <an...@cloudsoftcorp.com>
> wrote:
>
>> Hi,
>>
>> In addition to the very good suggestione from Thomas, you can also try by
>> adding
>>
>> imageId=RegionOne/76f5f4aa-a78f-4703-b738-cab967957431
>>
>> to force Brooklyn to pick your Ubuntu 16.04 image. This will couple your
>> blueprint to the specific image, if that is not accettable for you there
>> is
>> also use
>> 'osNameRegex' [1] that can help Brooklyn in selecting the desired image
>> without hardcoding the image id.
>>
>> HTH,
>> Andrea
>>
>> [1]: https://brooklyn.apache.org/v/latest/ops/locations/
>>
>> Il 16/apr/2017 10:43, "Thomas Bouron" <th...@cloudsoftcorp.com>
>> ha
>> scritto:
>>
>> Hi Rupinder.
>>
>> Looks like your Openstack mislabelled your ubuntu images as you can see in
>> this log extract:
>>
>> 2017-04-15 19:40:06,274 INFO  o.a.b.l.j.JcloudsLocation
>> [brooklyn-execmanager-Nhwh8YHI-21]:  Image:
>> {id=RegionOne/b55d48a9-29af-490c-af8d-ff897f688f0c,
>> providerId=b55d48a9-29af-490c-af8d-ff897f688f0c, name=Ubuntu14.04,
>> location={scope=REGION, id=RegionOne, description=RegionOne,
>> parent=openstack-nova}, os={family=unrecognized, name=Ubuntu14.04,
>> description=Ubuntu14.04, is64Bit=true}, description=Ubuntu14.04,
>> status=AVAILABLE, loginUser=root,
>> userMetadata={description=Ubuntu14.04}}
>> 2017-04-15 19:40:06,296 INFO  o.a.b.l.j.JcloudsLocation
>> [brooklyn-execmanager-Nhwh8YHI-21]:  Image:
>> {id=RegionOne/76f5f4aa-a78f-4703-b738-cab967957431,
>> providerId=76f5f4aa-a78f-4703-b738-cab967957431, name=Ubuntu16.04,
>> location={scope=REGION, id=RegionOne, description=RegionOne,
>> parent=openstack-nova}, os={family=unrecognized, name=Ubuntu16.04,
>> description=Ubuntu16.04, is64Bit=true}, description=Ubuntu16.04,
>> status=AVAILABLE, loginUser=root}
>>
>>
>> The OS family is not populated (unrecognized) which is probably the reason
>> why Brooklyn cannot find any matching images.
>>
>> I would suggest to try a `osFamily: centos` in your blueprint instead.
>> Based on the info log you provided, those are correctly tagged
>>
>> Best.
>>
>> On Sat, 15 Apr 2017 at 16:05 Rupinder Singh <ru...@gmail.com> wrote:
>>
>> > Hi Aled,
>> >
>> > the info log is here. I missed it earlier.
>> >
>> > Rupinder
>> >
>> > On Sat, Apr 15, 2017 at 8:32 PM, Rupinder Singh <ru...@gmail.com>
>> > wrote:
>> >
>> >> Hi Aled,
>> >> Thanks for help!
>> >>
>> >> I just want to test my setup once.
>> >>
>> >> I have now taken simple blueprints available in Brooklyn web console
>> and
>> >> adjusted them for localhost and TtryStack  as server1 and server2 as
>> >> attached as txt.
>> >>
>> >> Localhost deployment is successful and web console status is attached
>> as
>> >> web_console_output1 here.
>> >>
>> >> TryStack deployment doesn't happen and web console staus is attached as
>> >> web_console_output2 here.
>> >>
>> >> Brroklyn console output as also debug and info log are attached here as
>> >> txts.
>> >>
>> >>
>> >> The debug log is so large, so didn't work in pastebin.
>> >>
>> >> Rupinder
>> >>
>> >>
>> >>
>> >> On Thu, Apr 13, 2017 at 3:11 PM, Aled Sage <al...@gmail.com>
>> wrote:
>> >>
>> >>> Hi,
>> >>>
>> >>> For your localhost failure, the brooklyn output shows "Cannot
>> establish
>> >>> ssh connection to ... 127.0.0.1:22".
>> >>>
>> >>> You said earlier that you were running on Windows 7. Therefore
>> deploying
>> >>> to localhost will not work with this blueprint, as it does not support
>> >>> windows.
>> >>>
>> >>> You could instead try bring your own node (BYON) - you could deploy a
>> >>> linux VM and then use a BYON location with that ip:port and
>> credentials.
>> >>>
>> >>> Aled
>> >>>
>> >>>
>> >>> On 13/04/2017 10:30, Rupinder Singh wrote:
>> >>>
>> >>>> Hi Guglielmo,
>> >>>>
>> >>>> For l localhost deployment,
>> >>>>
>> >>>> yaml: https://pastebin.com/BtuU74yG
>> >>>>
>> >>>> brooklun output: https://pastebin.com/REGwLnWz
>> >>>>
>> >>>> br output: https://pastebin.com/sihThbK1
>> >>>>
>> >>>>
>> >>>>
>> >>>> Rupinder
>> >>>>
>> >>>> On Thu, Apr 13, 2017 at 2:22 PM, Guglielmo Nigri <
>> >>>> guglielmo.nigri@cloudsoftcorp.com> wrote:
>> >>>>
>> >>>> Hi Rupinder,
>> >>>>>
>> >>>>> The yaml is missing, can you post it to pastebin as well, maybe?
>> >>>>> It would also help to see the logs for the localhost deployment,
>> too.
>> >>>>>
>> >>>>> Cheers,
>> >>>>>
>> >>>>> Guglielmo
>> >>>>>
>> >>>>> On 13 April 2017 at 05:49, Rupinder Singh <ru...@gmail.com>
>> wrote:
>> >>>>>
>> >>>>> Hi,
>> >>>>>>
>> >>>>>> I'm using 0.10.0 on windows 7. I'm trying to deploy a tomcat to
>> >>>>>> either to
>> >>>>>> trystack or to localhost(of course, with yaml modified) as per the
>> >>>>>>   attached yaml. The outputs are
>> >>>>>>
>> >>>>>> Brooklyn output: https://pastebin.com/14kEhzRK
>> >>>>>>
>> >>>>>> Br Output: https://pastebin.com/nuGssySt
>> >>>>>>
>> >>>>>>
>> >>>>>> Trystack status keeps showing as attached.
>> >>>>>>
>> >>>>>>
>> >>>>>>
>> >>>>>> After taking a lot of time to start, it declares ERROR. It meets
>> the
>> >>>>>> same
>> >>>>>> fate on localhost.
>> >>>>>>
>> >>>>>>
>> >>>>>> Rupinder
>> >>>>>>
>> >>>>>>
>> >>>
>> >>
>> > --
>>
>> Thomas Bouron • Senior Software Engineer @ Cloudsoft Corporation •
>> https://cloudsoft.io/
>> Github: https://github.com/tbouron
>> Twitter: https://twitter.com/eltibouron
>>
>

Re: Failing to deploy

Posted by Rupinder Singh <ru...@gmail.com>.
Thanks Thomas. Andrea. I'll try and get back.

Rupinder
On 16 Apr 2017 14:31, "Andrea Turli" <an...@cloudsoftcorp.com> wrote:

> Hi,
>
> In addition to the very good suggestione from Thomas, you can also try by
> adding
>
> imageId=RegionOne/76f5f4aa-a78f-4703-b738-cab967957431
>
> to force Brooklyn to pick your Ubuntu 16.04 image. This will couple your
> blueprint to the specific image, if that is not accettable for you there is
> also use
> 'osNameRegex' [1] that can help Brooklyn in selecting the desired image
> without hardcoding the image id.
>
> HTH,
> Andrea
>
> [1]: https://brooklyn.apache.org/v/latest/ops/locations/
>
> Il 16/apr/2017 10:43, "Thomas Bouron" <th...@cloudsoftcorp.com> ha
> scritto:
>
> Hi Rupinder.
>
> Looks like your Openstack mislabelled your ubuntu images as you can see in
> this log extract:
>
> 2017-04-15 19:40:06,274 INFO  o.a.b.l.j.JcloudsLocation
> [brooklyn-execmanager-Nhwh8YHI-21]:  Image:
> {id=RegionOne/b55d48a9-29af-490c-af8d-ff897f688f0c,
> providerId=b55d48a9-29af-490c-af8d-ff897f688f0c, name=Ubuntu14.04,
> location={scope=REGION, id=RegionOne, description=RegionOne,
> parent=openstack-nova}, os={family=unrecognized, name=Ubuntu14.04,
> description=Ubuntu14.04, is64Bit=true}, description=Ubuntu14.04,
> status=AVAILABLE, loginUser=root,
> userMetadata={description=Ubuntu14.04}}
> 2017-04-15 19:40:06,296 INFO  o.a.b.l.j.JcloudsLocation
> [brooklyn-execmanager-Nhwh8YHI-21]:  Image:
> {id=RegionOne/76f5f4aa-a78f-4703-b738-cab967957431,
> providerId=76f5f4aa-a78f-4703-b738-cab967957431, name=Ubuntu16.04,
> location={scope=REGION, id=RegionOne, description=RegionOne,
> parent=openstack-nova}, os={family=unrecognized, name=Ubuntu16.04,
> description=Ubuntu16.04, is64Bit=true}, description=Ubuntu16.04,
> status=AVAILABLE, loginUser=root}
>
>
> The OS family is not populated (unrecognized) which is probably the reason
> why Brooklyn cannot find any matching images.
>
> I would suggest to try a `osFamily: centos` in your blueprint instead.
> Based on the info log you provided, those are correctly tagged
>
> Best.
>
> On Sat, 15 Apr 2017 at 16:05 Rupinder Singh <ru...@gmail.com> wrote:
>
> > Hi Aled,
> >
> > the info log is here. I missed it earlier.
> >
> > Rupinder
> >
> > On Sat, Apr 15, 2017 at 8:32 PM, Rupinder Singh <ru...@gmail.com>
> > wrote:
> >
> >> Hi Aled,
> >> Thanks for help!
> >>
> >> I just want to test my setup once.
> >>
> >> I have now taken simple blueprints available in Brooklyn web console and
> >> adjusted them for localhost and TtryStack  as server1 and server2 as
> >> attached as txt.
> >>
> >> Localhost deployment is successful and web console status is attached as
> >> web_console_output1 here.
> >>
> >> TryStack deployment doesn't happen and web console staus is attached as
> >> web_console_output2 here.
> >>
> >> Brroklyn console output as also debug and info log are attached here as
> >> txts.
> >>
> >>
> >> The debug log is so large, so didn't work in pastebin.
> >>
> >> Rupinder
> >>
> >>
> >>
> >> On Thu, Apr 13, 2017 at 3:11 PM, Aled Sage <al...@gmail.com> wrote:
> >>
> >>> Hi,
> >>>
> >>> For your localhost failure, the brooklyn output shows "Cannot establish
> >>> ssh connection to ... 127.0.0.1:22".
> >>>
> >>> You said earlier that you were running on Windows 7. Therefore
> deploying
> >>> to localhost will not work with this blueprint, as it does not support
> >>> windows.
> >>>
> >>> You could instead try bring your own node (BYON) - you could deploy a
> >>> linux VM and then use a BYON location with that ip:port and
> credentials.
> >>>
> >>> Aled
> >>>
> >>>
> >>> On 13/04/2017 10:30, Rupinder Singh wrote:
> >>>
> >>>> Hi Guglielmo,
> >>>>
> >>>> For l localhost deployment,
> >>>>
> >>>> yaml: https://pastebin.com/BtuU74yG
> >>>>
> >>>> brooklun output: https://pastebin.com/REGwLnWz
> >>>>
> >>>> br output: https://pastebin.com/sihThbK1
> >>>>
> >>>>
> >>>>
> >>>> Rupinder
> >>>>
> >>>> On Thu, Apr 13, 2017 at 2:22 PM, Guglielmo Nigri <
> >>>> guglielmo.nigri@cloudsoftcorp.com> wrote:
> >>>>
> >>>> Hi Rupinder,
> >>>>>
> >>>>> The yaml is missing, can you post it to pastebin as well, maybe?
> >>>>> It would also help to see the logs for the localhost deployment, too.
> >>>>>
> >>>>> Cheers,
> >>>>>
> >>>>> Guglielmo
> >>>>>
> >>>>> On 13 April 2017 at 05:49, Rupinder Singh <ru...@gmail.com>
> wrote:
> >>>>>
> >>>>> Hi,
> >>>>>>
> >>>>>> I'm using 0.10.0 on windows 7. I'm trying to deploy a tomcat to
> >>>>>> either to
> >>>>>> trystack or to localhost(of course, with yaml modified) as per the
> >>>>>>   attached yaml. The outputs are
> >>>>>>
> >>>>>> Brooklyn output: https://pastebin.com/14kEhzRK
> >>>>>>
> >>>>>> Br Output: https://pastebin.com/nuGssySt
> >>>>>>
> >>>>>>
> >>>>>> Trystack status keeps showing as attached.
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> After taking a lot of time to start, it declares ERROR. It meets the
> >>>>>> same
> >>>>>> fate on localhost.
> >>>>>>
> >>>>>>
> >>>>>> Rupinder
> >>>>>>
> >>>>>>
> >>>
> >>
> > --
>
> Thomas Bouron • Senior Software Engineer @ Cloudsoft Corporation •
> https://cloudsoft.io/
> Github: https://github.com/tbouron
> Twitter: https://twitter.com/eltibouron
>

Re: Failing to deploy

Posted by Andrea Turli <an...@cloudsoftcorp.com>.
Hi,

In addition to the very good suggestione from Thomas, you can also try by
adding

imageId=RegionOne/76f5f4aa-a78f-4703-b738-cab967957431

to force Brooklyn to pick your Ubuntu 16.04 image. This will couple your
blueprint to the specific image, if that is not accettable for you there is
also use
'osNameRegex' [1] that can help Brooklyn in selecting the desired image
without hardcoding the image id.

HTH,
Andrea

[1]: https://brooklyn.apache.org/v/latest/ops/locations/

Il 16/apr/2017 10:43, "Thomas Bouron" <th...@cloudsoftcorp.com> ha
scritto:

Hi Rupinder.

Looks like your Openstack mislabelled your ubuntu images as you can see in
this log extract:

2017-04-15 19:40:06,274 INFO  o.a.b.l.j.JcloudsLocation
[brooklyn-execmanager-Nhwh8YHI-21]:  Image:
{id=RegionOne/b55d48a9-29af-490c-af8d-ff897f688f0c,
providerId=b55d48a9-29af-490c-af8d-ff897f688f0c, name=Ubuntu14.04,
location={scope=REGION, id=RegionOne, description=RegionOne,
parent=openstack-nova}, os={family=unrecognized, name=Ubuntu14.04,
description=Ubuntu14.04, is64Bit=true}, description=Ubuntu14.04,
status=AVAILABLE, loginUser=root,
userMetadata={description=Ubuntu14.04}}
2017-04-15 19:40:06,296 INFO  o.a.b.l.j.JcloudsLocation
[brooklyn-execmanager-Nhwh8YHI-21]:  Image:
{id=RegionOne/76f5f4aa-a78f-4703-b738-cab967957431,
providerId=76f5f4aa-a78f-4703-b738-cab967957431, name=Ubuntu16.04,
location={scope=REGION, id=RegionOne, description=RegionOne,
parent=openstack-nova}, os={family=unrecognized, name=Ubuntu16.04,
description=Ubuntu16.04, is64Bit=true}, description=Ubuntu16.04,
status=AVAILABLE, loginUser=root}


The OS family is not populated (unrecognized) which is probably the reason
why Brooklyn cannot find any matching images.

I would suggest to try a `osFamily: centos` in your blueprint instead.
Based on the info log you provided, those are correctly tagged

Best.

On Sat, 15 Apr 2017 at 16:05 Rupinder Singh <ru...@gmail.com> wrote:

> Hi Aled,
>
> the info log is here. I missed it earlier.
>
> Rupinder
>
> On Sat, Apr 15, 2017 at 8:32 PM, Rupinder Singh <ru...@gmail.com>
> wrote:
>
>> Hi Aled,
>> Thanks for help!
>>
>> I just want to test my setup once.
>>
>> I have now taken simple blueprints available in Brooklyn web console and
>> adjusted them for localhost and TtryStack  as server1 and server2 as
>> attached as txt.
>>
>> Localhost deployment is successful and web console status is attached as
>> web_console_output1 here.
>>
>> TryStack deployment doesn't happen and web console staus is attached as
>> web_console_output2 here.
>>
>> Brroklyn console output as also debug and info log are attached here as
>> txts.
>>
>>
>> The debug log is so large, so didn't work in pastebin.
>>
>> Rupinder
>>
>>
>>
>> On Thu, Apr 13, 2017 at 3:11 PM, Aled Sage <al...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> For your localhost failure, the brooklyn output shows "Cannot establish
>>> ssh connection to ... 127.0.0.1:22".
>>>
>>> You said earlier that you were running on Windows 7. Therefore deploying
>>> to localhost will not work with this blueprint, as it does not support
>>> windows.
>>>
>>> You could instead try bring your own node (BYON) - you could deploy a
>>> linux VM and then use a BYON location with that ip:port and credentials.
>>>
>>> Aled
>>>
>>>
>>> On 13/04/2017 10:30, Rupinder Singh wrote:
>>>
>>>> Hi Guglielmo,
>>>>
>>>> For l localhost deployment,
>>>>
>>>> yaml: https://pastebin.com/BtuU74yG
>>>>
>>>> brooklun output: https://pastebin.com/REGwLnWz
>>>>
>>>> br output: https://pastebin.com/sihThbK1
>>>>
>>>>
>>>>
>>>> Rupinder
>>>>
>>>> On Thu, Apr 13, 2017 at 2:22 PM, Guglielmo Nigri <
>>>> guglielmo.nigri@cloudsoftcorp.com> wrote:
>>>>
>>>> Hi Rupinder,
>>>>>
>>>>> The yaml is missing, can you post it to pastebin as well, maybe?
>>>>> It would also help to see the logs for the localhost deployment, too.
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Guglielmo
>>>>>
>>>>> On 13 April 2017 at 05:49, Rupinder Singh <ru...@gmail.com> wrote:
>>>>>
>>>>> Hi,
>>>>>>
>>>>>> I'm using 0.10.0 on windows 7. I'm trying to deploy a tomcat to
>>>>>> either to
>>>>>> trystack or to localhost(of course, with yaml modified) as per the
>>>>>>   attached yaml. The outputs are
>>>>>>
>>>>>> Brooklyn output: https://pastebin.com/14kEhzRK
>>>>>>
>>>>>> Br Output: https://pastebin.com/nuGssySt
>>>>>>
>>>>>>
>>>>>> Trystack status keeps showing as attached.
>>>>>>
>>>>>>
>>>>>>
>>>>>> After taking a lot of time to start, it declares ERROR. It meets the
>>>>>> same
>>>>>> fate on localhost.
>>>>>>
>>>>>>
>>>>>> Rupinder
>>>>>>
>>>>>>
>>>
>>
> --

Thomas Bouron • Senior Software Engineer @ Cloudsoft Corporation •
https://cloudsoft.io/
Github: https://github.com/tbouron
Twitter: https://twitter.com/eltibouron

Re: Failing to deploy

Posted by Thomas Bouron <th...@cloudsoftcorp.com>.
Hi Rupinder.

Looks like your Openstack mislabelled your ubuntu images as you can see in
this log extract:

2017-04-15 19:40:06,274 INFO  o.a.b.l.j.JcloudsLocation
[brooklyn-execmanager-Nhwh8YHI-21]:  Image:
{id=RegionOne/b55d48a9-29af-490c-af8d-ff897f688f0c,
providerId=b55d48a9-29af-490c-af8d-ff897f688f0c, name=Ubuntu14.04,
location={scope=REGION, id=RegionOne, description=RegionOne,
parent=openstack-nova}, os={family=unrecognized, name=Ubuntu14.04,
description=Ubuntu14.04, is64Bit=true}, description=Ubuntu14.04,
status=AVAILABLE, loginUser=root,
userMetadata={description=Ubuntu14.04}}
2017-04-15 19:40:06,296 INFO  o.a.b.l.j.JcloudsLocation
[brooklyn-execmanager-Nhwh8YHI-21]:  Image:
{id=RegionOne/76f5f4aa-a78f-4703-b738-cab967957431,
providerId=76f5f4aa-a78f-4703-b738-cab967957431, name=Ubuntu16.04,
location={scope=REGION, id=RegionOne, description=RegionOne,
parent=openstack-nova}, os={family=unrecognized, name=Ubuntu16.04,
description=Ubuntu16.04, is64Bit=true}, description=Ubuntu16.04,
status=AVAILABLE, loginUser=root}


The OS family is not populated (unrecognized) which is probably the reason
why Brooklyn cannot find any matching images.

I would suggest to try a `osFamily: centos` in your blueprint instead.
Based on the info log you provided, those are correctly tagged

Best.

On Sat, 15 Apr 2017 at 16:05 Rupinder Singh <ru...@gmail.com> wrote:

> Hi Aled,
>
> the info log is here. I missed it earlier.
>
> Rupinder
>
> On Sat, Apr 15, 2017 at 8:32 PM, Rupinder Singh <ru...@gmail.com>
> wrote:
>
>> Hi Aled,
>> Thanks for help!
>>
>> I just want to test my setup once.
>>
>> I have now taken simple blueprints available in Brooklyn web console and
>> adjusted them for localhost and TtryStack  as server1 and server2 as
>> attached as txt.
>>
>> Localhost deployment is successful and web console status is attached as
>> web_console_output1 here.
>>
>> TryStack deployment doesn't happen and web console staus is attached as
>> web_console_output2 here.
>>
>> Brroklyn console output as also debug and info log are attached here as
>> txts.
>>
>>
>> The debug log is so large, so didn't work in pastebin.
>>
>> Rupinder
>>
>>
>>
>> On Thu, Apr 13, 2017 at 3:11 PM, Aled Sage <al...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> For your localhost failure, the brooklyn output shows "Cannot establish
>>> ssh connection to ... 127.0.0.1:22".
>>>
>>> You said earlier that you were running on Windows 7. Therefore deploying
>>> to localhost will not work with this blueprint, as it does not support
>>> windows.
>>>
>>> You could instead try bring your own node (BYON) - you could deploy a
>>> linux VM and then use a BYON location with that ip:port and credentials.
>>>
>>> Aled
>>>
>>>
>>> On 13/04/2017 10:30, Rupinder Singh wrote:
>>>
>>>> Hi Guglielmo,
>>>>
>>>> For l localhost deployment,
>>>>
>>>> yaml: https://pastebin.com/BtuU74yG
>>>>
>>>> brooklun output: https://pastebin.com/REGwLnWz
>>>>
>>>> br output: https://pastebin.com/sihThbK1
>>>>
>>>>
>>>>
>>>> Rupinder
>>>>
>>>> On Thu, Apr 13, 2017 at 2:22 PM, Guglielmo Nigri <
>>>> guglielmo.nigri@cloudsoftcorp.com> wrote:
>>>>
>>>> Hi Rupinder,
>>>>>
>>>>> The yaml is missing, can you post it to pastebin as well, maybe?
>>>>> It would also help to see the logs for the localhost deployment, too.
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Guglielmo
>>>>>
>>>>> On 13 April 2017 at 05:49, Rupinder Singh <ru...@gmail.com> wrote:
>>>>>
>>>>> Hi,
>>>>>>
>>>>>> I'm using 0.10.0 on windows 7. I'm trying to deploy a tomcat to
>>>>>> either to
>>>>>> trystack or to localhost(of course, with yaml modified) as per the
>>>>>>   attached yaml. The outputs are
>>>>>>
>>>>>> Brooklyn output: https://pastebin.com/14kEhzRK
>>>>>>
>>>>>> Br Output: https://pastebin.com/nuGssySt
>>>>>>
>>>>>>
>>>>>> Trystack status keeps showing as attached.
>>>>>>
>>>>>>
>>>>>>
>>>>>> After taking a lot of time to start, it declares ERROR. It meets the
>>>>>> same
>>>>>> fate on localhost.
>>>>>>
>>>>>>
>>>>>> Rupinder
>>>>>>
>>>>>>
>>>
>>
> --

Thomas Bouron • Senior Software Engineer @ Cloudsoft Corporation •
https://cloudsoft.io/
Github: https://github.com/tbouron
Twitter: https://twitter.com/eltibouron

Re: Failing to deploy

Posted by Rupinder Singh <ru...@gmail.com>.
Hi Aled,

the info log is here. I missed it earlier.

Rupinder

On Sat, Apr 15, 2017 at 8:32 PM, Rupinder Singh <ru...@gmail.com> wrote:

> Hi Aled,
> Thanks for help!
>
> I just want to test my setup once.
>
> I have now taken simple blueprints available in Brooklyn web console and
> adjusted them for localhost and TtryStack  as server1 and server2 as
> attached as txt.
>
> Localhost deployment is successful and web console status is attached as
> web_console_output1 here.
>
> TryStack deployment doesn't happen and web console staus is attached as
> web_console_output2 here.
>
> Brroklyn console output as also debug and info log are attached here as
> txts.
>
>
> The debug log is so large, so didn't work in pastebin.
>
> Rupinder
>
>
>
> On Thu, Apr 13, 2017 at 3:11 PM, Aled Sage <al...@gmail.com> wrote:
>
>> Hi,
>>
>> For your localhost failure, the brooklyn output shows "Cannot establish
>> ssh connection to ... 127.0.0.1:22".
>>
>> You said earlier that you were running on Windows 7. Therefore deploying
>> to localhost will not work with this blueprint, as it does not support
>> windows.
>>
>> You could instead try bring your own node (BYON) - you could deploy a
>> linux VM and then use a BYON location with that ip:port and credentials.
>>
>> Aled
>>
>>
>> On 13/04/2017 10:30, Rupinder Singh wrote:
>>
>>> Hi Guglielmo,
>>>
>>> For l localhost deployment,
>>>
>>> yaml: https://pastebin.com/BtuU74yG
>>>
>>> brooklun output: https://pastebin.com/REGwLnWz
>>>
>>> br output: https://pastebin.com/sihThbK1
>>>
>>>
>>>
>>> Rupinder
>>>
>>> On Thu, Apr 13, 2017 at 2:22 PM, Guglielmo Nigri <
>>> guglielmo.nigri@cloudsoftcorp.com> wrote:
>>>
>>> Hi Rupinder,
>>>>
>>>> The yaml is missing, can you post it to pastebin as well, maybe?
>>>> It would also help to see the logs for the localhost deployment, too.
>>>>
>>>> Cheers,
>>>>
>>>> Guglielmo
>>>>
>>>> On 13 April 2017 at 05:49, Rupinder Singh <ru...@gmail.com> wrote:
>>>>
>>>> Hi,
>>>>>
>>>>> I'm using 0.10.0 on windows 7. I'm trying to deploy a tomcat to either
>>>>> to
>>>>> trystack or to localhost(of course, with yaml modified) as per the
>>>>>   attached yaml. The outputs are
>>>>>
>>>>> Brooklyn output: https://pastebin.com/14kEhzRK
>>>>>
>>>>> Br Output: https://pastebin.com/nuGssySt
>>>>>
>>>>>
>>>>> Trystack status keeps showing as attached.
>>>>>
>>>>>
>>>>>
>>>>> After taking a lot of time to start, it declares ERROR. It meets the
>>>>> same
>>>>> fate on localhost.
>>>>>
>>>>>
>>>>> Rupinder
>>>>>
>>>>>
>>
>

Re: Failing to deploy

Posted by Rupinder Singh <ru...@gmail.com>.
Hi Aled,
Thanks for help!

I just want to test my setup once.

I have now taken simple blueprints available in Brooklyn web console and
adjusted them for localhost and TtryStack  as server1 and server2 as
attached as txt.

Localhost deployment is successful and web console status is attached as
web_console_output1 here.

TryStack deployment doesn't happen and web console staus is attached as
web_console_output2 here.

Brroklyn console output as also debug and info log are attached here as
txts.


The debug log is so large, so didn't work in pastebin.

Rupinder



On Thu, Apr 13, 2017 at 3:11 PM, Aled Sage <al...@gmail.com> wrote:

> Hi,
>
> For your localhost failure, the brooklyn output shows "Cannot establish
> ssh connection to ... 127.0.0.1:22".
>
> You said earlier that you were running on Windows 7. Therefore deploying
> to localhost will not work with this blueprint, as it does not support
> windows.
>
> You could instead try bring your own node (BYON) - you could deploy a
> linux VM and then use a BYON location with that ip:port and credentials.
>
> Aled
>
>
> On 13/04/2017 10:30, Rupinder Singh wrote:
>
>> Hi Guglielmo,
>>
>> For l localhost deployment,
>>
>> yaml: https://pastebin.com/BtuU74yG
>>
>> brooklun output: https://pastebin.com/REGwLnWz
>>
>> br output: https://pastebin.com/sihThbK1
>>
>>
>>
>> Rupinder
>>
>> On Thu, Apr 13, 2017 at 2:22 PM, Guglielmo Nigri <
>> guglielmo.nigri@cloudsoftcorp.com> wrote:
>>
>> Hi Rupinder,
>>>
>>> The yaml is missing, can you post it to pastebin as well, maybe?
>>> It would also help to see the logs for the localhost deployment, too.
>>>
>>> Cheers,
>>>
>>> Guglielmo
>>>
>>> On 13 April 2017 at 05:49, Rupinder Singh <ru...@gmail.com> wrote:
>>>
>>> Hi,
>>>>
>>>> I'm using 0.10.0 on windows 7. I'm trying to deploy a tomcat to either
>>>> to
>>>> trystack or to localhost(of course, with yaml modified) as per the
>>>>   attached yaml. The outputs are
>>>>
>>>> Brooklyn output: https://pastebin.com/14kEhzRK
>>>>
>>>> Br Output: https://pastebin.com/nuGssySt
>>>>
>>>>
>>>> Trystack status keeps showing as attached.
>>>>
>>>>
>>>>
>>>> After taking a lot of time to start, it declares ERROR. It meets the
>>>> same
>>>> fate on localhost.
>>>>
>>>>
>>>> Rupinder
>>>>
>>>>
>

Re: Failing to deploy

Posted by Aled Sage <al...@gmail.com>.
Hi,

For your localhost failure, the brooklyn output shows "Cannot establish 
ssh connection to ... 127.0.0.1:22".

You said earlier that you were running on Windows 7. Therefore deploying 
to localhost will not work with this blueprint, as it does not support 
windows.

You could instead try bring your own node (BYON) - you could deploy a 
linux VM and then use a BYON location with that ip:port and credentials.

Aled


On 13/04/2017 10:30, Rupinder Singh wrote:
> Hi Guglielmo,
>
> For l localhost deployment,
>
> yaml: https://pastebin.com/BtuU74yG
>
> brooklun output: https://pastebin.com/REGwLnWz
>
> br output: https://pastebin.com/sihThbK1
>
>
>
> Rupinder
>
> On Thu, Apr 13, 2017 at 2:22 PM, Guglielmo Nigri <
> guglielmo.nigri@cloudsoftcorp.com> wrote:
>
>> Hi Rupinder,
>>
>> The yaml is missing, can you post it to pastebin as well, maybe?
>> It would also help to see the logs for the localhost deployment, too.
>>
>> Cheers,
>>
>> Guglielmo
>>
>> On 13 April 2017 at 05:49, Rupinder Singh <ru...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I'm using 0.10.0 on windows 7. I'm trying to deploy a tomcat to either to
>>> trystack or to localhost(of course, with yaml modified) as per the
>>>   attached yaml. The outputs are
>>>
>>> Brooklyn output: https://pastebin.com/14kEhzRK
>>>
>>> Br Output: https://pastebin.com/nuGssySt
>>>
>>>
>>> Trystack status keeps showing as attached.
>>>
>>>
>>>
>>> After taking a lot of time to start, it declares ERROR. It meets the same
>>> fate on localhost.
>>>
>>>
>>> Rupinder
>>>


Re: Failing to deploy

Posted by Rupinder Singh <ru...@gmail.com>.
Hi Guglielmo,

For l localhost deployment,

yaml: https://pastebin.com/BtuU74yG

brooklun output: https://pastebin.com/REGwLnWz

br output: https://pastebin.com/sihThbK1



Rupinder

On Thu, Apr 13, 2017 at 2:22 PM, Guglielmo Nigri <
guglielmo.nigri@cloudsoftcorp.com> wrote:

> Hi Rupinder,
>
> The yaml is missing, can you post it to pastebin as well, maybe?
> It would also help to see the logs for the localhost deployment, too.
>
> Cheers,
>
> Guglielmo
>
> On 13 April 2017 at 05:49, Rupinder Singh <ru...@gmail.com> wrote:
>
> > Hi,
> >
> > I'm using 0.10.0 on windows 7. I'm trying to deploy a tomcat to either to
> > trystack or to localhost(of course, with yaml modified) as per the
> >  attached yaml. The outputs are
> >
> > Brooklyn output: https://pastebin.com/14kEhzRK
> >
> > Br Output: https://pastebin.com/nuGssySt
> >
> >
> > Trystack status keeps showing as attached.
> >
> >
> >
> > After taking a lot of time to start, it declares ERROR. It meets the same
> > fate on localhost.
> >
> >
> > Rupinder
> >
>

Re: Failing to deploy

Posted by Guglielmo Nigri <gu...@cloudsoftcorp.com>.
Hi Rupinder,

The yaml is missing, can you post it to pastebin as well, maybe?
It would also help to see the logs for the localhost deployment, too.

Cheers,

Guglielmo

On 13 April 2017 at 05:49, Rupinder Singh <ru...@gmail.com> wrote:

> Hi,
>
> I'm using 0.10.0 on windows 7. I'm trying to deploy a tomcat to either to
> trystack or to localhost(of course, with yaml modified) as per the
>  attached yaml. The outputs are
>
> Brooklyn output: https://pastebin.com/14kEhzRK
>
> Br Output: https://pastebin.com/nuGssySt
>
>
> Trystack status keeps showing as attached.
>
>
>
> After taking a lot of time to start, it declares ERROR. It meets the same
> fate on localhost.
>
>
> Rupinder
>