Closed cathywu closed 7 years ago
Resolved the symlink issue by deleting a weird nested symlink
rm ~/.mujoco/.mujoco
Repeating step 5, now that the symlink issue is resolved (though it seems unrelated):
(rllabcathywu) cathywu:~/Dropbox/PhD/DeepRL-Traffic/rllabcathywu$ python3 scripts/setup_ec2_for_rllab.py
Creating S3 bucket at s3://cathywu
S3 bucket created
There is an existing role named rllab. Proceed to delete everything rllab-related and recreate? [y/N] y
Listing instance profiles...
Removing role rllab from instance profile rllab
Deleting instance profile rllab
Deleting inline policy CreateTags
Deleting inline policy TerminateInstances
Detaching policy arn:aws:iam::aws:policy/AmazonS3FullAccess
Detaching policy arn:aws:iam::aws:policy/ResourceGroupsandTagEditorFullAccess
Deleting role
Creating role rllab
Attaching policies
Creating inline policies
Creating instance profile rllab
Adding role rllab to instance profile rllab
Setting up region us-east-1
Creating security group in VPC vpc-e9c1c58f
Security group created with id sg-93c688ec
Trying to create key pair with name rllab-us-east-1
Key pair with name rllab-us-east-1 exists. Proceed to delete and recreate? [y/N] y
Deleting existing key pair with name rllab-us-east-1
Recreating key pair with name rllab-us-east-1
Saving keypair file
Identity added: /Users/cathywu/Dropbox/PhD/DeepRL-Traffic/rllabcathywu/private/key_pairs/rllab-us-east-1.pem (/Users/cathywu/Dropbox/PhD/DeepRL-Traffic/rllabcathywu/private/key_pairs/rllab-us-east-1.pem)
Setting up region us-west-1
Creating security group in VPC vpc-94ff49f0
Security group created with id sg-826a10e5
Trying to create key pair with name rllab-us-west-1
Key pair with name rllab-us-west-1 exists. Proceed to delete and recreate? [y/N] y
Deleting existing key pair with name rllab-us-west-1
Recreating key pair with name rllab-us-west-1
Saving keypair file
Identity added: /Users/cathywu/Dropbox/PhD/DeepRL-Traffic/rllabcathywu/private/key_pairs/rllab-us-west-1.pem (/Users/cathywu/Dropbox/PhD/DeepRL-Traffic/rllabcathywu/private/key_pairs/rllab-us-west-1.pem)
Setting up region us-west-2
Creating security group in VPC vpc-df5174b8
Security group created with id sg-1fac7164
Trying to create key pair with name rllab-us-west-2
Key pair with name rllab-us-west-2 exists. Proceed to delete and recreate? [y/N] y
Deleting existing key pair with name rllab-us-west-2
Recreating key pair with name rllab-us-west-2
Saving keypair file
Identity added: /Users/cathywu/Dropbox/PhD/DeepRL-Traffic/rllabcathywu/private/key_pairs/rllab-us-west-2.pem (/Users/cathywu/Dropbox/PhD/DeepRL-Traffic/rllabcathywu/private/key_pairs/rllab-us-west-2.pem)
Writing config file...
rllab/config_personal.py exists. Override? [y/N]
Same error (running python3 examples/cluster_demo.py > error.txt 2>&1
).
Error log: error.txt
Resolved by rerunning (thanks @dementrock)
python3 scripts/setup_ec2_for_rllab.py
and overwriting rllab/config_personal.py
with an automatically generated one.
Issue for tracking rllab + EC2 setup.
Testing the following:
Issue: many nested .mujoco directories (EDIT: RESOLVED) Reason: My mujoco setup is symlinked:
Issue: Value () for parameter groupId is invalid. The value cannot be empty