Skip to content
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

Login Nodes Feature does not set Tags: #5790

Closed
michaelmayer2 opened this issue Oct 26, 2023 · 3 comments
Closed

Login Nodes Feature does not set Tags: #5790

michaelmayer2 opened this issue Oct 26, 2023 · 3 comments
Labels

Comments

@michaelmayer2
Copy link

When using Tags: and LoginNodes in the same cluster environment, the login node creation and as a consequence the whole cluster will fail s the launch template for the Login Nodes reports "Permission denied".

This happens on an AWS account where the presence of tags is enforced.

Tested with AWS ParallelCluster 3.7.2

Workaround: Disable automatic rollback and manually edit Launch template for Login Node creation in order to add the requested Tags there, then retry the creation of the full stack. This time it will succeed.

Sample template file below.

Region: eu-west-1
Image:
  Os: alinux2
HeadNode:
  InstanceType: t2.micro
  Networking:
    SubnetId: subnet-xyz
  Ssh:
    KeyName: michael
Scheduling:
  Scheduler: slurm
  SlurmQueues:
  - Name: queue1
    ComputeResources:
    - Name: t2micro
      Instances:
      - InstanceType: t2.micro
      MinCount: 0
      MaxCount: 10
    Networking:
      SubnetIds:
      - subnet-xyz

LoginNodes:
  Pools:
    - Name: login
      Count: 1 
      InstanceType: t2.xlarge
      Networking:
        SubnetIds: 
          - subnet-xyz

Tags:
  - Key: rs:environment
    Value: development
  - Key: rs:project
    Value: solutions
@davprat
Copy link
Contributor

davprat commented Nov 1, 2023

Thank you for reporting this! I've created task to track this internally.

@michaelmayer2
Copy link
Author

@davprat I think this issue has been fixed in ParallelCluster 3.8.0 - at least I now can see the launch templates for the login nodes using the proper Tags. It would be great if you could verify from your end.

@enrico-usai
Copy link
Contributor

enrico-usai commented Jan 15, 2024

HI @michaelmayer2 this has been fixed by this: #5854 that is part of 3.8.0. We missed to add it in the changelog.

@judysng judysng closed this as completed Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants