Hi, I am exploring dagster cloud and trying to con...
# dagster-plus
a
Hi, I am exploring dagster cloud and trying to connect a local code location (on my laptop) to the cloud. When running
serverless deploy
I get the following error at the last step in the build process:
Error response from daemon: login attempt to https://657821118200.dkr.ecr.us-west-2.amazonaws.com/v2/ failed with status: 400 Bad Request
๐Ÿค– 1
j
Have you signed up for dagster cloud yet? Whatโ€™s your organizationโ€™s name?
ah, i found you. Your organization isnโ€™t signed up for serverless. If you sign into dagster cloud and go through your onboarding checklist through the point of launching a serverless agent, I suspect this will begin working for you.
a
Great thanks.
Could you please point me to the checklist? I tried out dagster locally and would like to deploy the local/bitbucket git repo to dagster cloud. For that I was using
dagster-cloud
CLI like
dagster-cloud serverless deploy
.
j
Youโ€™ll need to log into Dagster Cloud - it should walk you through the rest. Youโ€™ll be unable to deploy anything via
dagster-cloud serverless deploy
until youโ€™ve opted into setting up a serverless agent.
a
Is there something else that I am missing? I have added the dagster-cloud dependency to setup.py. and then used these commands: dagster-cloud config setup dagster-cloud serverless deploy-docker --location-name "icrm_example" --package-name "icrm"
j
That should be it (assuming you entered your token when going through
dagster-cloud config setup
Can you post the stacktrace youโ€™re seeing if things still arenโ€™t working?
a
I authenticated using the browser, and after that every time I run config setup, it has the token in the cli
it starts here
Copy code
=> => writing image sha256:5a7429d0b932a3cd089326abf30de6ff3ecdd93fb747a8bcad3cbd5c4ae4972f                                                                                          0.0s 
 => => naming to <http://657821118200.dkr.ecr.us-west-2.amazonaws.com/serverless-agent-32373c1d-287f-3fea-98c2-e25014d32f13:prod-icrm_example-7bbbdc7aca004b57abea64276dfe749c|657821118200.dkr.ecr.us-west-2.amazonaws.com/serverless-agent-32373c1d-287f-3fea-98c2-e25014d32f13:prod-icrm_example-7bbbdc7aca004b57abea64276dfe749c>                0.0s 

Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
Error response from daemon: login attempt to <https://657821118200.dkr.ecr.us-west-2.amazonaws.com/v2/> failed with status: 400 Bad Request
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ Traceback (most recent call last) โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ C:\ProgramData\Anaconda3\envs\gcp\lib\site-packages\dagster_cloud_cli\config_utils.py:319 in     โ”‚
โ”‚ wrap_function                                                                                    โ”‚
โ”‚                                                                                                  โ”‚
โ”‚   316 โ”‚   โ”‚   โ”‚   โ”‚   )                                                                          โ”‚
โ”‚   317 โ”‚   โ”‚   โ”‚                                                                                  โ”‚
โ”‚   318 โ”‚   โ”‚   โ”‚   new_kwargs = dict(kwargs)                                                      โ”‚
โ”‚ โฑ 319 โ”‚   โ”‚   โ”‚   with_options(*args, **new_kwargs)                                              โ”‚
โ”‚   320 โ”‚   โ”‚                                                                                      โ”‚
โ”‚   321 โ”‚   โ”‚   return wrap_function                                                               โ”‚
โ”‚   322                                                                                            โ”‚
โ”‚                                                                                                  โ”‚
traceback is very long, do you need something specific?
and the end part:
C:\ProgramData\Anaconda3\envs\gcp\lib\subprocess.py:516 in run                                   โ”‚
โ”‚ โ”‚ โ”‚ 513 โ”‚ โ”‚ โ”‚ raise โ”‚ โ”‚ 514 โ”‚ โ”‚ retcode = process.poll() โ”‚ โ”‚ 515 โ”‚ โ”‚ if check and retcode: โ”‚ โ”‚ โฑ 516 โ”‚ โ”‚ โ”‚ raise CalledProcessError(retcode, process.args, โ”‚ โ”‚ 517 โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ output=stdout, stderr=stderr) โ”‚ โ”‚ 518 โ”‚ return CompletedProcess(process.args, retcode, stdout, stderr) โ”‚ โ”‚ 519 โ”‚ โ”‚ โ”‚ โ”‚ โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ locals โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ โ”‚ โ”‚ โ”‚ capture_output = False โ”‚ โ”‚ โ”‚ โ”‚ check = True โ”‚ โ”‚ โ”‚ โ”‚ input = None โ”‚ โ”‚ โ”‚ โ”‚ kwargs = {'stdout': -1, 'shell': True} โ”‚ โ”‚ โ”‚ โ”‚ popenargs = ( โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ 'echo โ”‚ โ”‚ โ”‚ โ”‚ eyJwYXlsb2FkIjoiZDYzZzdOa0JKdWJGSFdKaGRUbDcwbEg1bGExSnpLRXNwN1JtWWJ2SEw3K3โ€ฆ โ”‚ โ”‚ โ”‚ โ”‚ ) โ”‚ โ”‚ โ”‚ โ”‚ process = <subprocess.Popen object at 0x000001AFB8E32A90> โ”‚ โ”‚ โ”‚ โ”‚ retcode = 1 โ”‚ โ”‚ โ”‚ โ”‚ stderr = None โ”‚ โ”‚ โ”‚ โ”‚ stdout = b'' โ”‚ โ”‚ โ”‚ โ”‚ timeout = None โ”‚ โ”‚ โ”‚ โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ โ”‚ โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ CalledProcessError: Command 'echo eyJwYXlsb2FkIjoiZDYzZzdOa0JKdWJGSFdKaGRUbDcwbEg1bGExSnpLRXNwN1JtWWJ2SEw3K3JibkFjek1ocmFLQ2FjdytQSmNjeG4yTGtQYUprakFiV0ZwcWg4VlN2STlOQ20vVmFaSm5lemljMDFwd0dHSGNKVHJ5c2dlQ294Q nFra3ByQ3lZYmsvUE5TcWo4MFA1TWZCN21PaFVMWEpxQ3JPc1pvT0x3YmRNb05BS1k5bjhTeUQwNGxLWHNRNzI5RVMzUXpRVTU5OHBsbWZUSk1QV05vVzQvY1EvMnBNdkdGY3lncEhGYXFsUHNUVnZlNUljU1pTQ3RBb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oOTdBRlM1cmFkek80S2xiV1NqaWg5Mm9GV1htQytLVFZzbEdZN2dTRzN2QUxPUlQrc3NWaHlMN2pjS2MwUGpTM0o3ZGRXcUhSVU5MbVBaMFFzK25pVjlqWlJYOXREQlZZVU9SNGIwb0wzdVpUaFhad05GeGZRb2hLW ks5eG5hRHlURTZNbHc0L01OdzY1OUFuUjFUWjE0ZVREVXl2YXNZVWdmdTBLdDlrbk1aeFRSRFEzdm9Wdnc4bHhIOVNpaEc5cktPQXo2Ylh1d1RkTWw0aFdiYVJRNmhCZWZzRU9mWEoxaXdDeHJJbm1zVENnT0FwSlIrdEhMTnAxTU UyK3lFdFpvekh0SlBxR1kyZFgyekNPK1NoZGVCbm9wSnVTZVhtNjZudzMvMVZ0ZUNGT09Pa21TNW9kK3FIelJQdmlPMkZPU214bFBRPT0iLCJkYXRha2V5IjoiQVFFQkFIajZsYzRYSUp3LzdsbjBIYzAwRE1lazZHRXhIQ2JZNFJ JcFRNQ0k1OEluVXdBQUFINHdmQVlKS29aSWh2Y05BUWNHb0c4d2JRSUJBREJvQmdrcWhraUc5dzBCQndFd0hnWUpZSVpJQVdVREJBRXVNQkVFRExtWFVmRDFlaTBGaWtxZnFnSUJFSUE3Z3lZa1kyOWNtZFdmY09lUnU4OWx4K2Nw NCtXelBFcGxWWGp1UXlxeGdQMWkxby8zWXMzVmZJQTZpVTlMY29kNTlTVHJpQnRMNE5LVFlBND0iLCJ2ZXJzaW9uIjoiMiIsInR5cGUiOiJEQVRBX0tFWSIsImV4cGlyYXRpb24iOjE2NzMzMzg1Nzl9 | docker login --username AWS --password-stdin 657821118200.dkr.ecr.us-west-2.amazonaws.com/serverless-agent-32373c1d-287f-3fea-98c2-e25014d32f13' returned non-zero exit status 1.
d
@Akshay Verma you may want to DM us that as that password could be sensitive
(I deleted out of an abundance of caution)
a
ahh yes
DM to whom?
j
you can DM both Daniel and me
One of us will manage to get you sorted out - and if itโ€™s a generalizable answer weโ€™ll post back here with an answer for other folks.
โค๏ธ 1