Updating service [default]...failed.
--
You received this message because you are subscribed to the Google Groups "google-cloud-sdk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-s...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-cloud-sdk.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sdk/825ad9e8-8239-46b2-85ee-42691cb278cc%40googlegroups.com.
Hi Rachel,
Did some digging, and it looks like we’re just being consistent with the behavior of docker-py in this case, since App Engine Flexible Environment is Docker-based: https://github.com/docker/docker-py/blob/538a1db9dd210ee4824f0203341586b9aa3f2419/docker/utils/utils.py#L94
It’s an easy fix: just add dereference=True
to line 97 in the linked file (we ship our own copy in $CLOUD_SDK_ROOT/lib/third_party/docker/docker/utils/utils.py
); the issue is that there’s a decent number of steps that have to happen before that change would be reflected in a released version of the Cloud SDK (pull request to Docker, pull request being merged, Cloud SDK updating the docker-py version we ship). I put in such a feature request to docker-py, but I have no idea whether this is a change they’d be okay with. Note that in a previous discussion about the Docker CLI, Docker maintainers declined to do this.
In the meantime, you could void your warranty (so to speak) and make that change in the copy of docker-py in your Cloud SDK installation.
If you’d like, file an issue at [https://code.google.com/p/google-cloud-sdk/issues/entry](https://code.google.com/p/google-cloud-sdk/issues/entry) and we can keep you updated there. If there’s a good enough reason, we can hack around it on our end, without waiting on docker-py, but we do really value having consistent behavior with the Docker tooling.
Cheers,
Zack
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sdk/CADd%3D1Q0tvst4jaQKX_qyuBjQKnetWDEEXNPzW2Edx9pihk2ezw%40mail.gmail.com.