pantheon-deprecated / terminus-deprecated

Deprecated CLI for Pantheon. Do not install. Current project:
https://github.com/pantheon-systems/cli
82 stars 24 forks source link

psite-create with organization fails, 500 Error #194

Open cnovak opened 10 years ago

cnovak commented 10 years ago

I am trying to use psite-create, and I always get a 500 error if I try to use our org. As you can see, not selecting an org works fine:

$ drush psite-create testnovak2 --label="test" --product=21e1fada-199c-492b-97bd-0b36b53a9da0 Organizational affiliation [0] : Cancel [1] : None
[2] : Apigee $ 2 Queuing build. [ok] Request failed: 500 "Error: 'str' object has no attribute 'user_id'\n" [failed] Site creation failed.

$ drush psite-create testnovak3 --label="test" --product=21e1fada-199c-492b-97bd-0b36b53a9da0 Organizational affiliation [0] : Cancel [1] : None
[2] : Apigee $ 1 Queuing build. [ok] Your new site is now building. [ok] The site's UUID is '' Waiting for site spinup to complete. You can cancel at any point and the process will continue in the background. .Request failed: 403 "No realm detected." [failed] Invalid argument supplied for foreach() terminus.drush.inc:1149 [warning] Invalid argument supplied for foreach() terminus.drush.inc:1153 [warning] Invalid argument supplied for foreach() terminus.drush.inc:1164 [warning] Creating git repository and deploying code to dev. preg_match() expects parameter 2 to be string, object given terminus.drush.inc:3695 [warning] Your site is now ready! Manage it from the dashboard: https://dashboard.getpantheon.com/sites/

Hornswoggles commented 10 years ago

Thanks for submitting this issue Chris. I believe a recent change to the platform was the culprit and have pushed a hotfix. Can you give this another try?

ian-moran commented 10 years ago

Is this still a problem? I was able to successfully import yesterday, but today it is providing the same error as Chris.

ari-gold commented 10 years ago

@cnovak @ian-moran

Please try again. Should now be fixed again. I tested site spinup several times and it completed successfully.

ian-moran commented 10 years ago

I can confirm it's working fine for imports.