Comment 1 for bug 1541199

Revision history for this message
Castulo J. Martinez (castulo-martinez) wrote :

I don't think you are calling the create_server method correctly. Looking at the function definition (https://github.com/openstack/tempest/blob/master/tempest/scenario/manager.py#L157-L159) I see that method receives these parameters:

name=None, image_id=None, flavor=None, validatable=False, wait_until=None, wait_on_delete=True, clients=None, **kwargs

So the first thing I notice is that you are using wrong name for parameters. Also make sure you are actually passing it a flavor. I see you default value for flavor is None, and I have no idea what your method create_flavor_with_extra() is and if it is actually returning a valid flavor. so my guess is that you are sending None ad flavor, and that will result in the default image from the config file being used (https://github.com/openstack/tempest/blob/master/tempest/common/compute.py#L54-L55).

I'm closing this bug as invalid, if you still think it is a bug, please provide more info and reopen the bug.