Just a simple question.
Having the following Google Cloud SDK command:
gcloud compute instances list --format=flattened --filter='NOT ((tags.items:special-tag))'
... I encounter one strange situation.
When I run this on my local machine (Ubuntu 16.04), where I have installed the Google Cloud SDK, everything is going well.
The problem appears when I am trying to run this on an instance from Google Cloud which runs Ubuntu 16.04 as well.
ERROR: (gcloud.compute.instances.list) Term expected [NOT *HERE*].
Seems that does not recognize the actual 'query' (tags.items:special-tag). What is strange (as you can see) is that on my local machine is working, but on Compute Engine instance not...
What is even more strange is that on a Debian instance running on Compute Engine it is working..
Does anyone can think about a good explanation?
P.S.: Python, gcloud versions are exactly the same. The configurations are exactly the same.
Thank you.
--
© 2016 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
Email preferences: You received this email because you signed up for the Google Compute Engine Discussion Google Group (gce-dis...@googlegroups.com) to participate in discussions with other members of the Google Compute Engine community and the Google Compute Engine Team.
---
You received this message because you are subscribed to the Google Groups "gce-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gce-discussio...@googlegroups.com.
To post to this group, send email to gce-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gce-discussion/befae67b-26a7-444c-b89a-738b41342c2f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Update done!
To revert your SDK to the previously installed version, you may run:
$ gcloud components update --version 111.0.0
WARNING: There are older versions of Google Cloud Platform tools on your system PATH.
Please remove the following to avoid accidentally invoking these old tools:
/usr/bin/git-credential-gcloud.sh
/usr/bin/bq
/usr/bin/gcloud
/usr/bin/gsutil
...and then he says:
So, it looks like this is a conflicting binary issue. I did the following:
--
© 2016 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
Email preferences: You received this email because you signed up for the Google Compute Engine Discussion Google Group (gce-dis...@googlegroups.com) to participate in discussions with other members of the Google Compute Engine community and the Google Compute Engine Team.
---
You received this message because you are subscribed to the Google Groups "gce-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gce-discussio...@googlegroups.com.
To post to this group, send email to gce-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gce-discussion/e3d25e0a-60e1-4222-bbc8-c86958c63686%40googlegroups.com.