Spinnaker and jenkins debug


#1

Following this manual https://www.spinnaker.io/setup/ci/jenkins/

and I don’t see jenkins account showing up.

I am using kubectl apply -f https://spinnaker.io/downloads/kubernetes/quick-install.yml on our GKE cluster

and use version 1.7.0

any hints how to debug it? (maybe hit some rest endpoint to see if a service got the account right…)

One thing I notices that Igor service is not present at all in the namespace. maybe it has something to do with that?


#2

Have you included the configuration for your Jenkins instance in the halconfig ConfigMap that you deployed? The default deployment you’ve linked to has:

        jenkins:
          enabled: false
          masters: []

It also looks like igor might be disabled by default:

data:
  igor.yml: |
    enabled: false
    skipLifeCycleManagement: true

Maybe flipping that to enabled: true will work? (Not sure if that would be enough, or if there is other configuration that would be needed.)

Hope this helps!


#3

I setup jenkins (I login into hal pod created by that install script and configure it).

but haven’t setup igor. browsing those confugs I also noticed that it is disabled. I didn’t find any documentaion/forum post that igor has to be enabled somehow. is there any doc I can follow? or just go and try to set it to enable?

data:
igor.yml: |
enabled: false
skipLifeCycleManagement: true


#4

@ezimanyi, yep, enabling igor was the trick! I see my jenkins account. Thanks a bunch!

since hal container in GKE now runs under spinnaker not root (can’t install an editor). I run this command (i.e. toggled both flags)

cat << EOF > /home/spinnaker/.hal/default/service-settings/igor.yml
enabled: true
skipLifeCycleManagement: false
EOF

#5

Great, glad that worked—and thanks for posting an update here!