Giter Club home page Giter Club logo

carousel's People

Contributors

itsouvalas avatar mrferris avatar ramonskie avatar rkoster avatar thehandsomezebra avatar wayneeseguin avatar xiujiao avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

carousel's Issues

carousel diff causes stack overflow

./carousel diff -d deployment-name
runtime: goroutine stack exceeds 1000000000-byte limit
runtime: sp=0xc0225c0370 stack=[0xc0225c0000, 0xc0425c0000]
fatal error: stack overflow
runtime stack:
runtime.throw(0xaa468d, 0xe)
    /usr/local/go/src/runtime/panic.go:1117 +0x72
runtime.newstack()
    /usr/local/go/src/runtime/stack.go:1069 +0x7ed
runtime.morestack()
    /usr/local/go/src/runtime/asm_amd64.s:458 +0x8f
goroutine 1 [running]:
github.com/starkandwayne/carousel/state.(*Credential).Active(0xc00092dd40, 0x0)
    /home/ramonskie/workspace/starkandwayne/carousel/state/credential.go:54 +0xa6 fp=0xc0225c0380 sp=0xc0225c0378 pc=0x861a26
github.com/starkandwayne/carousel/state.(*Credential).Active(0xc00092dd40, 0x0)
    /home/ramonskie/workspace/starkandwayne/carousel/state/credential.go:59 +0x6d fp=0xc0225c03b8 sp=0xc0225c0380 pc=0x8619ed

This is most likely due to cyclical references in the user's credentials.

Rotate a single credential

As a user I want to be able to rotate a single credential by name without specifying an expires_within time

Enable ignore of static variables during rotate

During a rotate operation, passwords that are statically set cannot be regenerated, only generated passwords can be regenerated. There doesn't appear to be a way to skip the statically set values during a rotate operation and this causes the rotate to exit.

Failure to rotate statically set secrets should be a warning not an error.

Display dangling bosh variable references in ui when running browse

Currently the following error message is shown.

> carousel browse                                                                                         
failed to update state got: credential not found for bosh variable id: 18d8a9f0-116e-44a3-b847-af8c0fea5434
run bosh deploy for 'snw-rmakkelie-lab-rabbitmq' so the BOSH director can converge it's variable references
exit status 1

However in cases like this just running a bosh deploy might not be what you want. So give carousel the ability to display inconsistent state, so the operator can make an informed decision on how to more forward.

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.