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

Tweaks #39

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Tweaks #39

wants to merge 4 commits into from

Conversation

Chris-green-stfc
Copy link
Contributor

Fixed optional deployment of manila share.
Metadata injection done through terraform, rather than querying openstack.

Manila shares now only get deployed when set to in variables.tf
VM metadata is now passed from terraform, rather than querying openstack
fixed manila attach issue, due to not allowing fedid access rule
depends_on = [openstack_compute_instance_v2.Instance, openstack_sharedfilesystem_share_v2.share, openstack_sharedfilesystem_share_access_v2.share_access, openstack_blockstorage_volume_v3.volumes, openstack_compute_volume_attach_v2.vol_attach]
count = length(openstack_compute_instance_v2.Instance)
depends_on = [openstack_compute_instance_v2.Instance, openstack_blockstorage_volume_v3.volumes, openstack_compute_volume_attach_v2.vol_attach]
count = length(openstack_compute_instance_v2.Instance) * (var.deploy_manila == 0 ? 1 : 0)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does this line do?

curl -v -H 'Content-Type: application/json' -d 'hepscore,flavour='$FLAVOR',image='$IMAGE',num_cores='$NUM_CORES',cpu_name='$CPU_NAME',UUID='$server_UUID' score='$SCORE',run_time='$RUN_TIME'' -X POST 'http://{{ db_ip }}:{{ db_port }}/write'
DB="https://{{ db_ip }}:{{ db_port }}/write"

curl -H "Authorization: Basic `echo -n "{{ db_username }}:{{ db_password }}" | base64`" -d 'hepscore,flavour='$FLAVOR',image='$IMAGE' score='$SCORE',run_time='$RUN_TIME'' -X POST $DB --insecure

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is --insecure being used here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants