Skip to content

Commit

Permalink
try tiny flavor
Browse files Browse the repository at this point in the history
  • Loading branch information
yanksyoon committed Apr 12, 2024
1 parent 61d6dc1 commit cd70098
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/openstack_cloud/openstack_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,15 +464,15 @@ def create_instance(
templates_env=environment, instance_config=instance_config, runner_env=env_contents
)

try:
with _create_connection(cloud_config) as conn:
with _create_connection(cloud_config) as conn:
try:
conn.create_server(
name=instance_config.name,
image=instance_config.openstack_image,
flavor="m1.small",
flavor="m1.tiny",
network="demo-network",
userdata=cloud_userdata,
wait=True,
)
except OpenStackCloudException as exc:
raise OpenstackInstanceLaunchError("Failed to launch instance.") from exc
except OpenStackCloudException as exc:
raise OpenstackInstanceLaunchError("Failed to launch instance.") from exc

0 comments on commit cd70098

Please sign in to comment.