Hi Aled,

the info log is here. I missed it earlier.

Rupinder

On Sat, Apr 15, 2017 at 8:32 PM, Rupinder Singh <[email protected]> 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 <[email protected]> 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 <
>>> [email protected]> 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 <[email protected]> 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
>>>>>
>>>>>
>>
>
2017-04-15 19:34:08,281 INFO  o.a.b.l.BrooklynLauncher [main]: Starting 
Brooklyn web-console with no security options (defaulting to no 
authentication), on bind address <any>
2017-04-15 19:34:19,189 INFO  o.a.b.l.BrooklynWebServer [main]: Started 
Brooklyn console at http://127.0.0.1:8081/, running classpath://brooklyn.war@
2017-04-15 19:34:19,251 INFO  o.a.b.l.common.BasicLauncher [main]: Persistence 
disabled
2017-04-15 19:34:19,251 INFO  o.a.b.l.common.BasicLauncher [main]: High 
availability disabled
2017-04-15 19:34:34,629 INFO  org.apache.brooklyn.cli.Main [main]: Launched 
Brooklyn; will now block until shutdown command received via GUI/API 
(recommended) or process interrupt.
2017-04-15 19:39:09,987 INFO  o.a.b.c.l.g.UtraceHostGeoLookup [Thread-12]: Geo 
info lookup for 127.0.0.1/127.0.0.1 returned: HostGeoInfo[BHARTI Airtel, Mumbai 
(IN): 127.0.0.1 at (18.97500038147,72.825798034668)]
2017-04-15 19:39:10,443 INFO  o.a.b.r.r.ApplicationResource 
[brooklyn-jetty-server-8081-qtp3574342-23]: Launched from YAML: name: Server1 
(Brooklyn Example)


services:
- type: server
  name: My VM

location: localhost
  
    
     -> BasicApplicationImpl{id=d0rgvq5xli} (Task[start]@CNVnJSq0)
2017-04-15 19:39:10,791 INFO  o.a.b.e.s.b.l.MachineLifecycleEffectorTasks 
[brooklyn-execmanager-Nhwh8YHI-7]: Starting 
EmptySoftwareProcessImpl{id=fflg2jcc2d} on machine 
SshMachineLocation[localhost:[email protected]/127.0.0.1:22(id=b79lx1e9ji)]
2017-04-15 19:39:11,476 INFO  o.a.b.c.e.AbstractApplication 
[brooklyn-execmanager-Nhwh8YHI-0]: Started application 
BasicApplicationImpl{id=d0rgvq5xli}
2017-04-15 19:39:20,508 WARN  o.a.b.r.t.LocationTransformer$LocationDetailLevel 
[brooklyn-jetty-server-8081-qtp3574342-23]: Legacy spec lookup required for 
rest summary of LocalhostMachineProvisioningLocation{id=qgnx5abf2x, 
name=localhost}
2017-04-15 19:39:59,295 INFO  o.a.b.r.r.ApplicationResource 
[brooklyn-jetty-server-8081-qtp3574342-26]: Launched from YAML: name: Server2 
(Brooklyn Example)



services:
- type:           server
  name:           My VM

location:
  jclouds:openstack-nova:
    endpoint: http://8.43.86.2:5000/v2.0/  
    identity: "facebook1939146382766976:facebook1939146382766976"
    credential: <my pw>
    osFamily:     ubuntu
    minRam:       8gb
    user:         sample
    password:     s4mpl3
    
 -> BasicApplicationImpl{id=ijbp9uf014} (Task[start]@OZhGTv2C)
2017-04-15 19:39:59,402 INFO  o.a.b.e.s.b.l.MachineLifecycleEffectorTasks 
[brooklyn-execmanager-Nhwh8YHI-21]: Starting 
EmptySoftwareProcessImpl{id=uebzc5dqlc}, obtaining a new location instance in 
JcloudsLocation[openstack-nova:http://8.43.86.2:5000/v2.0/:facebook1939146382766976:facebook1939146382766976@fwtvqg9766]
 with ports [22]
2017-04-15 19:40:02,874 INFO  o.a.b.l.j.JcloudsLocation 
[brooklyn-execmanager-Nhwh8YHI-21]: Creating VM null in 
JcloudsLocation[openstack-nova:http://8.43.86.2:5000/v2.0/:facebook1939146382766976:facebook1939146382766976@fwtvqg9766]
2017-04-15 19:40:06,148 WARN  o.a.b.l.j.JcloudsLocation 
[brooklyn-execmanager-Nhwh8YHI-21]: Unable to match required VM template 
constraints PortableTemplateBuilder[ports=[22], os=ubuntu, 
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@fwtvqg9766]
 (rethrowing): java.util.NoSuchElementException: no image matched predicate: 
Predicates.and(nullEqualToIsParentOrIsGrandparentOfCurrentLocation(),Predicates.and(osFamily(ubuntu)))
2017-04-15 19:40:06,169 INFO  o.a.b.l.j.JcloudsLocation 
[brooklyn-execmanager-Nhwh8YHI-21]: Loading available images at 
JcloudsLocation[openstack-nova:http://8.43.86.2:5000/v2.0/:facebook1939146382766976:facebook1939146382766976@fwtvqg9766]
 for reference...
2017-04-15 19:40:06,181 INFO  o.a.b.l.j.JcloudsLocation 
[brooklyn-execmanager-Nhwh8YHI-21]: 11 available images at 
JcloudsLocation[openstack-nova:http://8.43.86.2:5000/v2.0/:facebook1939146382766976:facebook1939146382766976@fwtvqg9766]
2017-04-15 19:40:06,199 INFO  o.a.b.l.j.JcloudsLocation 
[brooklyn-execmanager-Nhwh8YHI-21]:  Image: 
{id=RegionOne/e66d8088-105a-40f2-a455-19ba15ccbf9b, 
providerId=e66d8088-105a-40f2-a455-19ba15ccbf9b, name=Fedora25 Atomic, 
location={scope=REGION, id=RegionOne, description=RegionOne, 
parent=openstack-nova}, os={family=unrecognized, name=Fedora25 Atomic, 
description=Fedora25 Atomic, is64Bit=true}, description=Fedora25 Atomic, 
status=AVAILABLE, loginUser=root}
2017-04-15 19:40:06,221 INFO  o.a.b.l.j.JcloudsLocation 
[brooklyn-execmanager-Nhwh8YHI-21]:  Image: 
{id=RegionOne/b03cd123-2d15-4a5a-805f-9d2148e3d405, 
providerId=b03cd123-2d15-4a5a-805f-9d2148e3d405, name=Fedora24, 
location={scope=REGION, id=RegionOne, description=RegionOne, 
parent=openstack-nova}, os={family=unrecognized, name=Fedora24, 
description=Fedora24, is64Bit=true}, description=Fedora24, status=AVAILABLE, 
loginUser=root, userMetadata={description=Fedora 24 Cloud Image}}
2017-04-15 19:40:06,236 INFO  o.a.b.l.j.JcloudsLocation 
[brooklyn-execmanager-Nhwh8YHI-21]:  Image: 
{id=RegionOne/e1bf2449-a38b-4860-8844-82ed4cfa7360, 
providerId=e1bf2449-a38b-4860-8844-82ed4cfa7360, name=CoreOS, 
location={scope=REGION, id=RegionOne, description=RegionOne, 
parent=openstack-nova}, os={family=coreos, name=CoreOS, description=CoreOS, 
is64Bit=true}, description=CoreOS, status=AVAILABLE, loginUser=root}
2017-04-15 19:40:06,250 INFO  o.a.b.l.j.JcloudsLocation 
[brooklyn-execmanager-Nhwh8YHI-21]:  Image: 
{id=RegionOne/ae5a8c23-d0f3-4b4e-900c-2470497c03ce, 
providerId=ae5a8c23-d0f3-4b4e-900c-2470497c03ce, name=CentOS7-Atomic, 
location={scope=REGION, id=RegionOne, description=RegionOne, 
parent=openstack-nova}, os={family=unrecognized, name=CentOS7-Atomic, 
description=CentOS7-Atomic, is64Bit=true}, description=CentOS7-Atomic, 
status=AVAILABLE, loginUser=root}
2017-04-15 19:40:06,261 INFO  o.a.b.l.j.JcloudsLocation 
[brooklyn-execmanager-Nhwh8YHI-21]:  Image: 
{id=RegionOne/c556a505-9552-4f24-96e5-40dbca943211, 
providerId=c556a505-9552-4f24-96e5-40dbca943211, name=CentOS6, 
location={scope=REGION, id=RegionOne, description=RegionOne, 
parent=openstack-nova}, os={family=unrecognized, name=CentOS6, 
description=CentOS6, is64Bit=true}, description=CentOS6, status=AVAILABLE, 
loginUser=root}
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}
2017-04-15 19:40:06,313 INFO  o.a.b.l.j.JcloudsLocation 
[brooklyn-execmanager-Nhwh8YHI-21]:  Image: 
{id=RegionOne/449d028d-46c8-4043-9f8f-c3872333117a, 
providerId=449d028d-46c8-4043-9f8f-c3872333117a, name=openSUSE13.2, 
location={scope=REGION, id=RegionOne, description=RegionOne, 
parent=openstack-nova}, os={family=unrecognized, name=openSUSE13.2, 
description=openSUSE13.2, is64Bit=true}, description=openSUSE13.2, 
status=AVAILABLE, loginUser=root}
2017-04-15 19:40:06,325 INFO  o.a.b.l.j.JcloudsLocation 
[brooklyn-execmanager-Nhwh8YHI-21]:  Image: 
{id=RegionOne/b81fca6d-3ea8-4690-88c6-62fc001b4dd5, 
providerId=b81fca6d-3ea8-4690-88c6-62fc001b4dd5, name=Fedora23, 
location={scope=REGION, id=RegionOne, description=RegionOne, 
parent=openstack-nova}, os={family=unrecognized, name=Fedora23, 
description=Fedora23, is64Bit=true}, description=Fedora23, status=AVAILABLE, 
loginUser=root, userMetadata={description=Fedora 23 Cloud Image}}
2017-04-15 19:40:06,350 INFO  o.a.b.l.j.JcloudsLocation 
[brooklyn-execmanager-Nhwh8YHI-21]:  Image: 
{id=RegionOne/24ef0dc5-481e-47d5-8227-a8e5616ecb3d, 
providerId=24ef0dc5-481e-47d5-8227-a8e5616ecb3d, name=CentOS7, 
location={scope=REGION, id=RegionOne, description=RegionOne, 
parent=openstack-nova}, os={family=unrecognized, name=CentOS7, 
description=CentOS7, is64Bit=true}, description=CentOS7, status=AVAILABLE, 
loginUser=root, userMetadata={description=CentOS7 Cloud Image Build 1602}}
2017-04-15 19:40:06,369 INFO  o.a.b.l.j.JcloudsLocation 
[brooklyn-execmanager-Nhwh8YHI-21]:  Image: 
{id=RegionOne/672153ff-5266-43f0-9ac4-dda73a179a66, 
providerId=672153ff-5266-43f0-9ac4-dda73a179a66, name=Cirros-0.3.4, 
location={scope=REGION, id=RegionOne, description=RegionOne, 
parent=openstack-nova}, os={family=unrecognized, name=Cirros-0.3.4, 
description=Cirros-0.3.4, is64Bit=true}, description=Cirros-0.3.4, 
status=AVAILABLE, loginUser=root, userMetadata={description=cirros-0.3.4}}
2017-04-15 19:40:06,390 INFO  o.a.b.l.j.JcloudsLocation 
[brooklyn-execmanager-Nhwh8YHI-21]: 3 available profiles at 
JcloudsLocation[openstack-nova:http://8.43.86.2:5000/v2.0/:facebook1939146382766976:facebook1939146382766976@fwtvqg9766]
2017-04-15 19:40:06,399 INFO  o.a.b.l.j.JcloudsLocation 
[brooklyn-execmanager-Nhwh8YHI-21]:  Profile: {id=RegionOne/1, providerId=1, 
name=m1.tiny, location={scope=REGION, id=RegionOne, description=RegionOne, 
parent=openstack-nova}, processors=[{cores=1.0, speed=1.0}], ram=512, 
volumes=[{type=LOCAL, size=1.0, bootDevice=true, durable=true}], 
supportsImage=Predicates.alwaysTrue()}
2017-04-15 19:40:06,410 INFO  o.a.b.l.j.JcloudsLocation 
[brooklyn-execmanager-Nhwh8YHI-21]:  Profile: {id=RegionOne/2, providerId=2, 
name=m1.small, location={scope=REGION, id=RegionOne, description=RegionOne, 
parent=openstack-nova}, processors=[{cores=1.0, speed=1.0}], ram=2048, 
volumes=[{type=LOCAL, size=20.0, bootDevice=true, durable=true}], 
supportsImage=Predicates.alwaysTrue()}
2017-04-15 19:40:06,425 INFO  o.a.b.l.j.JcloudsLocation 
[brooklyn-execmanager-Nhwh8YHI-21]:  Profile: 
{id=RegionOne/46211924-576f-4745-bab4-05df485f1d02, 
providerId=46211924-576f-4745-bab4-05df485f1d02, name=m1.smaller, 
location={scope=REGION, id=RegionOne, description=RegionOne, 
parent=openstack-nova}, processors=[{cores=1.0, speed=1.0}], ram=768, 
volumes=[{type=LOCAL, size=20.0, bootDevice=true, durable=true}], 
supportsImage=Predicates.alwaysTrue()}
2017-04-15 19:40:06,447 INFO  o.a.b.l.j.JcloudsLocation 
[brooklyn-execmanager-Nhwh8YHI-21]: 1 available locations at 
JcloudsLocation[openstack-nova:http://8.43.86.2:5000/v2.0/:facebook1939146382766976:facebook1939146382766976@fwtvqg9766]
2017-04-15 19:40:06,458 INFO  o.a.b.l.j.JcloudsLocation 
[brooklyn-execmanager-Nhwh8YHI-21]:  Location: {scope=REGION, id=RegionOne, 
description=RegionOne, parent=openstack-nova}
2017-04-15 19:40:06,484 ERROR o.a.b.l.j.JcloudsLocation 
[brooklyn-execmanager-Nhwh8YHI-21]: Failed to start VM for null after 3.61s 
(semaphore obtained in 11ms;): Unable to match required VM template constraints 
PortableTemplateBuilder[ports=[22], os=ubuntu, 
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@fwtvqg9766];
 see list of images in log. Root cause: java.util.NoSuchElementException: no 
image matched predicate: 
Predicates.and(nullEqualToIsParentOrIsGrandparentOfCurrentLocation(),Predicates.and(osFamily(ubuntu)))
2017-04-15 19:40:06,524 WARN  o.a.b.l.j.JcloudsLocation 
[brooklyn-execmanager-Nhwh8YHI-21]: Attempt #1/1 to obtain machine threw error: 
java.lang.IllegalStateException: Unable to match required VM template 
constraints PortableTemplateBuilder[ports=[22], os=ubuntu, 
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@fwtvqg9766];
 see list of images in log. Root cause: java.util.NoSuchElementException: no 
image matched predicate: 
Predicates.and(nullEqualToIsParentOrIsGrandparentOfCurrentLocation(),Predicates.and(osFamily(ubuntu)))
2017-04-15 19:40:06,563 WARN  o.a.b.c.m.i.EffectorUtils 
[brooklyn-execmanager-Nhwh8YHI-17]: Error invoking start at 
EmptySoftwareProcessImpl{id=uebzc5dqlc}: Unable to match required VM template 
constraints PortableTemplateBuilder[ports=[22], os=ubuntu, 
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@fwtvqg9766];
 see list of images in log. Root cause: java.util.NoSuchElementException: no 
image matched predicate: 
Predicates.and(nullEqualToIsParentOrIsGrandparentOfCurrentLocation(),Predicates.and(osFamily(ubuntu)))
2017-04-15 19:40:06,833 WARN  o.a.b.c.e.l.ServiceStateLogic 
[brooklyn-execmanager-Nhwh8YHI-0]: Service is not up when setting running on 
BasicApplicationImpl{id=ijbp9uf014}; delayed 208ms but Sensor: service.isUp 
(java.lang.Boolean) did not recover from false; 
not-up-indicators={service-lifecycle-indicators-from-children-and-members=EmptySoftwareProcessImpl{id=uebzc5dqlc}
 is not up}
2017-04-15 19:40:06,848 WARN  o.a.b.c.e.l.ServiceStateLogic$ComputeServiceState 
[brooklyn-execmanager-Nhwh8YHI-14]: Setting BasicApplicationImpl{id=ijbp9uf014} 
on-fire due to problems when expected running, up=false, problems: 
{service-lifecycle-indicators-from-children-and-members=Required entity not 
healthy: EmptySoftwareProcessImpl{id=uebzc5dqlc}}
2017-04-15 19:40:06,848 WARN  o.a.b.c.e.l.ServiceStateLogic$ComputeServiceState 
[brooklyn-execmanager-Nhwh8YHI-0]: Setting BasicApplicationImpl{id=ijbp9uf014} 
on-fire due to problems when expected running, up=false, problems: 
{service-lifecycle-indicators-from-children-and-members=Required entity not 
healthy: EmptySoftwareProcessImpl{id=uebzc5dqlc}}
2017-04-15 19:40:06,875 WARN  o.a.b.c.m.i.EffectorUtils 
[brooklyn-execmanager-Nhwh8YHI-0]: Error invoking start at 
BasicApplicationImpl{id=ijbp9uf014}: Error invoking start at 
EmptySoftwareProcessImpl{id=uebzc5dqlc}: Unable to match required VM template 
constraints PortableTemplateBuilder[ports=[22], os=ubuntu, 
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@fwtvqg9766];
 see list of images in log. Root cause: java.util.NoSuchElementException: no 
image matched predicate: 
Predicates.and(nullEqualToIsParentOrIsGrandparentOfCurrentLocation(),Predicates.and(osFamily(ubuntu)))

Reply via email to