-
Notifications
You must be signed in to change notification settings - Fork 24
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
psite-service-level doesn't seem to work with 1000+ sites #184
Comments
@jbutkus So I'm unclear of why you think there's a limit of 1000 ... 0 - 999 is 1000 so I suspect this is just coincidence. However, I think that the massive list you received is expected behavior if the UUID is incorrect or not provided. Did you try |
The output you describe occurs if you provide a UUID that Terminus cannot find. It is attempting to validate the UUID you are providing and failing. The magic number of 1000 is suspicious. I believe there may be a default list limit on the API side but we'll need to check. This is not specifically a Terminus issue, but we can probably improve validation logic. |
This is replicable. You need two accounts in the same organisation:
Try the following process (clean cache before any attempt) with each of these accounts:
The user accounts are actual ones. The operations were tried just a minutes apart. And it was reproducible for a test of over 10 site spin-ups. |
We have 1000+ sites in our Dashboard.
When we try to crete new site it spins up and responds (HTTP request shows site installed). Before proceeding with set-up we try to change site level to appropriate one:
drush pantheon-site-service-level $SITE_UUID basic
While expected output is
Service level changed
we actually get a list of sites numbered from\[0\]
to\[999\]
and a prompt "Select a site".We cannot do that, because:
Can we increase this limit of 1000 sites somehow?
And potentially - avoid having to answer interactive question in automated script.
The text was updated successfully, but these errors were encountered: