Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Cloudbreak private image not found on Openstack

Highlighted

Cloudbreak private image not found on Openstack

Hi,

I want to deploy HDP with a private image but i have an error message : Image not found.

With a public image, it's working.

I created the os-images.yml with the following content :

openstack:
  BHS3: test-cdb

I checked that the image existed via the glance api and my tenant name is OK.

Thanks for your help,

Best regards,

23 REPLIES 23

Re: Cloudbreak private image not found on Openstack

Contributor

Hi @Mathieu Perochon,

Which Cloudbreak version are you using?

If you are using <=1.16.x version, you could try modifying os-images.yml

openstack:
  default: test-cdb

After modifying the yml file you have to restart Cloudbreak

cbd restart

Re: Cloudbreak private image not found on Openstack

Hi @bbihari,
i use version 1.16.5.

i tried your configuration, but without success.

Re: Cloudbreak private image not found on Openstack

Contributor

Could you please attach the log of Cloudbreak?

Re: Cloudbreak private image not found on Openstack

Sure @bbihari and I noticed that the owner id in the logs did not match my OpenStack ID.

cloudbreak_1   |
2018-01-03 14:04:35,674 [reactorDispatcher-34] accept:140 DEBUG
c.s.c.c.f.Flow2Handler - [owner:923eca1b-81bb-41cf-be7d-b49e634c7644]
[type:springLog] [id:null] [name:fffff] flow control event arrived:
key: STACK_CREATION_FAILHANDLED, flowid:
d0606717-b5fd-4058-849e-fcdcf1a83d84, payload:
com.sequenceiq.cloudbreak.reactor.api.event.StackEvent@43dfa16a

cloudbreak_1   |
2018-01-03 14:04:35,695 [reactorDispatcher-34] execute:73 INFO 
c.s.c.c.f.AbstractAction -
[owner:923eca1b-81bb-41cf-be7d-b49e634c7644] [type:springLog]
[id:null] [name:fffff] Stack: 93, flow state:
STACK_CREATION_FAILED_STATE, phase: service, execution time 0 sec

cloudbreak_1   |
2018-01-03 14:04:35,696 [reactorDispatcher-34] sendEvent:112 INFO 
c.s.c.c.f.AbstractAction -
[owner:923eca1b-81bb-41cf-be7d-b49e634c7644] [type:springLog]
[id:null] [name:fffff] Triggering event:
com.sequenceiq.cloudbreak.reactor.api.event.StackEvent@43dfa16a

cloudbreak_1   |
2018-01-03 14:04:35,696 [reactorDispatcher-34] stateChanged:134 DEBUG
c.s.c.c.f.c.AbstractFlowConfiguration -
[owner:923eca1b-81bb-41cf-be7d-b49e634c7644] [type:springLog]
[id:null] [name:fffff] state changed from ObjectState
[getIds()=[STACK_CREATION_FAILED_STATE], getClass()=class
org.springframework.statemachine.state.ObjectState,
hashCode()=1522910604, toString()=AbstractState
[id=STACK_CREATION_FAILED_STATE, pseudoState=null, deferred=null,
entryActions=[com.sequenceiq.cloudbreak.core.flow2.stack.provision.action.StackCreationActions$11@5584d9c6],
exitActions=null, regions=[], submachine=null]] to ObjectState
[getIds()=[FINAL_STATE], getClass()=class
org.springframework.statemachine.state.ObjectState,
hashCode()=1564548602, toString()=AbstractState [id=FINAL_STATE,
pseudoState=org.springframework.statemachine.state.DefaultPseudoState@7e2c4494,
deferred=null,
entryActions=[com.sequenceiq.cloudbreak.core.flow2.FlowFinalizeAction@3a790e40],
exitActions=null, regions=[], submachine=null]]

cloudbreak_1   |
2018-01-03 14:04:35,696 [reactorDispatcher-34] stop:127 INFO 
o.s.s.s.LifecycleObjectSupport -
[owner:923eca1b-81bb-41cf-be7d-b49e634c7644] [type:springLog]
[id:null] [name:fffff] stopped
org.springframework.statemachine.support.DefaultStateMachineExecutor@3082aadc

