Cannot create small resource class Ubuntu image

This config used to work:

# Use the latest 2.1 version of CircleCI pipeline process engine.
# See: https://circleci.com/docs/2.0/configuration-reference
version: 2.1

# Define a job to be invoked later in a workflow.
# See: https://circleci.com/docs/2.0/configuration-reference/#jobs
jobs:
  say-hello:
    machine:
      image: ubuntu-2004:current
    resource_class: small
    # Add steps to the job
    # See: https://circleci.com/docs/2.0/configuration-reference/#steps
    steps:
      - checkout
      - run:
          name: "Say hello"
          command: "echo Hello, World!"

# Invoke jobs via workflows
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows
workflows:
  say-hello-workflow:
    jobs:
      - say-hello

But now I get the following error:

Build-agent version 1.0.135211-b712450b (2022-08-08T15:42:46+0000)
Creating a dedicated VM with ubuntu-2004:current image
failed to create host: There's no known type l1.small

failed to create host: There's no known type l1.small

My build stopped working sometime this weekend. It was working Friday 11/5/22, but broken this morning, Monday 11/8/22.

If I change the resource class to medium, it works fine. I’m wondering what happened this weekend?

Thanks,
–Dan

Not all the circleci teams visit the forums daily, so it would be worth sending this in as a support issue.

https://support.circleci.com/hc/en-us/requests/new

1 Like

Thanks, I filed this as a support ticket also.

I don’t know why the build started failing, but they said they do not offer a small machine image for the Linux VM executor, and instead I should use a small docker image. This doesn’t explain why it has worked for months until now.

But my build is working now so I’m moving on. Thanks for the help!

I have received a new reply on the support ticket, which suggests this was a bug, and it has been fixed.

1 Like