copr-be's storage
by Miroslav Suchý
FYI
I just resized copr-be storage for DNF repos from 4TB to 6TB.
It was as easy as:
umount /var/lib/copr/public_html
systemctl stop var-lib-copr-public_html.mount
copr-backend-service stop
systemctls stop lighttpd.service
in openstack dashboard, detach the volume, click "enlarge volume", set it to 6000GB.
attach it back.
Again:
umount /var/lib/copr/public_html
systemctl stop var-lib-copr-public_html.mount
parted
(parted) print free
Number Start End Size File system Name Flags
17.4kB 1049kB 1031kB Free Space
1 1049kB 4398GB 4398GB ext4
4398GB 6442GB 2044GB Free Space
(parted) resizepart
Partition number? 1
End? [4398GB]? 6442GB
resize2fs /dev/vdc1
systemctl start var-lib-copr-public_html.mount
systemctls start lighttpd.service
copr-backend-service start
# df -H /var/lib/copr/public_html
Filesystem Size Used Avail Use% Mounted on
/dev/vdc1 6.4T 4.2T 2.3T 65% /var/lib/copr/public_html
Mirek
4 years, 11 months
Re: copr - command is not available in chroot
by Pavel Raiskup
On Tuesday, May 29, 2018 12:58:21 PM CEST zdm(a)softvisio.net wrote:
> yes, here is the log
> https://copr-be.cloud.fedoraproject.org/results/zdm/release/srpm-builds/0...
>
> rpmbuild starts build rpm from spec file and can't execute git.
> This is definitely lack of git in chroot.
>
> Is there is a possibility to add git to chroot?
The 'make srpm' call is executed with UID=0; so installing of any package
should be possible via an explicit 'dnf -y install <PKG>' command (from
the Makefile's 'srpm' target). It's also possible to use Custom script method
instead where you can request the list of needed packages (to generate sources)
and do non-root scripting.
Pavel
> On 28.05.2018 18:04, Pavel Raiskup wrote:
> > On Saturday, May 26, 2018 1:12:17 AM CEST Dmytro Zagashev wrote:
> >> hi,
> >>
> >> I have the following command at the top of spec file:
> >>
> >> %define version %(git ls-remote --tags --refs https://gitlab.com/libidn/libidn2.git | tail -n 1 | awk -F'-' '{print $2}')
> >>
> >> When I build rpm in copr, using make-srpm, I get error:
> >>
> >> sh: git: command not found
> >>
> >> How I can add required commands to the chroot?
> >
> > Do you have the logs? Usually such error output is seen when the SRPM is
> > generated, not RPM. And very often that's just warning and the error is
> > somewhere else, see
> > https://github.com/rpm-software-management/rpm/issues/424
> >
> > Pavel
> >
> >> _______________________________________________
> >> copr-devel mailing list -- copr-devel(a)lists.fedorahosted.org
> >> To unsubscribe send an email to copr-devel-leave(a)lists.fedorahosted.org
> >> Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
> >> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> >> List Archives: https://lists.fedoraproject.org/archives/list/copr-devel@lists.fedorahost...
> >>
> >
> >
> >
> >
>
5 years, 4 months
Backporting from rawhide: setting %fedora to 29
by Miro Hrončok
Hi,
I do backport stuff from rawhide in my coprs a lot. The relatively newly
announced fedmsg+rpkg thing is making my life easier than ever. So first
of all, kudos!
Now to my problem: some packages update rawhide only and the fedpkg+rpkg
integration works like a charm. Other packages however keep all the
branches synced and they use the %{fedora} variable to determine
different behavior. I'd like to tell copr: Set fedora to 29 even if
building for older Fedoras. Can I do that?
Thanks.
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
5 years, 4 months
COPR outage
by Michal Novotny
Hello,
there were some filesystem errors reported on both copr-dist-git and
copr-backend machines. Right now, both machines are stopped and fsck is
running on them. The service will be unavailable for some time.
Copr team
5 years, 4 months
copr-backend out of service
by Michal Novotny
Hello,
copr-backend was out service temporarily due to incomatible
python2-novaclient package that got installed last night. We have
downgraded the package back to version 3.3.1 installed from Koji, which is
compatible with the current cloud.
COPR team
5 years, 4 months
copr-frontend downtime
by Michal Novotny
Hello,
there was an unexpected copr-frontend downtime aproximatelly from 7:30pm
UTC to 8pm UTC due to instance resizing to handle higher load.
With hopes for a smoother experience
COPR team
5 years, 4 months
rpkg 2.2 deployed
by Michal Novotny
Hello,
rpkg 2.2 will now slowly start appearing on Copr builders after their
recyclation.
If you are using {{{ git_pack }}} macro in your spec file, note that this
version contains an important bugfix for symlinks present in your project.
The previous rpkg version would basically invalidate the (sym)linked paths
but this is now fixed and symlinks can happily live in your repo.
Note rpkg(-util) is a generic Git+rpm utility that can be used for projects
hosted on Github as well as for projects hosted on src.fedoraproject.org.
It's in no way related only to Fedora Copr even though it has been deployed
there first.
Enjoy! :)
COPR team
5 years, 4 months