ERROR! None of the image ids used by any VM "role" were detected in this OpenStack cloud.

18 views
Skip to first unread message

Ivan Cuevas

unread,
Aug 8, 2016, 7:20:05 PM8/8/16
to cbtool-users
Hello,

I'm trying to install CBTOOL in a Ubuntu machine. My /home/ubuntu/osgcloud/cbtool/configs/ubuntu_cloud_definitions.txt contains:

STARTUP_CLOUD = MYOPENSTACK
# OpenStack (OSK) requires the following parameters (replace everything between <>, *including* the signs!)
[USER-DEFINED : CLOUDOPTION_MYOPENSTACK]
OSK_ACCESS = http://172.24.243.182:5000/v2.0/                   # Address of controlled node (where nova-api runs)
OSK_CREDENTIALS =  <credentials>
OSK_SECURITY_GROUPS = default                              # Make sure that this group exists first
OSK_INITIAL_VMCS = RegionOne:sut                           # Change "RegionOne" accordingly
OSK_LOGIN = cbuser                                         # The username that logins on the VMs
OSK_KEY_NAME = spec_key                                   # SSH key for logging into workload VMs
OSK_SSH_KEY_NAME = spec_key                               # SSH key for logging into workload VMs
OSK_NETNAME = public

But when I run "./cb --hard_reset" I'm having the next error:

OpenStack status: Checking if the imageids associated to each "VM role" are registered on VMC RegionOne.... status: ERROR! None of the image ids used by any VM "role" were detected in this OpenStack cloud. Please register at least one of the following images: cb_nuttcp,cb_ycsb,cb_coremark,cb_xping,cb_hadoop,cb_filebench,cb_specjbb,cb_nullworkload,cb_ddgen,cb_daytrader,cb_linpack,cb_iperf,cb_hpcc,cb_tradelite,cb_netperf,cb_windows,cb_giraph,cb_fio  status: VMC "RegionOne" did not pass the connection test." : Check the previous errors, fix it (using OpenStack's web GUI (horizon) or nova CLIThe "osk" cloud named "MYOPENSTACK" could not be attached to this experiment: VMC "RegionOne" did not pass the connection test." : Check the previous errors, fix it (using OpenStack's web GUI (horizon) or nova CLI

Usage: vmcattach <cloud_name> <identifier> [temp_attr_list = empty=empty] [mode]               


I don't know if I made some CBTOOL configuration wrong or what else is causing the error.

I'm attaching the ubuntu_operations.log if it could provide more information

Thank you all in advance
ubuntu_operations.log

Michael R. Hines

unread,
Aug 8, 2016, 7:24:29 PM8/8/16
to Ivan Cuevas, cbtool-users
Very simple error. The images in openstack for your user/tenant need to match the ones expected by the tool.

You need to drop in a section into your configuration file like this:

[VM_TEMPLATES : CLOUDOPTION_MYOPENSTACK ]
TINYVM = size:m1.tiny, imageid1:cb_nullworkload

That's just an example. Adapt the size and image ID names to match your cloud.

Remember, do not modify the templates in cbtool/configs/templates/_openstack.txt,
just copy the section you need into your file and then adapt it to match your cloud.

/*
 * Michael R. Hines
 * Platform Engineer, DigitalOcean.
 */

ivan.d.cuev...@intel.com

unread,
Aug 9, 2016, 6:52:00 PM8/9/16
to cbtool-users, ivan...@gmail.com
Thanks Michael, it works now.
Reply all
Reply to author
Forward
0 new messages