Project

General

Profile

Feature #14345

Provisioning: Followup with glideinwms on adding extra metadata keys

Added by Steven Timm over 3 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Start date:
11/20/2016
Due date:
12/31/2016
% Done:

0%

Estimated time:
Duration: 42

Description

Burt made the following hack to get an extra metadata flag into the google instance

burt
1:14 PM I had to modify the factory code to insert the shutdown script. I changed the ⁠⁠⁠⁠populate_gce_grid⁠⁠⁠⁠ in ⁠⁠⁠⁠cgWCreate.py⁠⁠⁠⁠ to:

def populate_gce_grid(self, submit_attrs):
self.add("gce_image", "$ENV")
self.add("gce_machine_type", "$ENV") # self.add("+gce_project_name", "$ENV") # self.add("+gce_availability_zone", "$ENV")
self.add("gce_auth_file", "$ENV")
self.add("gce_metadata", "glideinwms_metadata=$ENV#### -cluster $(Cluster) -subcluster $(Process)####"
","
"shutdown-script=/usr/bin/killall -QUIT condor_master; sleep 5")
self.add("gce_metadata_file", "$ENV")
self.populate_submit_attrs(submit_attrs)

and ran ⁠⁠⁠⁠/sbin/service gwms-factory upgrade⁠⁠⁠⁠. We'll put this in Parag's queue for gWMS for a non-hack solution once we're clear of the demo.


Question--is this really a glideinWMS thing or should it also be a HTCondor thing?
In any case not critical for the demo.

History

#1 Updated by Steven Timm over 3 years ago

  • Subject changed from Followup with glideinwms on adding extra metadata keys to Provisioning: Followup with glideinwms on adding extra metadata keys

#2 Updated by Krista Larson over 3 years ago

I've applied this to fermifactory01 for the google demo

#3 Updated by Steven Timm about 2 years ago

  • Project changed from Google Cloud Testing to AdministrationOfCloudServices

#4 Updated by Steven Timm about 2 years ago

  • Assignee changed from Burt Holzman to Steven Timm

#5 Updated by Steven Timm about 2 years ago

  • Status changed from New to Closed

will track this in gitlabs



Also available in: Atom PDF