Closed andrewdmcleod closed 6 years ago
Please check server log and consider adding detailed loggin as documented here: https://wiki.jenkins.io/display/JENKINS/Openstack+Cloud+Plugin
Additional info: this is keystone v3
I've enabled detailed (finest / all) logging but don't see anything relevant to this particular image list method. There is also nothing relevant in the server log.
I have tried 2 ways of testing:
Worth noting that I am able to retrieve flavors with clientProvider via the groovy console. It looks like openstack4j in this case isn't even bothering to query the API (the empty result is very fast).
I will see if I can try with a version of os4j earlier than 3.1.1
Test with 3.1.0 - same result Downgrade plugin to 2.3.1 - same result Remove and reinstall plugin via jenkins plugin manager - same result Completely purge plugin and reinstall - same result
I also can't see anything relevant in keystone or glance logs. Any other sugggestions / debugging tips?
Additional info: If I insert the correct name directly into the
Invalid input for field/attribute imagRef. Value (correct image name)
However, if I use the image ID in the
So I am happy that I have a workaround for now, but if you would like me to do any further troubleshooting please let me know.
Thanks for the details. I suspect this might be caused by your openstack is too new to support Glance 1 (images endpoint) and only support Glance 2 that is not yet supported by this plugin (https://github.com/jenkinsci/openstack-cloud-plugin/issues/77).
Can you retry with Jenkins.instance.clouds[0].openstack.@clientProvider.get().imagesV2().list()
to confirm this hypothesis? Thanks
That also returns result: []
That is just strange. So other fields that query openstack are populated fine (hardware, key names, etc.), it is just images what is missing? Can you recheck the project and/or account you ware logged through the CLI tool in is the one you are logged in via Jenkins?
I double checked the user details against openrc, its definitely all the same. And yes other things, e.g. instance type, return OK. Perhaps there is a timeout on the query? Our image list is relatively long and takes a few seconds to return?
I doubt this is a timeout thing.
imageId
. So presumably images are "there" and usable for you - we just can not list them. Can you look around Jenkins.instance.clouds[0].openstack.@clientProvider.get().images()
(or Jenkins.instance.clouds[0].openstack.@clientProvider.get().imagesV2()
) to see if you find a way to query it successfully using slightly different interaction plugin is using right now? I am thinking of filters, etc.
https://github.com/jenkinsci/openstack-cloud-plugin/blob/b330dce99f3703da2a84768559237aabcb31865c/src/main/java/jenkins/plugins/openstack/compute/internal/Openstack.java#L206+1
We are also facing the same issue. Following are the details for environment we are using:
OpenStack - OpenStack Newton (Version: 10.0.6) with LBaaS v2 Cloudbees - 2.89.3.4-rolling-upgrade Openstack-cloud plugin (vers - 2.33)
We are able to fetch details for every other parameter while configuring the default template, but image list is blank.
OpenStack environment is not in my responsibility, but while checking the direct curl to image API on v1 list is blank while on v2 image API image list is visible.
Also i am not sure about the response received on successful connection with OpenStack through plugin. What does the oputput with glance version means? Are these the version plugin is expecting or the versions openstack has responded back on which its glance APIs are working?.
Let me know if i can also help with some troubleshooting on this issue.
Regards,
Sourabh Maggo
@maggosourabh, AFAIU you are able to list images over image APIv2 but not v1. Can you use Jenkins.instance.clouds[0].openstack.@clientProvider.get().imagesV2().list()
to confirm? If that is so, you are experiencing different issue than @andrewdmcleod, who can not list it via either version. See above.
Hello oliver,
Tried the same and got output for images with some exceptions in the output. This time i used version 2.35 of openstack-cloud plugin. Below is the output i got:
com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of java.lang.String out of START_OBJECT token
at [Source: {"images": [{"container_format": "bare", "min_ram": 0, "updated_at": "2018-07-15T04:01:19Z", "min_disk": 20, "file": "/v2/images/a0193a8f-1cf8-48f1-9977-4723f9fadc4c/file", "owner": "1a88cff43b45444792b3da1983536ea9", "id": "a0193a8f-1cf8-48f1-9977-4723f9fadc4c", "size": 2361393152, "self": "/v2/images/a0193a8f-1cf8-48f1-9977-4723f9fadc4c", "disk_format": "raw", "branch": "region-muc-2", "direct_url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/a0193a8f-1cf8-48f1-9977-4723f9fadc4c/snap", "schema": "/v2/schemas/image", "status": "active", "tags": [], "visibility": "public", "locations": [{"url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/a0193a8f-1cf8-48f1-9977-4723f9fadc4c/snap", "metadata": {}}], "date": "20180715-0400", "virtual_size": null, "build_by": "CI", "package_cksum": "4d873c6acdedbb1e545c99adabdae5bccc30df1d", "name": "B_Ubuntu_18.04_Server", "checksum": "9ef7cebe9d5d9faa56b5f854e34d6aed", "created_at": "2018-07-15T04:00:36Z", "protected": false, "commit": "e51e3e2d248d59da73408b7fe5c94471b3e0f0a9"}, {"container_format": "bare", "min_ram": 0, "updated_at": "2018-07-15T03:58:24Z", "min_disk": 20, "file": "/v2/images/a0590736-5071-481c-b3e4-ac62f8a84fd8/file", "owner": "1a88cff43b45444792b3da1983536ea9", "id": "a0590736-5071-481c-b3e4-ac62f8a84fd8", "size": 5368709120, "self": "/v2/images/a0590736-5071-481c-b3e4-ac62f8a84fd8", "disk_format": "raw", "branch": "region-muc-2", "direct_url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/a0590736-5071-481c-b3e4-ac62f8a84fd8/snap", "schema": "/v2/schemas/image", "status": "active", "tags": [], "visibility": "public", "locations": [{"url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/a0590736-5071-481c-b3e4-ac62f8a84fd8/snap", "metadata": {}}], "date": "20180715-0357", "virtual_size": null, "build_by": "CI", "package_cksum": "14d14b67403f3fd5a63b7776be419e7341061822", "name": "B_SUSE_12_SP2_Server", "checksum": "2a3beb4e669d5715d605de441c534438", "created_at": "2018-07-15T03:57:19Z", "protected": false, "commit": "e51e3e2d248d59da73408b7fe5c94471b3e0f0a9"}, {"container_format": "bare", "min_ram": 0, "updated_at": "2018-07-15T03:57:33Z", "min_disk": 20, "file": "/v2/images/56caeb69-aa3a-4ebf-a205-339d7902714d/file", "owner": "1a88cff43b45444792b3da1983536ea9", "id": "56caeb69-aa3a-4ebf-a205-339d7902714d", "size": 5368709120, "self": "/v2/images/56caeb69-aa3a-4ebf-a205-339d7902714d", "disk_format": "raw", "branch": "region-muc-2", "direct_url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/56caeb69-aa3a-4ebf-a205-339d7902714d/snap", "schema": "/v2/schemas/image", "status": "active", "tags": [], "visibility": "public", "locations": [{"url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/56caeb69-aa3a-4ebf-a205-339d7902714d/snap", "metadata": {}}], "date": "20180715-0355", "virtual_size": null, "build_by": "CI", "package_cksum": "fb0cc4effec904b5352e4c339c4e30ca61a7878b", "name": "B_SUSE_12_SP3_Server", "checksum": "e7965a5fedb85946d41f3ff0425ceabe", "created_at": "2018-07-15T03:55:47Z", "protected": false, "commit": "e51e3e2d248d59da73408b7fe5c94471b3e0f0a9"}, {"container_format": "bare", "min_ram": 0, "updated_at": "2018-07-15T03:44:47Z", "min_disk": 20, "file": "/v2/images/d6bfd194-2943-4c98-90a4-f57360b4355d/file", "owner": "1a88cff43b45444792b3da1983536ea9", "id": "d6bfd194-2943-4c98-90a4-f57360b4355d", "size": 8589934592, "self": "/v2/images/d6bfd194-2943-4c98-90a4-f57360b4355d", "disk_format": "raw", "branch": "region-muc-2", "direct_url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/d6bfd194-2943-4c98-90a4-f57360b4355d/snap", "schema": "/v2/schemas/image", "status": "active", "tags": [], "visibility": "public", "locations": [{"url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/d6bfd194-2943-4c98-90a4-f57360b4355d/snap", "metadata": {}}], "date": "20180715-0342", "virtual_size": null, "build_by": "CI", "package_cksum": "9d73048233f450c31fe078692bc05d8ea5b72542", "name": "B_CentOS_7_Server", "checksum": "cc1528c2fa333ffb8e7069cac1b5c9ec", "created_at": "2018-07-15T03:42:07Z", "protected": false, "commit": "e51e3e2d248d59da73408b7fe5c94471b3e0f0a9"}, {"container_format": "bare", "min_ram": 0, "updated_at": "2018-07-15T03:43:15Z", "min_disk": 20, "file": "/v2/images/352d520c-565d-4445-a385-20788dc60deb/file", "owner": "1a88cff43b45444792b3da1983536ea9", "id": "352d520c-565d-4445-a385-20788dc60deb", "size": 5368709120, "self": "/v2/images/352d520c-565d-4445-a385-20788dc60deb", "disk_format": "raw", "branch": "region-muc-2", "direct_url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/352d520c-565d-4445-a385-20788dc60deb/snap", "schema": "/v2/schemas/image", "status": "active", "tags": [], "visibility": "public", "locations": [{"url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/352d520c-565d-4445-a385-20788dc60deb/snap", "metadata": {}}], "date": "20180715-0341", "virtual_size": null, "build_by": "CI", "package_cksum": "782c6281652ae8b996feadda9d940d6ddcd5e23b", "name": "B_SUSE_11_SP4_Server", "checksum": "167695d2ea3f71eb1d8e57f1d368f324", "created_at": "2018-07-15T03:41:34Z", "protected": false, "commit": "e51e3e2d248d59da73408b7fe5c94471b3e0f0a9"}, {"container_format": "bare", "min_ram": 0, "updated_at": "2018-07-15T03:39:14Z", "min_disk": 20, "file": "/v2/images/6bfe8074-259e-4bab-8092-9aba8468a525/file", "owner": "1a88cff43b45444792b3da1983536ea9", "id": "6bfe8074-259e-4bab-8092-9aba8468a525", "size": 2361393152, "self": "/v2/images/6bfe8074-259e-4bab-8092-9aba8468a525", "disk_format": "raw", "branch": "region-muc-2", "direct_url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/6bfe8074-259e-4bab-8092-9aba8468a525/snap", "schema": "/v2/schemas/image", "status": "active", "tags": [], "visibility": "public", "locations": [{"url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/6bfe8074-259e-4bab-8092-9aba8468a525/snap", "metadata": {}}], "date": "20180715-0338", "virtual_size": null, "build_by": "CI", "package_cksum": "60f8313eea74019570a8b65ade113a98793797a4", "name": "B_Ubuntu_16.04_Server", "checksum": "d7db1fbad700a263ae4c03dd0afc16e2", "created_at": "2018-07-15T03:38:42Z", "protected": false, "commit": "e51e3e2d248d59da73408b7fe5c94471b3e0f0a9"}, {"container_format": "bare", "min_ram": 0, "updated_at": "2018-07-15T03:33:43Z", "min_disk": 20, "file": "/v2/images/d694e367-5c89-4540-84c1-4602929e939c/file", "owner": "1a88cff43b45444792b3da1983536ea9", "id": "d694e367-5c89-4540-84c1-4602929e939c", "size": 2361393152, "self": "/v2/images/d694e367-5c89-4540-84c1-4602929e939c", "disk_format": "raw", "branch": "region-muc-2", "direct_url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/d694e367-5c89-4540-84c1-4602929e939c/snap", "schema": "/v2/schemas/image", "status": "active", "tags": [], "visibility": "public", "locations": [{"url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/d694e367-5c89-4540-84c1-4602929e939c/snap", "metadata": {}}], "date": "20180715-0333", "virtual_size": null, "build_by": "CI", "package_cksum": "9a060a630145c46110a5c9505c907d11db9bd9fe", "name": "B_Ubuntu_14.04_Server", "checksum": "dd881f36ed751cb9b96acf63af2883dd", "created_at": "2018-07-15T03:33:03Z", "protected": false, "commit": "e51e3e2d248d59da73408b7fe5c94471b3e0f0a9"}, {"container_format": "bare", "min_ram": 2048, "locations": [{"url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/1ccaaa86-0fa8-41e3-83da-dd39e71213e6/snap", "metadata": {}}], "file": "/v2/images/1ccaaa86-0fa8-41e3-83da-dd39e71213e6/file", "owner": "383b088b839d4ab0a08750efbcae0d95", "id": "1ccaaa86-0fa8-41e3-83da-dd39e71213e6", "size": 3020619776, "self": "/v2/images/1ccaaa86-0fa8-41e3-83da-dd39e71213e6", "disk_format": "iso", "direct_url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/1ccaaa86-0fa8-41e3-83da-dd39e71213e6/snap", "schema": "/v2/schemas/image", "status": "active", "description": "kali", "tags": [], "visibility": "private", "updated_at": "2018-04-27T07:37:52Z", "min_disk": 100, "virtual_size": null, "name": "kali", "checksum": "541654f8f818450dc0db866a0a0f6eec", "created_at": "2018-04-27T07:37:09Z", "protected": false, "architecture": "amd64"}, {"container_format": "bare", "min_ram": 0, "updated_at": "2018-03-26T16:35:34Z", "min_disk": 80, "file": "/v2/images/39ca1917-e93d-40db-84a3-69709f99a38f/file", "owner": "383b088b839d4ab0a08750efbcae0d95", "id": "39ca1917-e93d-40db-84a3-69709f99a38f", "size": 0, "self": "/v2/images/39ca1917-e93d-40db-84a3-69709f99a38f", "tags": [], "disk_format": "qcow2", "base_image_ref": "", "bdm_v2": "True", "direct_url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/39ca1917-e93d-40db-84a3-69709f99a38f/snap", "schema": "/v2/schemas/image", "status": "active", "block_device_mapping": "[{\"guest_format\": null, \"boot_index\": 0, \"delete_on_termination\": false, \"no_device\": null, \"snapshot_id\": \"6fcf462b-c4fa-43df-a159-c4564612bc98\", \"device_name\": \"/dev/vda\", \"disk_bus\": \"virtio\", \"image_id\": null, \"source_type\": \"snapshot\", \"tag\": null, \"device_type\": \"disk\", \"volume_id\": null, \"destination_type\": \"volume\", \"volume_size\": 69}]", "visibility": "private", "locations": [{"url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/39ca1917-e93d-40db-84a3-69709f99a38f/snap", "metadata": {}}], "date": "20171208", "imageversion": "5.0.1.2_Openstack_0517c", "virtual_size": null, "build_by": "FG-840", "name": "ProcessIint1", "checksum": "d41d8cd98f00b204e9800998ecf8427e", "created_at": "2018-03-26T16:35:33Z", "protected": false, "root_device_name": "/dev/vda"}, {"container_format": "bare", "min_ram": 0, "updated_at": "2018-01-18T12:55:31Z", "min_disk": 60, "file": "/v2/images/c8c4bc45-7759-402f-ac4f-4b7d167668d1/file", "owner": "1fe3a6219a4e47838ccfa1b7ee583c02", "id": "c8c4bc45-7759-402f-ac4f-4b7d167668d1", "size": 68157440000, "self": "/v2/images/c8c4bc45-7759-402f-ac4f-4b7d167668d1", "disk_format": "raw", "direct_url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/c8c4bc45-7759-402f-ac4f-4b7d167668d1/snap", "schema": "/v2/schemas/image", "status": "active", "tags": [], "visibility": "public", "locations": [{"url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/c8c4bc45-7759-402f-ac4f-4b7d167668d1/snap", "metadata": {}}], "date": "20171208", "imageversion": "5.0.1.2_Openstack_0517c", "virtual_size": null, "build_by": "FG-840", "name": "B Windows Server 2012 R2", "checksum": "cfb3ebb3134370c7336a6a45f4c31e60", "created_at": "2017-12-08T12:22:06Z", "protected": false}, {"status": "active", "virtual_size": null, "name": "teststst", "tags": [], "container_format": "bare", "created_at": "2017-11-21T14:10:51Z", "size": 1525678080, "disk_format": "qcow2", "updated_at": "2017-11-21T14:10:51Z", "visibility": "public", "locations": [{"url": "http://smt-lab.bgroup.net/repo/ISO/SUSE-CaaS-Platform-2.0-OpenStack-Cloud.x86_64-1.0.0-GM.qcow2", "metadata": {}}], "self": "/v2/images/fbc36e18-627f-405c-bd11-1660449a963d", "min_disk": 0, "protected": false, "id": "fbc36e18-627f-405c-bd11-1660449a963d", "file": "/v2/images/fbc36e18-627f-405c-bd11-1660449a963d/file", "checksum": null, "owner": "61afb832f97c415fabf1b3a5f7ef8a16", "direct_url": "http://smt-lab.bgroup.net/repo/ISO/SUSE-CaaS-Platform-2.0-OpenStack-Cloud.x86_64-1.0.0-GM.qcow2", "min_ram": 0, "schema": "/v2/schemas/image"}, {"status": "active", "virtual_size": null, "name": "test", "tags": [], "container_format": "bare", "created_at": "2017-11-21T13:57:30Z", "size": 1525678080, "disk_format": "qcow2", "updated_at": "2017-11-21T13:57:30Z", "visibility": "public", "locations": [{"url": "http://smt-lab.bgroup.net/repo/ISO/SUSE-CaaS-Platform-2.0-OpenStack-Cloud.x86_64-1.0.0-GM.qcow2", "metadata": {}}], "self": "/v2/images/b09fda7e-ae3e-4ae7-a65b-5c857750183c", "min_disk": 0, "protected": false, "id": "b09fda7e-ae3e-4ae7-a65b-5c857750183c", "file": "/v2/images/b09fda7e-ae3e-4ae7-a65b-5c857750183c/file", "checksum": null, "owner": "61afb832f97c415fabf1b3a5f7ef8a16", "direct_url": "http://smt-lab.bgroup.net/repo/ISO/SUSE-CaaS-Platform-2.0-OpenStack-Cloud.x86_64-1.0.0-GM.qcow2", "min_ram": 0, "schema": "/v2/schemas/image"}, {"status": "active", "virtual_size": null, "name": "cirros", "tags": [], "container_format": "bare", "created_at": "2017-10-13T09:48:37Z", "size": 8589934592, "disk_format": "qcow2", "updated_at": "2017-10-13T09:50:12Z", "visibility": "public", "locations": [{"url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/a2d001ec-4a79-4f9c-a6b0-d160ded08f9c/snap", "metadata": {}}], "self": "/v2/images/a2d001ec-4a79-4f9c-a6b0-d160ded08f9c", "min_disk": 0, "protected": false, "id": "a2d001ec-4a79-4f9c-a6b0-d160ded08f9c", "file": "/v2/images/a2d001ec-4a79-4f9c-a6b0-d160ded08f9c/file", "checksum": "b770351fadae5a96bbaf9702ed97d28d", "owner": "be5d60b302564e0d9b439c69b7b31e27", "direct_url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/a2d001ec-4a79-4f9c-a6b0-d160ded08f9c/snap", "min_ram": 0, "schema": "/v2/schemas/image"}, {"status": "active", "virtual_size": null, "name": "cirros", "tags": [], "container_format": "bare", "created_at": "2017-10-13T09:47:15Z", "size": 13267968, "disk_format": "qcow2", "updated_at": "2017-10-13T09:47:17Z", "visibility": "public", "locations": [{"url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/ea808f33-670e-4833-bde4-85975a14e257/snap", "metadata": {}}], "self": "/v2/images/ea808f33-670e-4833-bde4-85975a14e257", "min_disk": 0, "protected": false, "id": "ea808f33-670e-4833-bde4-85975a14e257", "file": "/v2/images/ea808f33-670e-4833-bde4-85975a14e257/file", "checksum": "f8ab98ff5e73ebab884d80c9dc9c7290", "owner": "be5d60b302564e0d9b439c69b7b31e27", "direct_url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/ea808f33-670e-4833-bde4-85975a14e257/snap", "min_ram": 0, "schema": "/v2/schemas/image"}, {"status": "active", "virtual_size": null, "name": "cirros", "tags": [], "container_format": "bare", "created_at": "2017-10-11T06:18:05Z", "size": 13267968, "disk_format": "raw", "updated_at": "2017-10-11T06:18:08Z", "visibility": "public", "locations": [{"url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/b42db75d-5b67-434d-9ae3-f9b94aa8cb5e/snap", "metadata": {}}], "self": "/v2/images/b42db75d-5b67-434d-9ae3-f9b94aa8cb5e", "min_disk": 0, "protected": false, "id": "b42db75d-5b67-434d-9ae3-f9b94aa8cb5e", "file": "/v2/images/b42db75d-5b67-434d-9ae3-f9b94aa8cb5e/file", "checksum": "f8ab98ff5e73ebab884d80c9dc9c7290", "owner": "1a88cff43b45444792b3da1983536ea9", "direct_url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/b42db75d-5b67-434d-9ae3-f9b94aa8cb5e/snap", "min_ram": 0, "schema": "/v2/schemas/image"}], "schema": "/v2/schemas/images", "first": "/v2/images"}; **line: 1, column: 615] (through reference chain: org.openstack4j.openstack.image.v2.domain.Images["images"]->java.util.ArrayList[0]->org.openstack4j.openstack.image.v2.domain.GlanceImage["locations"]->java.util.ArrayList[0])
at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:216)
at com.fasterxml.jackson.databind.DeserializationContext.mappingException(DeserializationContext.java:873)
at com.fasterxml.jackson.databind.deser.std.StdDeserializer._parseString(StdDeserializer.java:845)
at com.fasterxml.jackson.databind.deser.std.StringCollectionDeserializer.deserialize(StringCollectionDeserializer.java:206)
at com.fasterxml.jackson.databind.deser.std.StringCollectionDeserializer.deserialize(StringCollectionDeserializer.java:177)
at com.fasterxml.jackson.databind.deser.std.StringCollectionDeserializer.deserialize(StringCollectionDeserializer.java:20)
at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:490)
at com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:101)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:260)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:125)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:277)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:249)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:26)
at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:490)
at com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:101)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:260)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:125)
at com.fasterxml.jackson.databind.ObjectReader._bindAndClose(ObjectReader.java:1575)
at com.fasterxml.jackson.databind.ObjectReader.readValue(ObjectReader.java:1200)
at org.openstack4j.connectors.okhttp.HttpResponseImpl.readEntity(HttpResponseImpl.java:122)
Caused: ClientResponseException{message=Can not deserialize instance of java.lang.String out of START_OBJECT token**
at [Source: {"images": [{"container_format": "bare", "min_ram": 0, "updated_at": "2018-07-15T04:01:19Z", "min_disk": 20, "file": "/v2/images/a0193a8f-1cf8-48f1-9977-4723f9fadc4c/file", "owner": "1a88cff43b45444792b3da1983536ea9", "id": "a0193a8f-1cf8-48f1-9977-4723f9fadc4c", "size": 2361393152, "self": "/v2/images/a0193a8f-1cf8-48f1-9977-4723f9fadc4c", "disk_format": "raw", "branch": "region-muc-2", "direct_url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/a0193a8f-1cf8-48f1-9977-4723f9fadc4c/snap", "schema": "/v2/schemas/image", "status": "active", "tags": [], "visibility": "public", "locations": [{"url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/a0193a8f-1cf8-48f1-9977-4723f9fadc4c/snap", "metadata": {}}], "date": "20180715-0400", "virtual_size": null, "build_by": "CI", "package_cksum": "4d873c6acdedbb1e545c99adabdae5bccc30df1d", "name": "B_Ubuntu_18.04_Server", "checksum": "9ef7cebe9d5d9faa56b5f854e34d6aed", "created_at": "2018-07-15T04:00:36Z", "protected": false, "commit": "e51e3e2d248d59da73408b7fe5c94471b3e0f0a9"}, {"container_format": "bare", "min_ram": 0, "updated_at": "2018-07-15T03:58:24Z", "min_disk": 20, "file": "/v2/images/a0590736-5071-481c-b3e4-ac62f8a84fd8/file", "owner": "1a88cff43b45444792b3da1983536ea9", "id": "a0590736-5071-481c-b3e4-ac62f8a84fd8", "size": 5368709120, "self": "/v2/images/a0590736-5071-481c-b3e4-ac62f8a84fd8", "disk_format": "raw", "branch": "region-muc-2", "direct_url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/a0590736-5071-481c-b3e4-ac62f8a84fd8/snap", "schema": "/v2/schemas/image", "status": "active", "tags": [], "visibility": "public", "locations": [{"url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/a0590736-5071-481c-b3e4-ac62f8a84fd8/snap", "metadata": {}}], "date": "20180715-0357", "virtual_size": null, "build_by": "CI", "package_cksum": "14d14b67403f3fd5a63b7776be419e7341061822", "name": "B_SUSE_12_SP2_Server", "checksum": "2a3beb4e669d5715d605de441c534438", "created_at": "2018-07-15T03:57:19Z", "protected": false, "commit": "e51e3e2d248d59da73408b7fe5c94471b3e0f0a9"}, {"container_format": "bare", "min_ram": 0, "updated_at": "2018-07-15T03:57:33Z", "min_disk": 20, "file": "/v2/images/56caeb69-aa3a-4ebf-a205-339d7902714d/file", "owner": "1a88cff43b45444792b3da1983536ea9", "id": "56caeb69-aa3a-4ebf-a205-339d7902714d", "size": 5368709120, "self": "/v2/images/56caeb69-aa3a-4ebf-a205-339d7902714d", "disk_format": "raw", "branch": "region-muc-2", "direct_url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/56caeb69-aa3a-4ebf-a205-339d7902714d/snap", "schema": "/v2/schemas/image", "status": "active", "tags": [], "visibility": "public", "locations": [{"url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/56caeb69-aa3a-4ebf-a205-339d7902714d/snap", "metadata": {}}], "date": "20180715-0355", "virtual_size": null, "build_by": "CI", "package_cksum": "fb0cc4effec904b5352e4c339c4e30ca61a7878b", "name": "B_SUSE_12_SP3_Server", "checksum": "e7965a5fedb85946d41f3ff0425ceabe", "created_at": "2018-07-15T03:55:47Z", "protected": false, "commit": "e51e3e2d248d59da73408b7fe5c94471b3e0f0a9"}, {"container_format": "bare", "min_ram": 0, "updated_at": "2018-07-15T03:44:47Z", "min_disk": 20, "file": "/v2/images/d6bfd194-2943-4c98-90a4-f57360b4355d/file", "owner": "1a88cff43b45444792b3da1983536ea9", "id": "d6bfd194-2943-4c98-90a4-f57360b4355d", "size": 8589934592, "self": "/v2/images/d6bfd194-2943-4c98-90a4-f57360b4355d", "disk_format": "raw", "branch": "region-muc-2", "direct_url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/d6bfd194-2943-4c98-90a4-f57360b4355d/snap", "schema": "/v2/schemas/image", "status": "active", "tags": [], "visibility": "public", "locations": [{"url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/d6bfd194-2943-4c98-90a4-f57360b4355d/snap", "metadata": {}}], "date": "20180715-0342", "virtual_size": null, "build_by": "CI", "package_cksum": "9d73048233f450c31fe078692bc05d8ea5b72542", "name": "B_CentOS_7_Server", "checksum": "cc1528c2fa333ffb8e7069cac1b5c9ec", "created_at": "2018-07-15T03:42:07Z", "protected": false, "commit": "e51e3e2d248d59da73408b7fe5c94471b3e0f0a9"}, {"container_format": "bare", "min_ram": 0, "updated_at": "2018-07-15T03:43:15Z", "min_disk": 20, "file": "/v2/images/352d520c-565d-4445-a385-20788dc60deb/file", "owner": "1a88cff43b45444792b3da1983536ea9", "id": "352d520c-565d-4445-a385-20788dc60deb", "size": 5368709120, "self": "/v2/images/352d520c-565d-4445-a385-20788dc60deb", "disk_format": "raw", "branch": "region-muc-2", "direct_url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/352d520c-565d-4445-a385-20788dc60deb/snap", "schema": "/v2/schemas/image", "status": "active", "tags": [], "visibility": "public", "locations": [{"url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/352d520c-565d-4445-a385-20788dc60deb/snap", "metadata": {}}], "date": "20180715-0341", "virtual_size": null, "build_by": "CI", "package_cksum": "782c6281652ae8b996feadda9d940d6ddcd5e23b", "name": "B_SUSE_11_SP4_Server", "checksum": "167695d2ea3f71eb1d8e57f1d368f324", "created_at": "2018-07-15T03:41:34Z", "protected": false, "commit": "e51e3e2d248d59da73408b7fe5c94471b3e0f0a9"}, {"container_format": "bare", "min_ram": 0, "updated_at": "2018-07-15T03:39:14Z", "min_disk": 20, "file": "/v2/images/6bfe8074-259e-4bab-8092-9aba8468a525/file", "owner": "1a88cff43b45444792b3da1983536ea9", "id": "6bfe8074-259e-4bab-8092-9aba8468a525", "size": 2361393152, "self": "/v2/images/6bfe8074-259e-4bab-8092-9aba8468a525", "disk_format": "raw", "branch": "region-muc-2", "direct_url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/6bfe8074-259e-4bab-8092-9aba8468a525/snap", "schema": "/v2/schemas/image", "status": "active", "tags": [], "visibility": "public", "locations": [{"url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/6bfe8074-259e-4bab-8092-9aba8468a525/snap", "metadata": {}}], "date": "20180715-0338", "virtual_size": null, "build_by": "CI", "package_cksum": "60f8313eea74019570a8b65ade113a98793797a4", "name": "B_Ubuntu_16.04_Server", "checksum": "d7db1fbad700a263ae4c03dd0afc16e2", "created_at": "2018-07-15T03:38:42Z", "protected": false, "commit": "e51e3e2d248d59da73408b7fe5c94471b3e0f0a9"}, {"container_format": "bare", "min_ram": 0, "updated_at": "2018-07-15T03:33:43Z", "min_disk": 20, "file": "/v2/images/d694e367-5c89-4540-84c1-4602929e939c/file", "owner": "1a88cff43b45444792b3da1983536ea9", "id": "d694e367-5c89-4540-84c1-4602929e939c", "size": 2361393152, "self": "/v2/images/d694e367-5c89-4540-84c1-4602929e939c", "disk_format": "raw", "branch": "region-muc-2", "direct_url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/d694e367-5c89-4540-84c1-4602929e939c/snap", "schema": "/v2/schemas/image", "status": "active", "tags": [], "visibility": "public", "locations": [{"url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/d694e367-5c89-4540-84c1-4602929e939c/snap", "metadata": {}}], "date": "20180715-0333", "virtual_size": null, "build_by": "CI", "package_cksum": "9a060a630145c46110a5c9505c907d11db9bd9fe", "name": "B_Ubuntu_14.04_Server", "checksum": "dd881f36ed751cb9b96acf63af2883dd", "created_at": "2018-07-15T03:33:03Z", "protected": false, "commit": "e51e3e2d248d59da73408b7fe5c94471b3e0f0a9"}, {"container_format": "bare", "min_ram": 2048, "locations": [{"url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/1ccaaa86-0fa8-41e3-83da-dd39e71213e6/snap", "metadata": {}}], "file": "/v2/images/1ccaaa86-0fa8-41e3-83da-dd39e71213e6/file", "owner": "383b088b839d4ab0a08750efbcae0d95", "id": "1ccaaa86-0fa8-41e3-83da-dd39e71213e6", "size": 3020619776, "self": "/v2/images/1ccaaa86-0fa8-41e3-83da-dd39e71213e6", "disk_format": "iso", "direct_url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/1ccaaa86-0fa8-41e3-83da-dd39e71213e6/snap", "schema": "/v2/schemas/image", "status": "active", "description": "kali", "tags": [], "visibility": "private", "updated_at": "2018-04-27T07:37:52Z", "min_disk": 100, "virtual_size": null, "name": "kali", "checksum": "541654f8f818450dc0db866a0a0f6eec", "created_at": "2018-04-27T07:37:09Z", "protected": false, "architecture": "amd64"}, {"container_format": "bare", "min_ram": 0, "updated_at": "2018-03-26T16:35:34Z", "min_disk": 80, "file": "/v2/images/39ca1917-e93d-40db-84a3-69709f99a38f/file", "owner": "383b088b839d4ab0a08750efbcae0d95", "id": "39ca1917-e93d-40db-84a3-69709f99a38f", "size": 0, "self": "/v2/images/39ca1917-e93d-40db-84a3-69709f99a38f", "tags": [], "disk_format": "qcow2", "base_image_ref": "", "bdm_v2": "True", "direct_url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/39ca1917-e93d-40db-84a3-69709f99a38f/snap", "schema": "/v2/schemas/image", "status": "active", "block_device_mapping": "[{\"guest_format\": null, \"boot_index\": 0, \"delete_on_termination\": false, \"no_device\": null, \"snapshot_id\": \"6fcf462b-c4fa-43df-a159-c4564612bc98\", \"device_name\": \"/dev/vda\", \"disk_bus\": \"virtio\", \"image_id\": null, \"source_type\": \"snapshot\", \"tag\": null, \"device_type\": \"disk\", \"volume_id\": null, \"destination_type\": \"volume\", \"volume_size\": 69}]", "visibility": "private", "locations": [{"url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/39ca1917-e93d-40db-84a3-69709f99a38f/snap", "metadata": {}}], "date": "20171208", "imageversion": "5.0.1.2_Openstack_0517c", "virtual_size": null, "build_by": "FG-840", "name": "ProcessIint1", "checksum": "d41d8cd98f00b204e9800998ecf8427e", "created_at": "2018-03-26T16:35:33Z", "protected": false, "root_device_name": "/dev/vda"}, {"container_format": "bare", "min_ram": 0, "updated_at": "2018-01-18T12:55:31Z", "min_disk": 60, "file": "/v2/images/c8c4bc45-7759-402f-ac4f-4b7d167668d1/file", "owner": "1fe3a6219a4e47838ccfa1b7ee583c02", "id": "c8c4bc45-7759-402f-ac4f-4b7d167668d1", "size": 68157440000, "self": "/v2/images/c8c4bc45-7759-402f-ac4f-4b7d167668d1", "disk_format": "raw", "direct_url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/c8c4bc45-7759-402f-ac4f-4b7d167668d1/snap", "schema": "/v2/schemas/image", "status": "active", "tags": [], "visibility": "public", "locations": [{"url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/c8c4bc45-7759-402f-ac4f-4b7d167668d1/snap", "metadata": {}}], "date": "20171208", "imageversion": "5.0.1.2_Openstack_0517c", "virtual_size": null, "build_by": "FG-840", "name": "B Windows Server 2012 R2", "checksum": "cfb3ebb3134370c7336a6a45f4c31e60", "created_at": "2017-12-08T12:22:06Z", "protected": false}, {"status": "active", "virtual_size": null, "name": "teststst", "tags": [], "container_format": "bare", "created_at": "2017-11-21T14:10:51Z", "size": 1525678080, "disk_format": "qcow2", "updated_at": "2017-11-21T14:10:51Z", "visibility": "public", "locations": [{"url": "http://smt-lab.bgroup.net/repo/ISO/SUSE-CaaS-Platform-2.0-OpenStack-Cloud.x86_64-1.0.0-GM.qcow2", "metadata": {}}], "self": "/v2/images/fbc36e18-627f-405c-bd11-1660449a963d", "min_disk": 0, "protected": false, "id": "fbc36e18-627f-405c-bd11-1660449a963d", "file": "/v2/images/fbc36e18-627f-405c-bd11-1660449a963d/file", "checksum": null, "owner": "61afb832f97c415fabf1b3a5f7ef8a16", "direct_url": "http://smt-lab.bgroup.net/repo/ISO/SUSE-CaaS-Platform-2.0-OpenStack-Cloud.x86_64-1.0.0-GM.qcow2", "min_ram": 0, "schema": "/v2/schemas/image"}, {"status": "active", "virtual_size": null, "name": "test", "tags": [], "container_format": "bare", "created_at": "2017-11-21T13:57:30Z", "size": 1525678080, "disk_format": "qcow2", "updated_at": "2017-11-21T13:57:30Z", "visibility": "public", "locations": [{"url": "http://smt-lab.bgroup.net/repo/ISO/SUSE-CaaS-Platform-2.0-OpenStack-Cloud.x86_64-1.0.0-GM.qcow2", "metadata": {}}], "self": "/v2/images/b09fda7e-ae3e-4ae7-a65b-5c857750183c", "min_disk": 0, "protected": false, "id": "b09fda7e-ae3e-4ae7-a65b-5c857750183c", "file": "/v2/images/b09fda7e-ae3e-4ae7-a65b-5c857750183c/file", "checksum": null, "owner": "61afb832f97c415fabf1b3a5f7ef8a16", "direct_url": "http://smt-lab.bgroup.net/repo/ISO/SUSE-CaaS-Platform-2.0-OpenStack-Cloud.x86_64-1.0.0-GM.qcow2", "min_ram": 0, "schema": "/v2/schemas/image"}, {"status": "active", "virtual_size": null, "name": "cirros", "tags": [], "container_format": "bare", "created_at": "2017-10-13T09:48:37Z", "size": 8589934592, "disk_format": "qcow2", "updated_at": "2017-10-13T09:50:12Z", "visibility": "public", "locations": [{"url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/a2d001ec-4a79-4f9c-a6b0-d160ded08f9c/snap", "metadata": {}}], "self": "/v2/images/a2d001ec-4a79-4f9c-a6b0-d160ded08f9c", "min_disk": 0, "protected": false, "id": "a2d001ec-4a79-4f9c-a6b0-d160ded08f9c", "file": "/v2/images/a2d001ec-4a79-4f9c-a6b0-d160ded08f9c/file", "checksum": "b770351fadae5a96bbaf9702ed97d28d", "owner": "be5d60b302564e0d9b439c69b7b31e27", "direct_url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/a2d001ec-4a79-4f9c-a6b0-d160ded08f9c/snap", "min_ram": 0, "schema": "/v2/schemas/image"}, {"status": "active", "virtual_size": null, "name": "cirros", "tags": [], "container_format": "bare", "created_at": "2017-10-13T09:47:15Z", "size": 13267968, "disk_format": "qcow2", "updated_at": "2017-10-13T09:47:17Z", "visibility": "public", "locations": [{"url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/ea808f33-670e-4833-bde4-85975a14e257/snap", "metadata": {}}], "self": "/v2/images/ea808f33-670e-4833-bde4-85975a14e257", "min_disk": 0, "protected": false, "id": "ea808f33-670e-4833-bde4-85975a14e257", "file": "/v2/images/ea808f33-670e-4833-bde4-85975a14e257/file", "checksum": "f8ab98ff5e73ebab884d80c9dc9c7290", "owner": "be5d60b302564e0d9b439c69b7b31e27", "direct_url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/ea808f33-670e-4833-bde4-85975a14e257/snap", "min_ram": 0, "schema": "/v2/schemas/image"}, {"status": "active", "virtual_size": null, "name": "cirros", "tags": [], "container_format": "bare", "created_at": "2017-10-11T06:18:05Z", "size": 13267968, "disk_format": "raw", "updated_at": "2017-10-11T06:18:08Z", "visibility": "public", "locations": [{"url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/b42db75d-5b67-434d-9ae3-f9b94aa8cb5e/snap", "metadata": {}}], "self": "/v2/images/b42db75d-5b67-434d-9ae3-f9b94aa8cb5e", "min_disk": 0, "protected": false, "id": "b42db75d-5b67-434d-9ae3-f9b94aa8cb5e", "file": "/v2/images/b42db75d-5b67-434d-9ae3-f9b94aa8cb5e/file", "checksum": "f8ab98ff5e73ebab884d80c9dc9c7290", "owner": "1a88cff43b45444792b3da1983536ea9", "direct_url": "rbd://aed73f28-9c66-42b8-bb61-9ccb9ecb3c99/region-muc-2.images/b42db75d-5b67-434d-9ae3-f9b94aa8cb5e/snap", "min_ram": 0, "schema": "/v2/schemas/image"}], "schema": "/v2/schemas/images", "first": "/v2/images"}; line: 1, column: 615] (through reference chain: org.openstack4j.openstack.image.v2.domain.Images["images"]->java.util.ArrayList[0]->org.openstack4j.openstack.image.v2.domain.GlanceImage["locations"]-**>java.util.ArrayList[0]), status=0, status-code=CODE_UNKNOWN}
at org.openstack4j.connectors.okhttp.HttpResponseImpl.readEntity(HttpResponseImpl.java:125)
at org.openstack4j.core.transport.HttpEntityHandler.handle(HttpEntityHandler.java:66)
at org.openstack4j.connectors.okhttp.HttpResponseImpl.getEntity(HttpResponseImpl.java:69)
at org.openstack4j.openstack.internal.BaseOpenStackService$Invocation.execute(BaseOpenStackService.java:225)
at org.openstack4j.openstack.internal.BaseOpenStackService$Invocation.execute(BaseOpenStackService.java:207)
at org.openstack4j.openstack.image.v2.internal.ImageServiceImpl.list(ImageServiceImpl.java:45)
at org.openstack4j.api.image.v2.ImageService$list.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
at Script1.run(Script1.groovy:1)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:585)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:623)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:594)
at hudson.util.RemotingDiagnostics$Script.call(RemotingDiagnostics.java:142)
at hudson.util.RemotingDiagnostics$Script.call(RemotingDiagnostics.java:114)
at hudson.remoting.LocalChannel.call(LocalChannel.java:45)
at hudson.util.RemotingDiagnostics.executeGroovy(RemotingDiagnostics.java:111)
at jenkins.model.Jenkins._doScript(Jenkins.java:4357)
at jenkins.model.Jenkins.doScript(Jenkins.java:4328)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:343)
at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:184)
at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:117)
at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:129)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:841)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650)
at com.cloudbees.jenkins.ha.HAHealthCheckFilter.doFilter(HAHealthCheckFilter.java:35)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1629)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:135)
at com.cloudbees.jenkins.support.slowrequest.SlowRequestFilter.doFilter(SlowRequestFilter.java:37)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
at com.cloudbees.opscenter.client.plugin.OfflineSecurityRealmFilter._doFilter(OfflineSecurityRealmFilter.java:95)
at com.cloudbees.opscenter.client.plugin.OfflineSecurityRealmFilter.doFilter(OfflineSecurityRealmFilter.java:70)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
at com.cloudbees.opscenter.security.ClusterSessionFilter._doFilter(ClusterSessionFilter.java:69)
at com.cloudbees.opscenter.security.ClusterSessionFilter.doFilter(ClusterSessionFilter.java:44)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
at jenkins.metrics.impl.MetricsFilter.doFilter(MetricsFilter.java:125)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:138)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:50)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:90)
at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:190)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.eclipse.jetty.server.Server.handle(Server.java:564)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:317)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:110)
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)
at org.eclipse.jetty.util.thread.Invocable.invokePreferred(Invocable.java:128)
at org.eclipse.jetty.util.thread.Invocable$InvocableExecutor.invoke(Invocable.java:222)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:294)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:199)
at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)**
Adding to above details following are the API glance we are using in our openstack:
Identity - http://opencloud-region-muc-2.bgroup.net:5000/v3/ Image - http://opencloud-region-muc-2.bgroup.net:9292 Network - http://opencloud-region-muc-2.bgroup.net:9696/
and so on ...
Through plugin i am able to fetch details for my networks, zones, floating IPs but it is failing for images.
@maggosourabh, yes, you are clearly getting something out of ImageV2 API. Please track https://github.com/jenkinsci/openstack-cloud-plugin/issues/77 for progress of implementing support for it. What I tried to communicate earlier is this issue is dedicated to a problem when both endpoints report empty list of images - which is not your case.
Thanks @olivergondza . Just help me with the understanding of output provided by me in earlier comments while testing the connection with OpenStack.
Is output (image/glance: 1) means OpenStack has returned the version value enabled on OpenStack for image API to plugin or is this the version expected by plugin?
Just help me with the understanding of output provided by me in earlier comments while testing the connection with OpenStack.
The exception you are getting is caused by an upstream issue in parsing Glance v2: https://github.com/ContainX/openstack4j/commit/bb78146aa914b855c2d77e2b4d42e455190fb8eb. It tried to parse JSON object into a list of strings.
Is output (image/glance: 1) means OpenStack has returned the version value enabled on OpenStack for image API to plugin or is this the version expected by plugin?
Yes, this is the version openstack has announced through keystone token.
Ok. But i am not sure about the answer to the second question as during direct hit (through curl) i am not getting any image response from v1 while OpenStack has announced v1 enabled. I will try to get in touch with my openstack to clear this doubt, but it will be helpful if you can also help me understanding the same. Meanwhile i am going through the issue #77 mentioned by you in previous comment.
@maggosourabh, I have no explanation why openstack announces one thing while doing the other. Though, this is an interesting data-point in that we would not rely on announced glance version to make the decision of which version to use for #77.
Based on what we have seen, I am convinced the empty list of images in a symptom of openstack dropping glance1 so glance2 needs to be used instead. I am selfassigning #77 to finish the glance2 support based on what @maggosourabh contributed.
Bionic queens deployment, Jenkins and all plugins updated, when I select boot source : image, the list is not populated (only “None specified”)
Not sure how to debug this but the user can list images via the cli so perhaps a tag or something is required? Images have a name and are publically visible.