cloudbreak_1   |
2018-01-03 14:04:35,696 [reactorDispatcher-34] stop:127 INFO 
o.s.s.s.LifecycleObjectSupport -
[owner:923eca1b-81bb-41cf-be7d-b49e634c7644] [type:springLog]
[id:null] [name:fffff] stopped VALIDATION_STATE FINAL_STATE
IMAGE_CHECK_STATE COLLECTMETADATA_STATE STACK_CREATION_FAILED_STATE
START_PROVISIONING_STATE CREATE_CREDENTIAL_STATE
STACK_CREATION_FINISHED_STATE IMAGESETUP_STATE INIT_STATE SETUP_STATE
TLS_SETUP_STATE PROVISIONING_FINISHED_STATE GET_TLS_INFO_STATE  /  /
id=6c323b63-c671-4166-bd3d-d82d648e1ec1

cloudbreak_1   |
2018-01-03 14:04:35,696 [reactorDispatcher-34] finalizeFlow:187 DEBUG
c.s.c.c.f.Flow2Handler - [owner:923eca1b-81bb-41cf-be7d-b49e634c7644]
[type:springLog] [id:null] [name:fffff] flow finalizing arrived: id:
d0606717-b5fd-4058-849e-fcdcf1a83d84

cloudbreak_1   |
2018-01-03 14:04:35,740 [reactorDispatcher-26] createStackEvent:72
INFO  c.s.c.s.e.DefaultCloudbreakEventService - [owner:undefined]
[type:CLOUDBREAKEVENTDATA] [id:undefined] [name:undefined] Created
stack event: CloudbreakEvent{id=225, eventType='CREATE_FAILED',
eventTimestamp=Wed Jan 03 14:04:35 UTC 2018,
eventMessage='Infrastructure creation failed. Reason: OpenStack
image: test-cdb not found',
owner='923eca1b-81bb-41cf-be7d-b49e634c7644', account='seq1234567',
cloud='OPENSTACK', region='BHS3', blueprintName='hdp-small-default',
instanceGroup='null', blueprintId=1', stackId=93', clusterId=92',
clusterName=testcb}

cloudbreak_1   |
2018-01-03 14:04:35,741 [reactorDispatcher-26] accept:38 INFO 
c.s.c.s.e.CloudbreakEventHandler - [owner:undefined]
[type:CLOUDBREAKEVENTDATA] [id:undefined] [name:undefined] Sending
notification with data: CloudbreakEvent{id=225,
eventType='CREATE_FAILED', eventTimestamp=Wed Jan 03 14:04:35 UTC
2018, eventMessage='Infrastructure creation failed. Reason: OpenStack
image: test-cdb not found',
owner='923eca1b-81bb-41cf-be7d-b49e634c7644', account='seq1234567',
cloud='OPENSTACK', region='BHS3', blueprintName='hdp-small-default',
instanceGroup='null', blueprintId=1', stackId=93', clusterId=92',
clusterName=testcb}

Re: Cloudbreak private image not found on Openstack

Contributor

'owner' is your Cloudbreak user id, it shouldn't match the OpenStack ID

Re: Cloudbreak private image not found on Openstack

Ok, thank you

Re: Cloudbreak private image not found on Openstack

Contributor

In the Cloudbreak log all the images should be logged Cloudbreak could found in OpenStack.

Could you please grep the log for "Found image:" and check the image names Cloudbreak found?

Re: Cloudbreak private image not found on Openstack

@bbihari Yes, here are the results and effectively, she does not appear.

