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

Unable to deploy latest diego release onto bosh-lite #60

Closed
rahulkj opened this issue Jun 30, 2015 · 3 comments
Closed

Unable to deploy latest diego release onto bosh-lite #60

rahulkj opened this issue Jun 30, 2015 · 3 comments

Comments

@rahulkj
Copy link

rahulkj commented Jun 30, 2015

I've been trying to install the latest release 0.1335.0 on my bosh-lite with cf release 212. Each time I run a bosh -n deploy for diego, I get the following error:

  Started binding instance vms
  Started binding instance vms > database_z1/0
  Started binding instance vms > brain_z1/0
  Started binding instance vms > cell_z1/0
  Started binding instance vms > cc_bridge_z1/0
  Started binding instance vms > route_emitter_z1/0
  Started binding instance vms > access_z1/0. Done (00:00:00)
     Done binding instance vms > cc_bridge_z1/0 (00:00:00)
     Done binding instance vms > database_z1/0 (00:00:00)
     Done binding instance vms > cell_z1/0 (00:00:00)
     Done binding instance vms > brain_z1/0 (00:00:00)
     Done binding instance vms > route_emitter_z1/0 (00:00:00)
     Done binding instance vms (00:00:00)

  Started preparing configuration > Binding configuration. Failed: Error filling in template `agent_ctl.sh.erb' for `database_z1/0' (line 31: undefined method `tr' for ["bbs", {}]:Array) (00:00:00)

Error 100: Error filling in template `agent_ctl.sh.erb' for `database_z1/0' (line 31: undefined method `tr' for ["bbs", {}]:Array)

Task 23 error

I'm not sure what should go in for the bbs configuration?
I get similar issues with cc_bridge_z1 and access_z1

bosh vms results with the following output

bosh vms
Acting as user 'admin' on 'Bosh Lite Director'
Deployment `cf-warden'

Director task 28

Task 28 done

+------------------------------------+---------+---------------+--------------+
| Job/index                          | State   | Resource Pool | IPs          |
+------------------------------------+---------+---------------+--------------+
| api_z1/0                           | running | large_z1      | 10.244.0.134 |
| consul_z1/0                        | running | medium_z1     | 10.244.0.54  |
| doppler_z1/0                       | running | medium_z1     | 10.244.0.142 |
| etcd_z1/0                          | running | medium_z1     | 10.244.0.42  |
| ha_proxy_z1/0                      | running | router_z1     | 10.244.0.34  |
| hm9000_z1/0                        | running | medium_z1     | 10.244.0.138 |
| loggregator_trafficcontroller_z1/0 | running | small_z1      | 10.244.0.146 |
| nats_z1/0                          | running | medium_z1     | 10.244.0.6   |
| postgres_z1/0                      | running | medium_z1     | 10.244.0.30  |
| router_z1/0                        | running | router_z1     | 10.244.0.22  |
| runner_z1/0                        | running | runner_z1     | 10.244.0.26  |
| uaa_z1/0                           | running | medium_z1     | 10.244.0.130 |
+------------------------------------+---------+---------------+--------------+

VMs total: 12
Deployment `cf-warden-diego'

Director task 29

Task 29 done

+--------------------+---------+------------------+---------------+
| Job/index          | State   | Resource Pool    | IPs           |
+--------------------+---------+------------------+---------------+
| access_z1/0        | running | access_z1        | 10.244.16.6   |
| brain_z1/0         | running | brain_z1         | 10.244.16.134 |
| cc_bridge_z1/0     | running | cc_bridge_z1     | 10.244.16.142 |
| cell_z1/0          | running | cell_z1          | 10.244.16.138 |
| database_z1/0      | running | database_z1      | 10.244.16.130 |
| route_emitter_z1/0 | running | route_emitter_z1 | 10.244.16.146 |
@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/98076660.

@emalm
Copy link
Member

emalm commented Jun 30, 2015

Hi, @rahulkj,

Since CF v212, there's been a change to the manifest data that cf-release's consul_agent job consumes: it used to take a list of strings, and now it takes a map of strings to sets of tags. The diego-release manifest generation templates as of v0.1317.0 now produces this updated set of consul data, but v212 of cf-release still uses the old-style list data. This means that v0.1317.0 and later of diego-release will generate manifests incompatible with CF v212.

Based on the release notes for CF v212, Diego final version v0.1304.0 is compatible, so you may consider deploying that version instead. In general, Diego creates final releases much more frequently than CF does, so there's no guarantee that the master branch of diego-release will be compatible with the master branch of cf-release. The Diego-CF compatibility record tracks which combinations of cf-release and diego-release have passed our automated testing pipeline.

Thanks,
Eric, CF Runtime Diego PM

@rahulkj
Copy link
Author

rahulkj commented Jun 30, 2015

Ah makes complete sense. I'll give a shot with v0.1304.0.

Also thanks for the compatibility record link. That would be one helpful link.

Cheers!

@rahulkj rahulkj closed this as completed Jun 30, 2015
jfmyers9 pushed a commit that referenced this issue Mar 2, 2016
Submodule src/github.com/pkg/sftp cbc2879..e84cc8c:
  > Merge pull request #85 from pkg/rootdir
  > Merge pull request #81 from pkg/server-option
  > Merge pull request #80 from pkg/functional-options
  > Merge pull request #78 from pkg/server-readonly
  > Merge pull request #79 from pkg/readme-badges
  > Merge pull request #77 from pkg/namedreturns
  > Merge pull request #75 from pkg/golint
  > Merge pull request #73 from mdlayher/golint
  > Merge pull request #74 from LiterallyElvis/master
  > Merge pull request #72 from mdlayher/master
  > Merge pull request #70 from pkg/fixedbugs/69
  > Merge pull request #67 from mdlayher/master
  > Merge pull request #64 from pkg/fixedbugs/28
  > Merge pull request #63 from pkg/fixedbugs/5
  > Merge pull request #61 from pkg/add-travis
  > Merge pull request #62 from xiu/bugfix/35-cant-remove-directories-on-servu
  > Merge pull request #58 from sykesm/client-realpath
  > Merge pull request #60 from pkg/fixedbugs/57
  > updated contribution guidelines

Signed-off-by: James Myers <jmyers@pivotal.io>
bdshroyer pushed a commit that referenced this issue Feb 21, 2017
Submodule src/code.cloudfoundry.org/guardian af786aa..0272c51:
  > Refactor the rootfs_test
  > Ensure tests use correct client after restartGarden
  > Make fake network plugin name consistent
  > Don't log spurious errors on server start
  > Ensure test kills correct garden server
  > Fix flakes caused by gqts not stopping garden
  > Assert file closed for both Go 1.7 and 1.8
  > add integration tests for cases where apparmor is disabled
  > Allow NetIn config at container creation time
  > Make setup tests not interfere with rest of GQT
  > use idmapper package to determine max UID and GID
  >  Fail if image requires credential and image plugin is not used
  > Can use image credentials with image plugin
  > remove todo that had already been completed
  > iptables fix race condition
  > Allow NetOut operations at container creation time
  > Extend test coverage for the root case and cleanup
  > gdn server --skip-setup runs process as non-root user
  > Add --skip-setup flag to server command
  > Add iptables starter
  > Add BulkStarter and CgroupStarter
  > Add cgroup starter to gdn setup command
  > Ensure gdn still runs without a sub command
  > Split GuardianCommand into Server and Setup
  > Add handle as a comment to iptables rules
  > Small fix to iptables test
  > Ensure dadoo logs always get sent to guardian
  > dadoo logs in logfmt format
  > stop leaking dadoo stdout/stderr FD from ExecRunner
  > ExecRunner send dadoo output to file in process dir
  > Remove {the-secret,inspector}-garden
  > Remove unused -uid and -gid flags
  > Don't try to capture dadoo stderr (yet)
  > Remove unneeded comment
  > Return meaningful error if dadoo exits/panics before runc starts
  > Make sure kill the process when setup TTY fails
  > Add --console-sockets-path to guardiancommand
  > Little refactor of the panic test
  > Add a test for SockDirPath length
  > Rename runcStartCmd -> runcExecCmd
  > Initial work on bumping runc to 477c75 (from fork)
  > bump iptables' tests eventually timeout
  > Don't use a static name for the test net ns
  > Add Image property to ContainerSpec
  > Support 'standalone' mode for gdn command
  > Move cmd/guardian -> cmd/gdn
  > Remove id mapping flags from call to image plugin
  > Ensure image plugin runs as Garden user
  > Rework the image plugin
  > Adapt port pool test for 8 parallel nodes
  > Merge branch '136770727-default_container_rootfs_flag'
  > Reduce port range size to make room for 8 ginkgo nodes in gqt
  > Pass logger through to local fetcher
  > Add `image_plugin_extra_args` and `privileged_image_plugin_extra_args` properties
  > Prevent Deadlock when runc writes lots to pipes
  > Add NOTICE
  > Don't start debug server by default
  > Rename pid limit                                                                                                                                        │···············································
  > Introduce pidlimits to limit processes in a container
  > Add --iptables-restore flag
  > Add edge case test for runc
  > Revert "Fix unmounting loop devices on 4.4"
  > Fix external plugin test
  > Merge branch 'image-plugin-tags'
  > Fix compilation error
  > Relog imageplugin logs
  > Merge branch 'image-plugin-exclusive-quotas'
  > Rename grootfs `metrics` command to `stats`
  > Improve BulkNetOut test description
  > Merge branch 'bulk-net-out-133632317' of https://github.com/cf-container-networking/guardian
  > Merge branch 'external-image-envvars'
  > Fix unmounting loop devices on 4.4
  > Append imageplugin output to the returned error
  > Merge pull request #60 from cloudfoundry/imageplugin-metrics
  > Merge pull request #58 from cloudfoundry/image-plugin-gc
  > remove unneded line
  > Do not propagate additional groups
  > Update runc
  > Merge branch 'fix-integrootion'
  > ExternalNetworker BulkNetOut propagates to NetOut
  > Ensure BulkNetOut works concurrently
  > Use BulkPrepend to increase iptables speed
  > Improve performance of BulkNetOut
  > Add BulkNetOut
  > Run image plugin as container user
  > Pass image plugin --default-rootfs if not in spec
  > Truncate hostname when longer then 49 characters
  > Pass uid/gid mappings to image plugin when unprivileged
  > Make sure guardian trims imageplugin output
  > Return rootfs path on ExternalImageManager create
Submodule src/code.cloudfoundry.org/inigo c02cf00..3484e91:
  > Modify GardenRunner call to use updated version of guardian.
caod123 added a commit that referenced this issue Apr 17, 2018
Submodule src/code.cloudfoundry.org/garden 24017d56..7d719bfc:
  > Merge pull request #60 from andyliuliming/master
  > streamer ID generation untangled
  > Name stdout and stderr rather than using indices
  > Use golang's standard sync map
  > Check streamID exists in map to avoid nils
dsabeti added a commit to dsabeti/diego-release that referenced this issue Mar 2, 2023
Submodule src/code.cloudfoundry.org/buildpackapplifecycle 4979bee71..9bfd77998:
  > Merge pull request cloudfoundry#60 from dsabeti/buildpack-config-fix
ameowlia pushed a commit that referenced this issue Mar 2, 2023
Submodule src/code.cloudfoundry.org/buildpackapplifecycle 4979bee71..9bfd77998:
  > Merge pull request #60 from dsabeti/buildpack-config-fix
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