#535 Check image build rights for user sbonazzo
Closed: Fixed 2 years ago by arrfab. Opened 2 years ago by sbonazzo.

As discussed with @arrfab on IRC please check my rights for building images on CBS.

If it helps:

$ cbs list-permissions --mine
build
livecd
appliance
image
build-virt
build-opstools
livemedia

Well, the fact that it mentions image is enough for you to kick cbs build-image <parameters> task.

I just tested a --scratch build and it worked : https://cbs.centos.org/koji/taskinfo?taskID=2608789

FYI, here is the command I launched :

cbs image-build --scratch --wait --skip-tag --factory-parameter generate_icicle 'False'  --repo=http://mirror.centos.org/centos/8/BaseOS/x86_64/os/ --repo=http://mirror.centos.org/centos/8/AppStream/x86_64/os/ --distro Fedora-20 --release=8 --kickstart=CentOS-8-GenericCloud.ks  centos8 test infra8-infra-common-el8  http://mirror.centos.org/centos/8/BaseOS/x86_64/os/ x86_64
[====================================] 100% 00:00:00   4.71 KiB  33.30 KiB/sec
Created task: 2608788
Task info: https://cbs.centos.org/koji/taskinfo?taskID=2608788
Watching tasks (this may be safely interrupted)...
2608788 image (infra8-infra-common-el8, centos8-test, CentOS-8-GenericCloud.ks): free
2608788 image (infra8-infra-common-el8, centos8-test, CentOS-8-GenericCloud.ks): free -> open (x86-5.cbs.centos.org)
  2608789 createImage (infra8-infra-common-el8, centos8-test-8, CentOS-8-GenericCloud.ks, x86_64): open (x86-5.cbs.centos.org)
  2608789 createImage (infra8-infra-common-el8, centos8-test-8, CentOS-8-GenericCloud.ks, x86_64): open (x86-5.cbs.centos.org) -> closed
  0 free  1 open  1 done  0 failed
2608788 image (infra8-infra-common-el8, centos8-test, CentOS-8-GenericCloud.ks): open (x86-5.cbs.centos.org) -> closed
  0 free  0 open  2 done  0 failed

2608788 image (infra8-infra-common-el8, centos8-test, CentOS-8-GenericCloud.ks) completed successfully

I'd like you first to try a --scratch build to ensure that it's not tagged. I realize that if something is tagged to -testing or -release the signing process would try to eventually download/rpmsign it and put in repo, which wouldn't work, so test first a --scratch and then we can work out the needed mechanics to be able to push to testing/release later

Metadata Update from @arrfab:
- Issue assigned to arrfab

2 years ago

Metadata Update from @arrfab:
- Issue priority set to: Waiting on Reporter (was: Needs Review)
- Issue tagged with: cbs, centos-common-infra, low-trouble, medium-gain

2 years ago

I see that you kicked some builds on cbs.centos.org already, so you have all needed rights.
I can let this ticket open if you have question around the mechanics for imagefactory/oz though (even if ticket is about build rights ;-) )

I'm refining the build command here: https://gerrit.ovirt.org/c/ovirt-appliance/+/117801 I hope it won't discover any big limitation of the system :-)
The upstream build process has open network and additional surrounding scripting so I'll have to adjust as I find something broken on the trip.

doing some review here but you have rights and can kick a build so closing this ticket

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

2 years ago

Login to comment on this ticket.

Metadata
Boards 2
CBS Status: Backlog