[deploy_package]: CREATE_FAILED

22 views
Skip to first unread message

Rod Alvarez

unread,
Sep 27, 2018, 12:45:11 PM9/27/18
to PNDA Users
Hi guys,

I'm getting the following error:

2018-09-27 14:54:14Z [deploy_package]: CREATE_IN_PROGRESS  state changed
2018-09-27 15:53:47Z [deploy_package]: CREATE_FAILED  RemoteError: resources.deploy_package: Remote error: ClientException Object HEAD failed: http://10.255.24.203:8080/v1/AUTH_a155af69d71d438abbe5856583f872f7/c0757f5c-b4bf-4c8a-908e-47e0f7dd3cf8/pnda-cluster-deploy_package-rh7m2sfhpy4a 401 Unauthorized
[u'T
2018-09-27 15:53:47Z [pnda-cluster]: CREATE_FAILED  Resource CREATE failed: RemoteError: resources.deploy_package: Remote error: ClientException Object HEAD failed: http://10.255.24.203:8080/v1/AUTH_a155af69d71d438abbe5856583f872f7/c0757f5c-b4bf-4c8a-908e-47e0f7dd3cf8/pnda-cluster-deploy_package-rh7m2sfhpy

 Stack pnda-cluster CREATE_FAILED 

Command 'openstack stack create --timeout 120 --wait --template pnda.yaml --environment pnda_env.yaml --parameter ZookeeperNodes=0 --parameter KafkaNodes=1 --parameter DataNodes=1 --parameter OpentsdbNodes=0 --parameter PndaFlavor=pico --parameter KeyName=test-key-pair pnda-cluster' failed




Could you please help on this?

Thanks in advance.

jérémie Garnier

unread,
Sep 27, 2018, 3:47:41 PM9/27/18
to rmalva...@gmail.com, PNDA Users
did you have swift on your OpenStack and ensure the configured user did have permission to access it?

--
You received this message because you are subscribed to the Google Groups "PNDA Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pnda-users+...@googlegroups.com.
To post to this group, send email to pnda-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pnda-users/387cf052-fe21-44c9-aeec-fb07db26ad0d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Rod Alvarez

unread,
Sep 27, 2018, 3:50:30 PM9/27/18
to PNDA Users
Yes. Actually, from the very same server I'm trying to deploy, I'm able to check swift:

# swift list
81b2e95b-8ec7-4b08-bf60-62ee4b8ca84d
pnda-apps
pnda-archive
pnda-cluster-saltmaster_server-twzgpxawqja5

jérémie Garnier

unread,
Sep 27, 2018, 3:53:34 PM9/27/18
to rmalva...@gmail.com, PNDA Users
did you have the full stack trace please, could be a timeout as this is currently taking time to create all the resources...

Rod Alvarez

unread,
Sep 27, 2018, 3:59:56 PM9/27/18
to PNDA Users
I've just run it with -vv option (after modifying the script) and kind of miss it. However, I'm sure it fails after 1 hour aprox.

Just for you to know, this is the last output I got:

RESP BODY: {"events": [{"resource_name": "deploy_package", "event_time": "2018-09-27T19:35:53Z", "links": [{"href": "http://10.255.24.203:8004/v1/a155af69d71d438abbe5856583f872f7/stacks/pnda-cluster/81b2e95b-8ec7-4b08-bf60-62ee4b8ca84d/resources/deploy_package/events/61e7fb76-bf95-4323-952d-d23b0635f76e", "rel": "self"}, {"href": "http://10.255.24.203:8004/v1/a155af69d71d438abbe5856583f872f7/stacks/pnda-cluster/81b2e95b-8ec7-4b08-bf60-62ee4b8ca84d/resources/deploy_package", "rel": "resource"}, {"href": "http://10.255.24.203:8004/v1/a155af69d71d438abbe5856583f872f7/stacks/pnda-cluster/81b2e95b-8ec7-4b08-bf60-62ee4b8ca84d", "rel": "stack"}], "logical_resource_id": "deploy_package", "resource_status": "CREATE_FAILED", "resource_status_reason": "RemoteError: resources.deploy_package: Remote error: ClientException Object HEAD failed: http://10.255.24.203:8080/v1/AUTH_a155af69d71d438abbe5856583f872f7/81b2e95b-8ec7-4b08-bf60-62ee4b8ca84d/pnda-cluster-deploy_package-hlhhvtwll6nc 401 Unauthorized\n[u'T", "physical_resource_id": "47ad22dd-bc00-4e7f-9799-9d46ef97a131", "id": "61e7fb76-bf95-4323-952d-d23b0635f76e"}, {"resource_name": "pnda-cluster", "event_time": "2018-09-27T19:35:53Z", "links": [{"href": "http://10.255.24.203:8004/v1/a155af69d71d438abbe5856583f872f7/stacks/pnda-cluster/81b2e95b-8ec7-4b08-bf60-62ee4b8ca84d/resources/pnda-cluster/events/0b23dfd0-7414-4cc3-8d4f-60e6d66a0009", "rel": "self"}, {"href": "http://10.255.24.203:8004/v1/a155af69d71d438abbe5856583f872f7/stacks/pnda-cluster/81b2e95b-8ec7-4b08-bf60-62ee4b8ca84d/resources/pnda-cluster", "rel": "resource"}, {"href": "http://10.255.24.203:8004/v1/a155af69d71d438abbe5856583f872f7/stacks/pnda-cluster/81b2e95b-8ec7-4b08-bf60-62ee4b8ca84d", "rel": "stack"}], "logical_resource_id": "pnda-cluster", "resource_status": "CREATE_FAILED", "resource_status_reason": "Resource CREATE failed: RemoteError: resources.deploy_package: Remote error: ClientException Object HEAD failed: http://10.255.24.203:8080/v1/AUTH_a155af69d71d438abbe5856583f872f7/81b2e95b-8ec7-4b08-bf60-62ee4b8ca84d/pnda-cluster-deploy_package-hlhhvtwll6", "physical_resource_id": "81b2e95b-8ec7-4b08-bf60-62ee4b8ca84d", "id": "0b23dfd0-7414-4cc3-8d4f-60e6d66a0009"}]}
2018-09-27 19:35:53Z [deploy_package]: CREATE_FAILED  RemoteError: resources.deploy_package: Remote error: ClientException Object HEAD failed: http://10.255.24.203:8080/v1/AUTH_a155af69d71d438abbe5856583f872f7/81b2e95b-8ec7-4b08-bf60-62ee4b8ca84d/pnda-cluster-deploy_package-hlhhvtwll6nc 401 Unauthorized

On the other hand, how could I modify the timeout setting?

Thanks

Rod Alvarez

unread,
Sep 27, 2018, 5:27:50 PM9/27/18
to PNDA Users
Keystone token timeout is already changed. I'm trying once again and will let you know the outcome.

Rod Alvarez

unread,
Oct 24, 2018, 10:21:01 AM10/24/18
to PNDA Users
Guys,

There is no change. Still stuck in the same step. Now getting timeout (after 2 hours approx even when token expiration is set to 24 hours)  instead of Unauthorized.

Any idea?

Thanks in advance
Reply all
Reply to author
Forward
0 new messages