#358 F35 not published to fedora-cloud on GCE
Closed: fixed 3 years ago by davdunc. Opened 3 years ago by ericedens.

Looks like Fedora 35 was released in November, but the fedora-cloud project doesn't have an image for it! Here's what I'm seeing now:

$ gcloud compute images list --project fedora-cloud --no-standard-images

NAME                                 PROJECT       FAMILY           DEPRECATED  STATUS
fedora-cloud-base-gcp-33-1-2-x86-64  fedora-cloud  fedora-cloud-33              READY
fedora-cloud-base-gcp-34-1-2-x86-64  fedora-cloud  fedora-cloud-34              READY

We will work this out and update ASAP.

Metadata Update from @davdunc:
- Issue assigned to davdunc

3 years ago

Metadata Update from @davdunc:
- Issue tagged with: GCP, meeting

3 years ago

@dustymabe we will need your assistance for publication.

Skipped the bucket creation parts of https://pagure.io/cloud-sig/issue/318 but here is the rest:

./license.sh create fedora-cloud "fedora-35-cloud-base" "Fedora 35 Cloud Base"
Creating license ID for fedora-35-cloud-base with description Fedora 35 Cloud Base
{
  "id": "4409084107820104831",
  "name": "operation-1640120975989-5d3ae6c299b36-6f5fa79c-b2b7e289",
  "operationType": "compute.licenses.insert",
  "targetLink": "https://www.googleapis.com/compute/v1/projects/fedora-cloud/global/licenses/fedora-35-cloud-base",
  "targetId": "3861096437478587519",
  "status": "DONE",
  "user": "dustymabe@fedora-cloud.iam.gserviceaccount.com",
  "progress": 100,
  "insertTime": "2021-12-21T13:09:36.302-08:00",
  "startTime": "2021-12-21T13:09:36.302-08:00",
  "endTime": "2021-12-21T13:09:36.302-08:00",
  "selfLink": "https://www.googleapis.com/compute/v1/projects/fedora-cloud/global/operations/operation-1640120975989-5d3ae6c299b36-6f5fa79c-b2b7e289",
  "kind": "compute#operation"
}

FILE=Fedora-Cloud-Base-GCP-35-1.2.x86_64.tar.gz
IMAGE=${FILE,,}        # convert to lower case
IMAGE=${IMAGE:0:-7}     # pull off .tar.gz
IMAGE=${IMAGE//[._]/-} # replace . and _ with -
gsutil cp $FILE gs://fedora-cloud-image-uploads
gcloud compute images create $IMAGE \
        --project fedora-cloud      \
        --family fedora-cloud-35    \
        --source-uri gs://fedora-cloud-image-uploads/$FILE         \
        --guest-os-features=UEFI_COMPATIBLE,VIRTIO_SCSI_MULTIQUEUE \
        --description="Fedora, Fedora Cloud Base 35, 35-20211026.0, x86_64 published on 2021-11-02" \
        --licenses=https://compute.googleapis.com/compute/v1/projects/vm-options/global/licenses/enable-vmx,https://www.googleapis.com/compute/v1/projects/fedora-cloud/global/licenses/fedora-35-cloud-base

I can view with:

gcloud compute images list --project fedora-cloud --no-standard-images 
NAME                                 PROJECT       FAMILY           DEPRECATED  STATUS
fedora-cloud-base-gcp-33-1-2-x86-64  fedora-cloud  fedora-cloud-33              READY
fedora-cloud-base-gcp-34-1-2-x86-64  fedora-cloud  fedora-cloud-34              READY
fedora-cloud-base-gcp-35-1-2-x86-64  fedora-cloud  fedora-cloud-35              READY

Thanks! I see it now! Is it possible to automate this publishing?

It's definitely possible to automate @ericedens and we expect to replace the fedimg that's doing the deployments now.

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

3 years ago

Metadata Update from @davdunc:
- Issue untagged with: meeting

3 years ago

Log in to comment on this ticket.

Metadata