-
Notifications
You must be signed in to change notification settings - Fork 173
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
Class 2, Lab 3.2 - 400 Bad Request when creating pool member #172
Comments
Should the method be POST here? |
Hey @justingrantit This just adds the pool member into the pool, which should already be defined, the method is correct since were just modifying. Have you modified the workflows in anyway? The Newman script calls the the Postman collection looking for step 2, which pulls you in a new token for Auth and then reuses that for added the pool members in |
Yes. I can confirm that the pool is there, so PATCH isn't the issue then. Not sure why I'm getting the 400 though. I haven't modified any of the workflows. Just following the lab guide as best I can. |
yeah you shouldnt have to modify anything past workflow 1 ( to add the other collection). you should be getting a console type output of the runner, can you copy that in here? how does it compare to the example in the guide? |
Here's the bit gone wrong:
|
So I checked the JSON in f5-programmability-class-2.postman_collection.json and it seems to me to be escaped properly. Confusing. |
that destination is perfect, the pool exists on the BIGIP already? all this does is add the pool member. i would expect the 400 if the pool isnt there |
when you ran newman-1 you should had got another output for the created objects, tcp, pool, vip ect, did those all pass? |
Here's the pool...
|
Yes. From memory everything passed. I don't have the screen output but here's what I can get from the JSON output file:
Nothing matches 4xx return code for build-1 |
yeah you have the pool, thats whats important, can you try running newman-5 and then re-run 1? 5 is the cleanup preparing you for the next section |
Same result :( Build-5 cleans up
|
can you get me a cat of newman-2, im going to see in a diff if there is something messy here. |
|
ok pulled yours and compared with whats in the repo, everything matches, at this point you might try just restarting bigip-a othewise we could jump into rest logs, its seeming like something might just be up with your bigip though, this is the first time ive seen this happen |
Hi Jon, So I've restarted with an entirely new Ravello lab build today. Now I'm having trouble getting the 'f5-newman-build-1' to build the virtual server! Note: I am restoring both Big-IP A and B using the module3 UCS file and 'no-license' Here's the output from the newman wrapper:
This might need a bit more internal work. Is anybody else in the community (a) doing the Super-Netops labs and (b) getting these strange '400 Bad Requests'? Surely, I can't be the only one. |
Just did a:
Same results... a 400 on the creation of the virtual server. |
Just bumping. Still keen to know if there are any present issues. It should be easy enough to replicate these 400 errors restoring the Module3.ucs and working through class 2. |
Hi,
I'm having trouble getting through Class 2, Lab 3.2.
The first build script 'f5-newman-build-1' runs fine and the virtual server is built on bigip-a with no pool member.
The second build script 'f5-newman-build-2', I get a 400 Bad Request when trying to create the pool members with PATCH. I'm not sure how all these newman scripts piece together just yet so it might be user (me) error. Unfortunately, I'm not a DevOps guy (thus the training) and I'm a bit out of my depth here troubleshooting.
The text was updated successfully, but these errors were encountered: