-
Notifications
You must be signed in to change notification settings - Fork 104
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
om assign-{multi-,}stemcell
fails, while assigning with om curl
works
#561
Comments
om assign-{mutli-,}stemcell
fails, while assigning with om curl
worksom assign-{multi-,}stemcell
fails, while assigning with om curl
works
Try putting the stemcell version in quotes in your config file. It appears the yank value is being read as a float instead of a string. |
RIght. That might explain the issue with
|
Hi @hoegaarden , Thanks for creating this issue, our team will be taking a look at this issue. |
I had the very same issue again with:
I have the suspicion, that if you once rolled out a newer stemcell neiter Opsman (in the UI) nor the So, we, again, had to introduce a custom task which directly uses the API (via |
Hi, I have the same issue with opsman 2.10.33 |
Just a little update here: We think there are two things going on with this.
1 Might be resolved in Ops Manager now. If it is, I'm not sure it's worth revisiting 2. If we don't hear of anyone else having this problem for a bit, I'd say, might be time to close this issue. |
Observed behavior
We had multiple stemcells on opsman (621.151, 621.141 and others) and could verify that by
om curl -p /api/v0/stemcell_associations
Using the Opsman Stemcell Libraty UI didn't let us select any other stemcell than 621.151. The dropdown didn't even show it as an option, it only showed the 621.151 version.
Also
om assign-multi-stemcell
failsSo does
om assign-stemcell
:We've also tried to use
om assign-stemcell
/om assign-multi-stemcell
with-s
/-p
instead of the config file, but that showed the same errors.But if we do the assignment via
om curl
, the assignment works correctly:Expected behaviour
om assign-multi-stemcell
should workom assign-stemcell
should work (or should it? Is this dependant on theom
/ Opsman version?)Workaround
We've created a custom task to use in our concourse pipelines, that does the stemcell assignment with the above mentioned
om curl
.Additional notes:
om
; maybe this is an issue with Opsman? Or both?om
subcommand where we can see the available stemcells, e.g. use thestemcell_associaton
API and just present the.stemcell_library[]
part of the response? Ideally we'd have something likebosh stemcells
.assign-stemcell
"stemcell version %!s(float64=621.141) not found in Ops Manager" looks fishyVersions and other stuffs
The text was updated successfully, but these errors were encountered: