Reduce instance RAM requirements to 512 Mb
Change-Id: I6dfa3851674bbc9a719bf4a524e16a530d1cfca5
This commit is contained in:
parent
37ac860fb8
commit
477f0ef121
@ -58,7 +58,7 @@ def build_image():
|
||||
LOG.info('Using existing flavor: %s', flavor_name)
|
||||
else:
|
||||
openstack_client.nova.flavors.create(name=flavor_name,
|
||||
ram=1024, vcpus=1, disk=3)
|
||||
ram=512, vcpus=1, disk=3)
|
||||
LOG.info('Created flavor %s', flavor_name)
|
||||
|
||||
if glance.get_image(openstack_client.glance, image_name):
|
||||
|
@ -54,7 +54,7 @@ def check_server_console(nova_client, server_id, len_limit=100):
|
||||
dict(id=server_id, msg=line))
|
||||
LOG.error(message)
|
||||
return message
|
||||
if re.search(r'error', line, flags=re.IGNORECASE):
|
||||
if re.search(r'\[error', line, flags=re.IGNORECASE):
|
||||
LOG.error('Error message in instance %(id)s console: %(msg)s',
|
||||
dict(id=server_id, msg=line))
|
||||
elif re.search(r'warn', line, flags=re.IGNORECASE):
|
||||
|
@ -44,7 +44,7 @@ resources:
|
||||
disk_format: qcow2
|
||||
location: https://cloud-images.ubuntu.com/releases/14.04.1/release/ubuntu-14.04-server-cloudimg-amd64-disk1.img
|
||||
min_disk: 3
|
||||
min_ram: 1000
|
||||
min_ram: 512
|
||||
name: shaker_image_build_template
|
||||
|
||||
master_image_server_port:
|
||||
|
Loading…
x
Reference in New Issue
Block a user