title: Desired GKE pod not found , google cloud composer
body: <p>I am using Google cloud composer ,and created composer environment.Composer environment is ready(has green tick), now I am trying to set variables used in DAG python code using google cloud shell.</p>
  
  <p>command to set variables:</p>
  
  <pre><code>     gcloud composer environments run test-environment \
         --location us-central1 variables -- \
         --set gcp_project xxx-gcp
  </code></pre>
  
  <p><strong>Exact error message:</strong></p>
  
  <pre><code>  ERROR: (gcloud.composer.environments.run) Desired GKE pod not found. If the environment was recently started, please wait and retry.
  </code></pre>
  
  <p>I tried following things as part of investigation, but got same error each time.
  I have created a new environment using UI and not google shell commands.
  I checked pods in kubernetes engine and all are green , did not see any issue.
  I verified composer API, Billing kubernetes, all required API's are enabled.</p>
  
  <p>I have 'Editor' role assigned.</p>
  
  <p><strong>added screenshot I saw first time some failures</strong></p>
  
  <p><a href="https://i.stack.imgur.com/bkF1M.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bkF1M.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/SLfll.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SLfll.png" alt="enter image description here"></a></p>
  
  <p><strong>Error with exit code 1</strong>
  google troubleshooting guide describe: If the exit code is 1, the container crashed because the application crashed.</p>