with CoreOS: ERROR: The Parameter (etcd_volume_size) was not defined in template.

Bug #1722523 reported by George Shuklin on 2017-10-10
This bug affects 6 people
Affects Status Importance Assigned to Milestone
In Progress

Bug Description

I'm evaluating current head of devstack, and I unable to create cluster with CoreOS, due to error:

ERROR: The Parameter (etcd_volume_size) was not defined in template.

Steps to reproduce:

Grab Stable CoreOS image: https://stable.release.core-os.net/amd64-usr/current/coreos_production_openstack_image.img.bz2

upload it to glance:

glance image-create --name Container-Linux --container-format bare --disk-format qcow2 --file coreos_production_openstack_image.img --property os_distro=coreos --visibility public

Create a cluster:

 magnum cluster-template-create k8s-cluster-template --image d6dedb08-9d66-474d-9d30-49ed1d72a3d8 --keypair x220 --external-network 9286beb5-cb2f-4611-8198-6c3f9fd734ea --dns-nameserver --flavor m1.small --coe kubernetes --network-driver flannel

(put your uuids as needed)

Create cluster:

magnum cluster-create --cluster-template 319e7a68-3431-43c3-aa4b-ba436d5330dc --master-count 1 --node-count 2

Expected result: working cluster

Actual result: status: CREATE_FAILED. status_reason: ERROR: The Parameter (etcd_volume_size) was not defined in template.

Check done against commit a29329b55983d69c3966e1699f985be8cdf6e59d (devstack), 732b45ccb3dc40f9d240a3a7a75fc323368316cd (magnum), and 50379b7f081d20187c249af9f7a84786d63d885c (heat).

George Shuklin (george-shuklin) wrote :

N.B. Fedora-atomic images works fine.

yatin (yatinkarel) wrote :

etcd_volume_size was added for fedora in [1] but not to coreos, should be added.

[1] https://review.openstack.org/#/c/473789/

Changed in magnum:
status: New → Triaged
importance: Undecided → Medium
milestone: none → queens-1
George Shuklin (george-shuklin) wrote :

I've adopted those changes to coreos driver and it worked. I'll try to send them to upstream.

Changed in magnum:
assignee: nobody → George Shuklin (george-shuklin)

Fix proposed to branch: master
Review: https://review.openstack.org/511190

Changed in magnum:
status: Triaged → In Progress

Change abandoned by George Shuklin (<email address hidden>) on branch: stable/pike
Review: https://review.openstack.org/510908
Reason: I used a wrong branch. That was a mistake.

aeva black (tenbrae) wrote :

Hi folks,

This bug has just hit me as well (using stable/pike). It looks very easy to fix -- and there's already a fix proposed! What's the hold up in landing it?

I also suggest backporting to stable/pike as this is low-risk and high-impact (a claimed feature does not work without this).


Changed in magnum:
status: In Progress → Confirmed
assignee: George Shuklin (george-shuklin) → nobody

Change abandoned by George Shuklin (<email address hidden>) on branch: master
Review: https://review.openstack.org/511190
Reason: I stopped working on Magnum some time ago. Anyone is welcomed to pick up this patch and continue.

George Shuklin (george-shuklin) wrote :

Sorry guys, I done with Magnum. I hope someone with finish this trivial fix.

Changed in magnum:
assignee: nobody → haplo37 (farid-daencarnacao)
Luca Cervigni (cervigni) wrote :

Can please someone pick up this and submit the patch?

Changed in magnum:
status: Confirmed → In Progress

Change abandoned by Spyros Trigazis (<email address hidden>) on branch: master
Review: https://review.opendev.org/632721
Reason: The magnum team is cleaning up the backlog of changes older than 30 days. Feel to restore your patch.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers