#10810 Koji STG user, channel and tag creation
Closed: Fixed 2 years ago by kevin. Opened 2 years ago by lrossett.

Describe what you would like us to do:


I am working on a component that will schedule builders VMs based on task demand in a cloud vendor (aws for now) and I reached a point where I need to this component in a "real world scenario"[1].

That being said, I need some data to be created in Fedora's Koji STG instance:

  • A couple of builder users, 3 is more than enough;
  • A channel + a set of tags to target builds, builds in those tags/channel shouldn't be picked up by other builders (the new builder users should be subscribed to this channel as well);

When do you need this to be done by? (YYYY/MM/DD)


2022/07/11 if possible :-)

[1] - https://pagure.io/kojid-cloud-scheduler


Metadata Update from @zlopez:
- Issue priority set to: Waiting on Assignee (was: Needs Review)
- Issue tagged with: low-gain, medium-trouble, ops

2 years ago

OK I will need a name for the hosts (users) and a name for the channel. After that we can configure in the hub configs in roles/koji_hub/templates/hub.conf.j2 and update the stg koji. Then we can work through any firewall issues.

So what's left now is to create keytabs for each of those builders:

ID Hostname
583 buildaws-x86_64-kcs-02
584 buildaws-x86_64-kcs-03
585 buildaws-x86_64-kcs-04
586 buildaws-x86_64-kcs-05
587 buildaws-x86_64-kcs-06
588 buildaws-x86_64-kcs-07
589 buildaws-x86_64-kcs-08
590 buildaws-x86_64-kcs-09
591 buildaws-x86_64-kcs-10

Could you please send them to me in an email (tar compressed file) encrypted with my gpp pub. key?

I'm not sure it will let me do non FQDN names for hosts, but lets see .

Nope:
ipa: ERROR: invalid 'hostname': invalid domain-name: not fully qualified

Adding stg.fedoraproject.org to it still fails because you can't have a _ in a hostname:
ipa: ERROR: invalid 'hostname': invalid domain-name: only letters, numbers, '-' are allowed. DNS labe
l may not start or end with '-'

Removing the _ it finally works.

Is buildaws-x8664-kcs-02.stg.fedoraproject.org ok?

Metadata Update from @mizdebsk:
- Issue tagged with: koji, staging

2 years ago

Oh sheesh, this totally dropped off my radar.

Do you still need these?

yes please. I believe Leo has been on hold to finishing the project

ok, very sorry for this dropping off the radar.

The keytabs are in your homedir on batcave01 in a directory called 'keytabs'.

:)

Let me know if you run into any problems with them.

Metadata Update from @kevin:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata
Boards 1
ops Status: Backlog