#12956 netapp storage for distgit stg/prod
Closed: Fixed with Explanation by kevin. Opened by dkirwan.

NOTE

If your issue is for security or deals with sensitive info please
mark it as private using the checkbox below.

Please check https://www.fedorastatus.org for known outages
before filing a ticket about an outage.

Describe what you would like us to do:

Hi, I need access to about 30gb netapp backed storage for Forgejo distgit staging on the staging openshift and about 100gb for prod forgejo distgit on the prod openshift clusters.

Can I please get the following paths and permissions set:

/fedora_distgit
/fedora_staging_distgit

I should be able to get the PV created once the paths available.

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



Metadata Update from @dkirwan:
- Issue tagged with: OpenShift, low-gain, low-trouble, request-for-resources

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

Seems fine, although Kevin did have a question about what the space would be used for ... because if this is where git repos storage will be, you'll need more than 100GB.

Ahh yes it will be!

how much space should we need, and is it possible to provide it?

Well, pkgs01 has our git repos now.

Filesystem                        Size  Used Avail Use% Mounted on
/dev/mapper/GuestVolGroup00-root  681G  230G  452G  34% /

So, looks like we are currently using about 230GB for all the git repos (forks, rpms, flatpaks, etc).

note that this is NOT the lookaside cache, thats a seperate nfs volume.

So, I dunno... 300G ? more? and yes, we can do that and also can grow it if need be.
We could also just make small ones now to test with and grow later when we start migrating data.

Thoughts?

If we can grow it later once we figure out exactly whats needed, then lets just go with smaller values initially. if we can get maybe 30gb for stg and 100gb for prod initially, will be enough to start testing

Sounds reasonable.

@james or @gwmngilfen would you like to take this on? Happy to walk through the process with you...

I'm happy to learn about this, sure. But I guess it will be in the new year now?

Metadata Update from @kevin:
- Issue assigned to kevin

Yeah, but in the interests of unblocking things...

Basic process:

  • login to netapp
  • aggr show (this will show you how much space is on each aggregate)
  • export policy list (this will show you the existing export policies)
  • run:

volume create -vserver ntap-rdu3-c02-fedora01 -volume fedora_staging_distgit -state online -policy openshift_stg -unix-permissions ---rwxrwxrwx -type RW -snapdir-access false -snapshot-policy none -foreground true -junction-path /fedora-staging-distgit -size 30G -aggregate aggr01_ssd30T_01b

and

volume create -vserver ntap-rdu3-c02-fedora01 -volume fedora_distgit -state online -policy openshift_prod -unix-permissions ---rwxrwxrwx -type RW -snapdir-access false -snapshot-policy none -foreground true -junction-path /fedora-distgit -size 100G -aggregate aggr01_ssd30T_01b

And they should be there and have the stg/prod export policy to allow openshift clusters to mount them.

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

Metadata