[JIRA] [openstack-cloud-plugin] (JENKINS-29993) Plugin cannot handle images with no name

2 views
Skip to first unread message

christopher.bayliss@unimelb.edu.au (JIRA)

unread,
Aug 17, 2015, 10:53:01 PM8/17/15
to jenkinsc...@googlegroups.com
Christopher Bayliss created an issue
 
Jenkins / Bug JENKINS-29993
Plugin cannot handle images with no name
Issue Type: Bug Bug
Assignee: Marat Mavlyutov
Components: openstack-cloud-plugin
Created: 18/Aug/15 2:52 AM
Priority: Minor Minor
Reporter: Christopher Bayliss

For unknown reasons the Openstack cloud I use has a public image with no name. It does have an ID ect but the name attribute is null. When attempting to configure the cloud the following is thrown.

java.lang.NullPointerException
	at jenkins.plugins.openstack.compute.JCloudsSlaveTemplate$DescriptorImpl$2.compare(JCloudsSlaveTemplate.java:478)
	at jenkins.plugins.openstack.compute.JCloudsSlaveTemplate$DescriptorImpl$2.compare(JCloudsSlaveTemplate.java:475)
	at java.util.TimSort.binarySort(TimSort.java:292)
	at java.util.TimSort.sort(TimSort.java:235)
	at java.util.Arrays.sort(Arrays.java:1512)
	at java.util.ArrayList.sort(ArrayList.java:1454)
	at java.util.Collections.sort(Collections.java:175)
	at jenkins.plugins.openstack.compute.JCloudsSlaveTemplate$DescriptorImpl.doFillImageIdItems(JCloudsSlaveTemplate.java:377)

I haven't been able to find out one way or another if name is a required attribute however it does look like other clients substitute the id for name if it's missing. It is possible to manually configure the templates via config.xml

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
Atlassian logo

ogondza@gmail.com (JIRA)

unread,
Apr 13, 2016, 2:38:03 PM4/13/16
to jenkinsc...@googlegroups.com
Oliver Gondža assigned an issue to Oliver Gondža
Change By: Oliver Gondža
Assignee: Marat Mavlyutov Oliver Gondža

ogondza@gmail.com (JIRA)

unread,
Apr 13, 2016, 2:41:02 PM4/13/16
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages