Skip to content

Every tasks failed when I upgrade from 2.6.0 to 3.4.1 #1896

Closed

Description

@edwardstudy

Hi there!

Bug Report

Hi, we worked with https://github.com/cloudfoundry/bosh-linux-stemcell-builder to builder our stemcells. And everything worked well in concourse 2.6.9. But in v3.4.1, the build-softlayer-xen-ubuntu-trusty task failed to run bundle exec rake stemcell:build such as:

sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
  behaves like every OS image
    installed by base_<os>
      #<ShelloutTypes::Command:0x0055e78c4d5e80>
        has exit status of 0 (FAILED - 1)
      #<ShelloutTypes::Command:0x0055e78c4d20f0>
        has exit status of 0 (FAILED - 2)

That means to read the /etc/sudoers file in the base image.

We knew the stemcell team did not use v3.0. But we really hope to be able to use the latest version. I thought these is a major change between v2 and v3.

The following can also be handy:

  • Concourse version: 3.4.1
  • Deployment type (BOSH/Docker/binary): BOSH
  • Infrastructure/IaaS: Softlayer
  • Browser (if applicable):
  • Did this used to work? In the older version, it was work.

Activity

  1. topherbullock commented on Dec 14, 2017

    @topherbullock
    Contributor

    @edwardstudy You probably need to bosh recreate the workers if you haven't done so yet; Concourse v3.4.1 requires Garden runC v1.6.0.

    It would help to know what exactly this task is doing when it fails in the rake task with /usr/bin/sudo must be owned by uid 0 and have the setuid bit set. Is the task running as privileged?

  2. edwardstudy commented on Dec 15, 2017

    @edwardstudy
    Author

    @topherbullock We did not upgrade concourse release and re-deployed the concourse with the higher version.

    About the later thing, I will do ASAP.

  3. jama22 commented on Feb 21, 2018

    @jama22

    Closing this due to inactivity. @edwardstudy hope you were able to get your Concourse up and running!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions