You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
volume_size being ignored and runner starts with minimum storage #1954
I am running a setup with 0.40.0 which uses ephemeral runners but in this setup it seems the variable volume_size is being ignored. I have set it up for a value of 40, but it only deploys instances with 8Gb. Also running ARM instances in this setup.
I don't have any custom block configuration or any heavy customisation. Pasting my config from main.tf file below:
module"runners" {
source="philips-labs/github-runner/aws"version="0.40.0"create_service_linked_role_spot=trueaws_region=local.aws_regionvpc_id=module.vpc.vpc_idsubnet_ids=module.vpc.private_subnetsenvironment=local.environmentgithub_app={
key_base64 =nonsensitive(OMITTED)
id =nonsensitive(OMITTED)
webhook_secret =nonsensitive(OMITTED)
}
# Grab zip files via lambda_downloadrunner_binaries_syncer_lambda_zip="lambdas-download/runner-binaries-syncer.zip"runners_lambda_zip="lambdas-download/runners.zip"webhook_lambda_zip="lambdas-download/webhook.zip"# Runner setupenable_organization_runners=trueenable_ssm_on_runners=trueinstance_types=["t4g.large", "c6g.large"]
runner_architecture="arm64"runner_extra_labels="default,aws"runner_os="linux"runners_maximum_count=8volume_size=40# ephermeral instance rulesdelay_webhook_event=0enable_job_queued_check=truefifo_build_queue=falsejob_queue_retention_in_seconds=300minimum_running_time_in_minutes=1redrive_build_queue={
enabled =true
maxReceiveCount =3
}
# override scaling downscale_down_schedule_expression="cron(* * * * ? *)"tags={
Project ="GitHubAction"
}
}
resource"aws_iam_service_linked_role""spot" {
aws_service_name="spot.amazonaws.com"
}
# Other parts omitted as they are unrelated.
Another finding: If I try to set the block mappings manually the same way a default instance shows, no blocks will be mapped and the instance is "volumeless".
We planning to depcrecated the variable volume_size. You can set the volume size by provide a block_device_mappings, see example below for amazon linux. In the PR #2014 we revert the default behavior to create an EBS with 30GB.
Activity
npalm commentedon Apr 19, 2022
Are you using ubuntu or amazon linux? For ubuntu you have to configure the right mount point.
gusfune commentedon Apr 19, 2022
Amazon Linux
npalm commentedon Apr 19, 2022
Maybe it is related to ARM64, we use the same config (volume_size) for our fleet of x64 runners.
gusfune commentedon Apr 20, 2022
Another finding: If I try to set the block mappings manually the same way a default instance shows, no blocks will be mapped and the instance is "volumeless".
npalm commentedon May 4, 2022
Actually we have the same issu
fix: Volume size is ingored
npalm commentedon May 5, 2022
We planning to depcrecated the variable volume_size. You can set the volume size by provide a block_device_mappings, see example below for amazon linux. In the PR #2014 we revert the default behavior to create an EBS with 30GB.
fix: Volume size is ingored (#2014)
chore(release): 0.40.3 [skip ci]
forest-releaser commentedon May 5, 2022
🎉 This issue has been resolved in version 0.40.3 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀
chore(release): 1.12.0 [skip ci]