Code Monkey home page Code Monkey logo

blacksmith-boshrelease's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blacksmith-boshrelease's Issues

Smoke Tests

This BOSH release needs smoke tests.

Those smoke tests will need to:

  1. Validate that the broker /v2/catalog endpoint loads
  2. Validate that (if enabled) the management UI loads (no need to test js, just the / endpoint)
  3. Defer to the errands for each colocated Blacksmith Forge release, to serially run tests on a per-service or per-plan basis.

Better `~/.vault-token` support

We shouldn't need it, but ~vcap/.vault-token would be a good thing to have, and can be set up by the BOSH release scripts.

Update `safe` to something .. new-ish

On a blacksmith node, ran safe -v. It said 0.0.7. I couldn't believe so I ran it five more times. It kept saying 0.0.7. This is wrong. This is bad. Let's fix it.

Removing forge may not be cleaning cached data

Deployment run with the four forges, PSQL, MariaDB, Redis, RabbitMQ, then one was removed, on the next deploy, the artifacts for that forge was left in the cache and stayed in the catalog.

Need to look at possibly flushing the cache on deploy to ensure full rebuild of the catalog

Blacksmith should renew its director token

We've recently had this same issue crop up in blacksmith.log in a couple of different environments where blacksmith is registered as a service broker with Cloud Foundry:

2019/08/12 13:56:29 Error requesting deployments  Get https://10.188.30.100:25555/deployments: oauth2: cannot fetch token: 401
Response: {"error":"invalid_token","error_description":"The token has been revoked: 0190f0c71b08458b896adbc2e842271b-r"}
2019-08-12 13:56:29.463 INFO   [*] taskid for the bosh cleanup is 0
2019-08-12 13:56:29.463 ERROR  [*] bosh cleanup failed to run properly: Post https://10.188.30.100:25555/cleanup: oauth2: cannot fetch token: 401
Response: {"error":"invalid_token","error_description":"The token has been revoked: 0190f0c71b08458b896adbc2e842271b-r"}
wait_pid 3817 1 25 1 250

In both cases, we investigated after a developer complained they were unable to cf create-service, and on both occasions I temporarily resolved the issue with a bosh restart. It would be great if blacksmith checked itself whether its token is expired, and then sought a new as required.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.