cloudbreak_1   | 2018-01-03 16:36:00,037 [reactorDispatcher-35] verifyImage:84 DEBUG c.s.c.c.o.c.OpenStackSetup - [owner:c91371db-133e-4489-ae8a-3e8683b1118e] [type:springLog] [id:1] [name:clustertest] Found image: Centos 7
cloudbreak_1   | 2018-01-03 16:36:00,038 [reactorDispatcher-35] verifyImage:84 DEBUG c.s.c.c.o.c.OpenStackSetup - [owner:c91371db-133e-4489-ae8a-3e8683b1118e] [type:springLog] [id:1] [name:clustertest] Found image: Debian 8 - Docker
cloudbreak_1   | 2018-01-03 16:36:00,038 [reactorDispatcher-35] verifyImage:84 DEBUG c.s.c.c.o.c.OpenStackSetup - [owner:c91371db-133e-4489-ae8a-3e8683b1118e] [type:springLog] [id:1] [name:clustertest] Found image: CoreOS Stable
cloudbreak_1   | 2018-01-03 16:36:00,038 [reactorDispatcher-35] verifyImage:84 DEBUG c.s.c.c.o.c.OpenStackSetup - [owner:c91371db-133e-4489-ae8a-3e8683b1118e] [type:springLog] [id:1] [name:clustertest] Found image: Debian 8 - GitLab
cloudbreak_1   | 2018-01-03 16:36:00,038 [reactorDispatcher-35] verifyImage:84 DEBUG c.s.c.c.o.c.OpenStackSetup - [owner:c91371db-133e-4489-ae8a-3e8683b1118e] [type:springLog] [id:1] [name:clustertest] Found image: Ubuntu 14.04
cloudbreak_1   | 2018-01-03 16:36:00,038 [reactorDispatcher-35] verifyImage:84 DEBUG c.s.c.c.o.c.OpenStackSetup - [owner:c91371db-133e-4489-ae8a-3e8683b1118e] [type:springLog] [id:1] [name:clustertest] Found image: Debian 8 - WordPress
cloudbreak_1   | 2018-01-03 16:36:00,038 [reactorDispatcher-35] verifyImage:84 DEBUG c.s.c.c.o.c.OpenStackSetup - [owner:c91371db-133e-4489-ae8a-3e8683b1118e] [type:springLog] [id:1] [name:clustertest] Found image: Debian 8 - Vestacp
cloudbreak_1   | 2018-01-03 16:36:00,039 [reactorDispatcher-35] verifyImage:84 DEBUG c.s.c.c.o.c.OpenStackSetup - [owner:c91371db-133e-4489-ae8a-3e8683b1118e] [type:springLog] [id:1] [name:clustertest] Found image: Windows 2016 Standard Server
cloudbreak_1   | 2018-01-03 16:36:00,039 [reactorDispatcher-35] verifyImage:84 DEBUG c.s.c.c.o.c.OpenStackSetup - [owner:c91371db-133e-4489-ae8a-3e8683b1118e] [type:springLog] [id:1] [name:clustertest] Found image: Fedora 26
cloudbreak_1   | 2018-01-03 16:36:00,039 [reactorDispatcher-35] verifyImage:84 DEBUG c.s.c.c.o.c.OpenStackSetup - [owner:c91371db-133e-4489-ae8a-3e8683b1118e] [type:springLog] [id:1] [name:clustertest] Found image: rescue-ovh
cloudbreak_1   | 2018-01-03 16:36:00,039 [reactorDispatcher-35] verifyImage:84 DEBUG c.s.c.c.o.c.OpenStackSetup - [owner:c91371db-133e-4489-ae8a-3e8683b1118e] [type:springLog] [id:1] [name:clustertest] Found image: Debian 8 - Plesk
cloudbreak_1   | 2018-01-03 16:36:00,039 [reactorDispatcher-35] verifyImage:84 DEBUG c.s.c.c.o.c.OpenStackSetup - [owner:c91371db-133e-4489-ae8a-3e8683b1118e] [type:springLog] [id:1] [name:clustertest] Found image: Ubuntu 17.10
cloudbreak_1   | 2018-01-03 16:36:00,039 [reactorDispatcher-35] verifyImage:84 DEBUG c.s.c.c.o.c.OpenStackSetup - [owner:c91371db-133e-4489-ae8a-3e8683b1118e] [type:springLog] [id:1] [name:clustertest] Found image: Ubuntu 17.04
cloudbreak_1   | 2018-01-03 16:36:00,041 [reactorDispatcher-35] verifyImage:84 DEBUG c.s.c.c.o.c.OpenStackSetup - [owner:c91371db-133e-4489-ae8a-3e8683b1118e] [type:springLog] [id:1] [name:clustertest] Found image: Debian 8 - Virtualmin
cloudbreak_1   | 2018-01-03 16:36:00,041 [reactorDispatcher-35] verifyImage:84 DEBUG c.s.c.c.o.c.OpenStackSetup - [owner:c91371db-133e-4489-ae8a-3e8683b1118e] [type:springLog] [id:1] [name:clustertest] Found image: Ubuntu 16.10
cloudbreak_1   | 2018-01-03 16:36:00,041 [reactorDispatcher-35] verifyImage:84 DEBUG c.s.c.c.o.c.OpenStackSetup - [owner:c91371db-133e-4489-ae8a-3e8683b1118e] [type:springLog] [id:1] [name:clustertest] Found image: Ubuntu 16.04
cloudbreak_1   | 2018-01-03 16:36:00,041 [reactorDispatcher-35] verifyImage:84 DEBUG c.s.c.c.o.c.OpenStackSetup - [owner:c91371db-133e-4489-ae8a-3e8683b1118e] [type:springLog] [id:1] [name:clustertest] Found image: Debian 8
cloudbreak_1   | 2018-01-03 16:36:00,041 [reactorDispatcher-35] verifyImage:84 DEBUG c.s.c.c.o.c.OpenStackSetup - [owner:c91371db-133e-4489-ae8a-3e8683b1118e] [type:springLog] [id:1] [name:clustertest] Found image: Debian 9
cloudbreak_1   | 2018-01-03 16:36:00,042 [reactorDispatcher-35] verifyImage:84 DEBUG c.s.c.c.o.c.OpenStackSetup - [owner:c91371db-133e-4489-ae8a-3e8683b1118e] [type:springLog] [id:1] [name:clustertest] Found image: Windows-Server-2012-r2
cloudbreak_1   | 2018-01-03 16:36:00,042 [reactorDispatcher-35] verifyImage:84 DEBUG c.s.c.c.o.c.OpenStackSetup - [owner:c91371db-133e-4489-ae8a-3e8683b1118e] [type:springLog] [id:1] [name:clustertest] Found image: Windows 2016 Standard Desktop
cloudbreak_1   | 2018-01-03 16:36:00,042 [reactorDispatcher-35] verifyImage:84 DEBUG c.s.c.c.o.c.OpenStackSetup - [owner:c91371db-133e-4489-ae8a-3e8683b1118e] [type:springLog] [id:1] [name:clustertest] Found image: Debian 9 - RStudio
cloudbreak_1   | 2018-01-03 16:36:00,042 [reactorDispatcher-35] verifyImage:84 DEBUG c.s.c.c.o.c.OpenStackSetup - [owner:c91371db-133e-4489-ae8a-3e8683b1118e] [type:springLog] [id:1] [name:clustertest] Found image: Debian 9 - DataScience
cloudbreak_1   | 2018-01-03 16:36:00,042 [reactorDispatcher-35] verifyImage:84 DEBUG c.s.c.c.o.c.OpenStackSetup - [owner:c91371db-133e-4489-ae8a-3e8683b1118e] [type:springLog] [id:1] [name:clustertest] Found image: Debian 8 - OpenVPN
cloudbreak_1   | 2018-01-03 16:36:00,042 [reactorDispatcher-35] verifyImage:84 DEBUG c.s.c.c.o.c.OpenStackSetup - [owner:c91371db-133e-4489-ae8a-3e8683b1118e] [type:springLog] [id:1] [name:clustertest] Found image: Archlinux
cloudbreak_1   | 2018-01-03 16:36:00,042 [reactorDispatcher-35] verifyImage:84 DEBUG c.s.c.c.o.c.OpenStackSetup - [owner:c91371db-133e-4489-ae8a-3e8683b1118e] [type:springLog] [id:1] [name:clustertest] Found image: Centos 6
cloudbreak_1   | 2018-01-03 16:36:00,043 [reactorDispatcher-35] verifyImage:84 DEBUG c.s.c.c.o.c.OpenStackSetup - [owner:c91371db-133e-4489-ae8a-3e8683b1118e] [type:springLog] [id:1] [name:clustertest] Found image: FreeBSD 11.0 ZFS
cloudbreak_1   | 2018-01-03 16:36:00,043 [reactorDispatcher-35] verifyImage:84 DEBUG c.s.c.c.o.c.OpenStackSetup - [owner:c91371db-133e-4489-ae8a-3e8683b1118e] [type:springLog] [id:1] [name:clustertest] Found image: Fedora 25
cloudbreak_1   | 2018-01-03 16:36:00,043 [reactorDispatcher-35] verifyImage:84 DEBUG c.s.c.c.o.c.OpenStackSetup - [owner:c91371db-133e-4489-ae8a-3e8683b1118e] [type:springLog] [id:1] [name:clustertest] Found image: Debian 7



Re: Cloudbreak private image not found on Openstack

Contributor

Could you check the difference between these images and your 'test-cdb' image?

Don't have an account?
Coming from Hortonworks? Activate your account here