Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

volumetype == io1 is broken with the error "Iops is required for a provisioned IOPS volume" #3278

Closed
navinkbe7 opened this issue Aug 25, 2017 · 3 comments

Comments

@navinkbe7
Copy link

navinkbe7 commented Aug 25, 2017

When we try to make the root volume of the nodes as io1 volume type , i get an error message ,

W0825 17:39:46.585143   87752 executor.go:109] error running task "LaunchConfiguration/nodes.xxxxxxxxxxxxxx" (7m16s remaining to succeed): error creating AutoscalingLaunchConfiguration: ValidationError: Iops is required for a provisioned IOPS volume.

How to reproduce :
I followed Changing the root volume size or type section in the below link.
https://github.com/kubernetes/kops/blob/master/docs/instance_groups.md

Here is what we found,
Changes I made to the instance-group is not persisting in the s3 state store.
For example,

  1. Do a kops edit ig --name $NAME nodes and then edit the volume type.

Here is my instancegroups/nodes.yaml

piVersion: kops/v1alpha2
kind: InstanceGroup
metadata:
  creationTimestamp: 2017-08-25T22:34:03Z
  labels:
    kops.k8s.io/cluster: xxxxxxxxxxxxxxxxxxxxxxxxxx
  name: nodes
spec:
  associatePublicIp: false
  image: coreos.com/CoreOS-stable-1409.9.0-hvm
  machineType: m4.2xlarge
  maxSize: 3
  minSize: 3
  role: Node
  rootVolumeIops: 200
  rootProvisionedIops: 200
  rootVolumeSize: 200
  rootVolumeType: io1
  subnets:
  - us-east-1a
  - us-east-1b
  - us-east-1c
  - us-east-1d
  - us-east-1e
  tenancy: default
  1. now do a kops get ig --name $NAME nodes -o yaml , changes you made is gone .
rootVolumeIops: 200
rootProvisionedIops: 200

are missing .

Think kops doesn't like rootProvisionedIops & rootVolumeIops even though the docs claim the other way .

Kops version I am on,

$ kops version
Version 1.7.0
@robinpercy
Copy link
Contributor

@navinkbe7 the provisioned IOPS params aren't available in 1.7.0, just in master. They were merged after the release: #3102

@navinkbe7
Copy link
Author

@robinpercy 👍

@integrii
Copy link
Contributor

To be clear, this was not working in 1.7.1 still. If you follow the guide here, your cluster update will not work. You must use the 1.8 pre-release version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants