Hi,
When ldap_mode is off (using regular DB for login),
I can click "Download logfile" link to see full raw logfile
with URL changes
from
"/package/live_build_log/<project>/<pakcage>/<repository>/<arch>"
to
"/build/<project>/<repository>/<arch>/<package>/_log".
However,
when ldap_mode is on,
I'm not able to see URL changes nor see full raw logfile.
>From API production.log,
it seems ApplicationController is not able to get "USER" (always returns empty string).
I can see error:
```
ApplicationController::AuthenticationRequiredError User '' did not provide a password /srv/www/obs/api/app/controllers/application_controller.rb:242:in `extract_user'
```
Complete production.log snippet can be retrieved from:
https://github.com/openSUSE/open-build-service/issues/708
I just wondering if anyone has some ideas on how to approach to fix this problem.
Thanks,
Rick
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-buildservice+owner(a)opensuse.org
See my other mail, you have to copy the certs in /srv/obs/certs folder to your system pki directory.
Sent from my iPhone
> On 5 Jun, 2014, at 2:54 am, "Andrew Melo" <andrew.melo(a)gmail.com> wrote:
>
> On Wed, Jun 4, 2014 at 1:14 PM, Smith, Kenneth
> <ksmith15(a)jaguarlandrover.com> wrote:
>> Hello,
>>
>> My OBS webui installation has become inoperable. I was logged in and
>> browsing when I clicked a link on the ui and got "Application error
>> 500". I restarted the obs services, no change. I rebooted the server.
>> No change. I get the same error from another user's machine.
>>
>> webui production.log shows this:
>>
>> [INFO |# 2980] Started GET "/" for 192.168.1.60 at 2014-06-04 17:45:11 +0000
>> [INFO |# 2980] Processing by MainController#index as HTML
>> [INFO |# 2980] Anonymous request to /
>> [INFO |# 2980] Completed 500 Internal Server Error in 6ms
>>
>> [FATAL|# 2980] OpenSSL::SSL::SSLError (SSL_connect SYSCALL returned=5
>> errno=0 state=SSLv3 read server certificate B: certificate verify
>> failed):
>> lib/activexml/transport.rb:350:in `http_do'
>> lib/activexml/transport.rb:227:in `direct_http'
>> app/controllers/application_controller.rb:361:in `block in
>> require_configuration'
>> app/controllers/application_controller.rb:359:in `require_configuration'
>>
>> I'm not sure why I'm suddenly getting ssl errors, when I wasn't
>> before. I'm not sure where to start in fixing this.
>
>
> I'm not sure if it's related, but:
>
> I just moved my OBS instance to one hypervisor to another and instead
> of moving the whole disk image,I started from a scratch hypervisor
> image from the OBS website and then rsynced over the /srv tree from
> the old machine. When I try to log in, I get:
>
> OpenSSL::SSL::SSLError (SSL_connect returned=1 errno=0 state=SSLv2/v3
> read server hello A: unknown protocol):
> /usr/lib64/ruby/2.0.0/net/http.rb:918:in `connect'
> /usr/lib64/ruby/2.0.0/net/http.rb:918:in `block in connect'
> /usr/lib64/ruby/2.0.0/timeout.rb:52:in `timeout'
> <snip>
> rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
> hoptoad_notifier (2.4.11) lib/hoptoad_notifier/user_informer.rb:12:in `call'
> railties (4.0.3) lib/rails/engine.rb:511:in `call'
> railties (4.0.3) lib/rails/application.rb:97:in `call'
> railties (4.0.3) lib/rails/railtie/configurable.rb:30:in `method_missing'
> passenger (4.0.33)
> lib/phusion_passenger/rack/thread_handler_extension.rb:77:in
> `process_request'
> passenger (4.0.33)
> lib/phusion_passenger/request_handler/thread_handler.rb:141:in
> `accept_and_process_next_request'
> passenger (4.0.33)
> lib/phusion_passenger/request_handler/thread_handler.rb:109:in
> `main_loop'
> passenger (4.0.33) lib/phusion_passenger/request_handler.rb:440:in
> `block (3 levels) in start_threads'
>
> Not sure if that's related somehow. I'm going to replace the /srv with
> the backup to see if that was the cause.
>
> Cheers,
> Andrew
>
>
>>
>> --
>> Kind Regards
>>
>> Kenneth F. Smith
>>
>> -------------------
>> Infotainment Engineer
>> MSX on behalf of Jaguar Land Rover
>> One World Trade Center, 121 Southwest Salmon Street, 11th Floor,
>> Portland, Oregon, 97204
>>
>> Email: ksmith15(a)jaguarlandrover.com
>> PGP: RSA 2048/2048 979C6B958B89909D
>> -------------------
>>
>> Business Details:
>> Jaguar Land Rover Limited
>> Registered Office: Abbey Road, Whitley, Coventry CV3 4LF
>> Registered in England No: 1672070
>>
>>
>>
>> This e-mail and any attachments contain confidential information for a
>> specific individual and purpose. The information is private and
>> privileged and intended solely for the use of the individual to whom
>> it is addressed. If you are not the intended recipient, please e-mail
>> us immediately. We apologise for any inconvenience caused but you are
>> hereby notified that any disclosure, copying or distribution or the
>> taking of any action in reliance on the information contained herein
>> is strictly prohibited.
>>
>> This e-mail does not constitute an order for goods or services unless
>> accompanied by an official purchase order.
>> --
>> To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org
>> To contact the owner, e-mail: opensuse-buildservice+owner(a)opensuse.org
>>
>
>
>
> --
> --
> Andrew Melo
> --
> To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org
> To contact the owner, e-mail: opensuse-buildservice+owner(a)opensuse.org
>
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-buildservice+owner(a)opensuse.org
Hi,
Samba builds for RHEL 6 i586 are failing as the included krb5 version is
too old. See
https://build.opensuse.org/package/live_build_log/network:samba:STABLE/samb…
Or in short and for the record:
[ 288s] ERROR: MIT krb5 build requires at least 1.9.0. Kerberos 5
release 1.8.2 is found and cannot be used
[ 288s] ERROR: You may try to build with embedded Heimdal Kerebros by
not specifying --with-system-mitkrb5
[ 288s] error: Bad exit status from /var/tmp/rpm-tmp.cT5QVH (%build)
But this happens only to the i586 flavour which has krb5 1.8.2. While
RHEL 6 x86_64 as CentOS 6 i586 and x86_64 are utilizing version 1.9.
Do we need to built a cloned krb5 for RHEL 6 i586 only or is this a
generic OBS import/ setup issue?
Cheers,
Lars
--
Lars Müller [ˈlaː(r)z ˈmʏlɐ]
Samba Team + SUSE Labs
SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Evening everybody,
I hope this is the right mailinglist, apologies if it aint.
I am trying to build lxc, using the upstream spec file, on the OBS. I
succeeded in adjusting it for openSUSE-related stuff, so it builds fine.
Nevertheless, I get errors when building for Fedora:
> https://build.opensuse.org/package/live_build_log/home:ojkastl_buildservice…
During
>
the %install there is a mkdir command, that does not use the
buildroot, and therefore exits due to missing permissions:
> [ 211s] Making install in templates [ 211s] make[2]: Entering
> directory `/home/abuild/rpmbuild/BUILD/lxc-1.0.4/config/templates'
> [ 211s] make[3]: Entering directory
> `/home/abuild/rpmbuild/BUILD/lxc-1.0.4/config/templates' [ 211s]
> make[3]: Nothing to be done for `install-exec-am'. [ 211s]
> /bin/mkdir -p '/usr/share/lxc/config' [ 211s] /bin/mkdir: cannot
> create directory '/usr/share/lxc': Permission denied
As this only happens on Fedora 19 and 20, I am puzzled. The same spec
builds fine for openSUSE.
I asked on the lxc-devel mailinglist, but without a solution. Building
with the original spec on Fedora seems to work fine, so it's a puzzle
(at least to me) why the install part should be suddenly not using the
build root...
Any hints? Tricks? Where to start solving the mystery?
Regards,
Johannes
- --
You know the world is going crazy when the best rapper is a white guy,
the best golfer is a black guy, the Swiss hold the America's Cup,
France is accusing the US of arrogance, and Germany doesn't want to go
to war. (aus alt.jokes)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with SeaMonkey - http://www.enigmail.net/
iEYEARECAAYFAlOclk0ACgkQzi3gQ/xETbJx9wCfTP8mNSyRZD9wsK2K0D6edYb+
9ZMAoJ5qK67eEpHJPHyZYf4EPhvK2GQg
=FeHR
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-buildservice+owner(a)opensuse.org
Hi:
I build an obs server to build packages for different linux
distributions such as sles10/11, rhel5/6. I created a repository
SUSE:SLE-11 and copy all sles11's rpm pacakges to
/srv/obs/build/SUSE:SLE-11/standard/x86_64/:full
the downloadurl in client site (osc build ...) is
http://amd64/repositories/SUSE:/SLE-11/standard/x86_64/.
How can I configure the repserver to redirect the download url to the real
repository.
Another question. When I add a repository for a project, the architecture
check box show only "arm" option and can not find x86_64 and i586. Where
can I configure this?
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-buildservice+owner(a)opensuse.org
1) OBS does not display dependend repositories
----------------------------------------------
https://build.opensuse.org/project/repositories/home:e9925248
"Edit repository" displays an empty list below "Additional package repositories (searched in descending order):".
https://build.opensuse.org/project/meta/home:e9925248 lists the additional repositories.
_edit_repository.html.erb features some code to display the repository list => so somethings seems to be broken.
2) The OBS Arch build seems to use different defaults for $PATH than Arch
-------------------------------------------------------------------------
Arch installs some perl programs instead of /usr/bin to /usr/bin/vendor_perl (eg. see https://www.archlinux.org/packages/community/any/po4a/ )
The Arch perl packages ships a helper script in /etc/profile.d, which adds /usr/bin/vendor_perl to the path.
Other PKGBUILD files can find programs in /usr/bin/vendor_perl just via $PATH (see https://www.archlinux.org/packages/community/any/man-pages-de/ for an example).
So the build process must somehow include /etc/profile - otherwise /usr/bin/vendor_perl would have never been part of the path.
On OBS this build fails: https://build.opensuse.org/package/live_build_log/home:e9925248/test1/Arch_…
I created a small test build, which prints the $PATH (with the perl package present)
https://build.opensuse.org/package/live_build_log/home:e9925248/test/Arch_E…
It just prints /usr/bin - so OBS does not include /etc/profile
3) PKGBUILD and _service
------------------------
In contrast to rpm/deb support, extracting a PKGBUILD file via a _service does not work.
Although the build will use a PGKBUILD file modified/generated by a source service, the OBS build
sources must include a file named PKGBUILD to enable Arch building.
set_version also only search a original PKGBUILD - any PKGBUILD generated/modified by source services are ignored.
Regards,
Martin
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-buildservice+owner(a)opensuse.org
I am running OBS2.4 and I have a problem building Ubuntu 14.04 packages. I am getting this error in the chroot environment when installing most of the packages. This happens when building locally or using our private obs server. This does not happen when building against Ubuntu 10.04. Is there a setting I need to change or an update to something to get this to work.
[ 0s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /var/cache/build --clean --rpmlist /tmp/rpmlist.eH4VFl /srv/deploy/obsCheckout/Mediator/Build/mediautils/mediautils-xUbuntu_14.04.dsc ...
[ 0s] Warning: ignoring unsupported tag 'cbinstall:'
[ 0s] Warning: ignoring unsupported tag 'cbpreinstall:'
[ 1s] cycle: libc6 -> libgcc1
[ 1s] breaking dependency libgcc1 -> libc6
[ 1s] cycle: initscripts -> upstart
[ 1s] breaking dependency upstart -> initscripts
[ 1s] [1/46] preinstalling libgcc1...
[ 1s] no entry data.tar.gz in archive
[ 1s] bsdtar: Error opening archive: Failed to open 'data.tar.gz'
[ 1s] [2/46] preinstalling libc6...
[ 1s] [3/46] preinstalling base-passwd...
[ 1s] [4/46] preinstalling debianutils...
[ 1s] [5/46] preinstalling findutils...
[ 1s] no entry data.tar.gz in archive
[ 1s] bsdtar: Error opening archive: Failed to open 'data.tar.gz'
[ 1s] [6/46] preinstalling libattr1...
[ 1s] no entry data.tar.gz in archive
[ 1s] bsdtar: Error opening archive: Failed to open 'data.tar.gz'
[ 1s] [7/46] preinstalling libbz2-1.0...
[ 1s] [8/46] preinstalling libc-bin...
[ 1s] [9/46] preinstalling libdbus-1-3...
[ 1s] no entry data.tar.gz in archive
[ 1s] bsdtar: Error opening archive: Failed to open 'data.tar.gz'
[ 1s] [10/46] preinstalling liblzma5...
[ 1s] no entry data.tar.gz in archive
[ 1s] bsdtar: Error opening archive: Failed to open 'data.tar.gz'
[ 1s] [11/46] preinstalling libnih1...
[ 1s] no entry data.tar.gz in archive
[ 1s] bsdtar: Error opening archive: Failed to open 'data.tar.gz'
[ 1s] [12/46] preinstalling libpcre3...
[ 1s] no entry data.tar.gz in archive
[ 1s] bsdtar: Error opening archive: Failed to open 'data.tar.gz'
[ 1s] [13/46] preinstalling libsepol1...
[ 1s] [14/46] preinstalling libsigsegv2...
[ 1s] [15/46] preinstalling libtinfo5...
[ 1s] no entry data.tar.gz in archive
[ 1s] bsdtar: Error opening archive: Failed to open 'data.tar.gz'
[ 1s] [16/46] preinstalling login...
[ 1s] no entry data.tar.gz in archive
[ 1s] bsdtar: Error opening archive: Failed to open 'data.tar.gz'
[ 1s] [17/46] preinstalling zlib1g...
[ 1s] [18/46] preinstalling libstdc++6...
[ 1s] no entry data.tar.gz in archive
[ 1s] bsdtar: Error opening archive: Failed to open 'data.tar.gz'
[ 1s] [19/46] preinstalling libacl1...
[ 1s] [20/46] preinstalling libncurses5...
[ 1s] no entry data.tar.gz in archive
[ 2s] bsdtar: Error opening archive: Failed to open 'data.tar.gz'
[ 2s] [21/46] preinstalling libselinux1...
[ 2s] no entry data.tar.gz in archive
[ 2s] bsdtar: Error opening archive: Failed to open 'data.tar.gz'
[ 2s] [22/46] preinstalling xz-utils...
[ 2s] no entry data.tar.gz in archive
[ 2s] bsdtar: Error opening archive: Failed to open 'data.tar.gz'
[ 2s] [23/46] preinstalling libnih-dbus1...
[ 2s] no entry data.tar.gz in archive
[ 2s] bsdtar: Error opening archive: Failed to open 'data.tar.gz'
[ 2s] [24/46] preinstalling lzma...
[ 2s] [25/46] preinstalling passwd...
[ 2s] no entry data.tar.gz in archive
[ 2s] bsdtar: Error opening archive: Failed to open 'data.tar.gz'
[ 2s] [26/46] preinstalling tar...
[ 2s] no entry data.tar.gz in archive
[ 2s] bsdtar: Error opening archive: Failed to open 'data.tar.gz'
[ 2s] [27/46] preinstalling coreutils...
[ 2s] no entry data.tar.gz in archive
[ 2s] bsdtar: Error opening archive: Failed to open 'data.tar.gz'
[ 2s] [28/46] preinstalling upstart...
[ 2s] no entry data.tar.gz in archive
[ 2s] bsdtar: Error opening archive: Failed to open 'data.tar.gz'
[ 2s] [29/46] preinstalling dpkg...
[ 2s] [30/46] preinstalling readline-common...
[ 2s] no entry data.tar.gz in archive
[ 2s] bsdtar: Error opening archive: Failed to open 'data.tar.gz'
[ 2s] [31/46] preinstalling gzip...
[ 2s] no entry data.tar.gz in archive
[ 2s] bsdtar: Error opening archive: Failed to open 'data.tar.gz'
[ 2s] [32/46] preinstalling perl-base...
[ 2s] no entry data.tar.gz in archive
[ 2s] bsdtar: Error opening archive: Failed to open 'data.tar.gz'
[ 2s] [33/46] preinstalling dash...
[ 2s] no entry data.tar.gz in archive
[ 2s] bsdtar: Error opening archive: Failed to open 'data.tar.gz'
[ 2s] [34/46] preinstalling gawk...
[ 2s] [35/46] preinstalling grep...
[ 2s] no entry data.tar.gz in archive
[ 2s] bsdtar: Error opening archive: Failed to open 'data.tar.gz'
[ 2s] [36/46] preinstalling sed...
[ 2s] no entry data.tar.gz in archive
[ 2s] bsdtar: Error opening archive: Failed to open 'data.tar.gz'
[ 2s] [37/46] preinstalling base-files...
[ 2s] [38/46] preinstalling debconf...
[ 2s] no entry data.tar.gz in archive
[ 2s] bsdtar: Error opening archive: Failed to open 'data.tar.gz'
[ 2s] [39/46] preinstalling libreadline5...
[ 2s] [40/46] preinstalling perl...
[ 2s] no entry data.tar.gz in archive
[ 2s] bsdtar: Error opening archive: Failed to open 'data.tar.gz'
[ 2s] [41/46] preinstalling sysv-rc...
[ 2s] no entry data.tar.gz in archive
[ 2s] bsdtar: Error opening archive: Failed to open 'data.tar.gz'
[ 2s] [42/46] preinstalling tzdata...
[ 2s] no entry data.tar.gz in archive
[ 2s] bsdtar: Error opening archive: Failed to open 'data.tar.gz'
[ 2s] [43/46] preinstalling bash...
[ 2s] no entry data.tar.gz in archive
[ 2s] bsdtar: Error opening archive: Failed to open 'data.tar.gz'
[ 2s] [44/46] preinstalling initscripts...
[ 2s] no entry data.tar.gz in archive
[ 2s] bsdtar: Error opening archive: Failed to open 'data.tar.gz'
[ 2s] [45/46] preinstalling util-linux...
[ 2s] no entry data.tar.gz in archive
[ 2s] bsdtar: Error opening archive: Failed to open 'data.tar.gz'
[ 2s] [46/46] preinstalling initramfs-tools...
[ 2s] no entry data.tar.gz in archive
[ 2s] bsdtar: Error opening archive: Failed to open 'data.tar.gz'
[ 2s]
[ 2s] running gawk postinstall script
[ 2s] chroot: failed to run command '.init_b_cache/scripts/gawk.post': No such file or directory
[ 2s] running sysv-rc preinstall script
[ 2s] chroot: failed to run command '.init_b_cache/scripts/sysv-rc.pre': No such file or directory
[ 2s] running sysv-rc postinstall script
[ 2s] chroot: failed to run command '.init_b_cache/scripts/sysv-rc.post': No such file or directory
[ 2s] running base-files preinstall script
[ 2s] chroot: failed to run command '.init_b_cache/scripts/base-files.pre': No such file or directory
[ 2s] running base-files postinstall script
[ 2s] chroot: failed to run command '.init_b_cache/scripts/base-files.post': No such file or directory
[ 2s] running base-passwd postinstall script
[ 2s] chroot: failed to run command '.init_b_cache/scripts/base-passwd.post': No such file or directory
[ 2s] running passwd preinstall script
[ 2s] chroot: failed to run command '.init_b_cache/scripts/passwd.pre': No such file or directory
[ 2s] running passwd postinstall script
[ 2s] chroot: failed to run command '.init_b_cache/scripts/passwd.post': No such file or directory
[ 3s] reordering...cycle: libc6 -> libgcc1
[ 3s] breaking dependency libgcc1 -> libc6
[ 3s] cycle: libc6 -> libgcc1 -> multiarch-support
[ 3s] breaking dependency multiarch-support -> libc6
[ 3s] cycle: perl -> perl-modules
[ 3s] breaking dependency perl -> perl-modules
[ 3s] cycle: sysv-rc -> sysvinit-utils
[ 3s] breaking dependency sysvinit-utils -> sysv-rc
[ 3s] cycle: initscripts -> upstart
[ 3s] breaking dependency upstart -> initscripts
[ 3s] cycle: ifupdown -> initscripts -> upstart
[ 3s] breaking dependency upstart -> ifupdown
[ 3s] done
[ 3s] chroot: failed to run command '/sbin/ldconfig': No such file or directory
[ 3s] [1/227] installing autotools-dev_20130810.1_all
[ 3s] dpkg: error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory
[ 3s] exit ...
Regards,
Rob Zebedee
Integration Engineer | Evertz UK
T: +44 (0)118 921 6800
E: rzebedee(a)evertz.com
This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error please notify the sender (as shown above). Kindly do not reproduce, print or forward any material received in error, please delete it immediately. Evertz UK Limited (Company No. 3458137) is incorporated in England and Wales and has its registered office at 100 Berkshire Place, Wharfedale Road, Winnersh, Wokingham, Berkshire, United Kingdom, RG41 5RD. Pharos Communications Pte Limited (Company No. 200817005N) is incorporated in Singapore and has its registered office at One Marina Boulevard, #28-00. Singapore 018989.
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-buildservice+owner(a)opensuse.org
Hi,
I was looking for enabling the "Report bug" link in the Webui but didn't
find it.
I found a hash in the BSConfig.pm ($bugreportid_url= {};) with some kind
of bugtracking instances per project, but did not find any code using this.
Can you push me to some documentation or betray me how I can
enable/configure this feature to point to an internal issue tracker?
Regards,
Christian
--
Christian Schneemann
System Management & Monitoring Architect
Tel.: +49-175-7250665
Mail: schneemann(a)b1-systems.de
B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-buildservice+owner(a)opensuse.org
Hi.
There are two warnings in the RPMLINT output for a package I've created, but
according to the list that the link suggest that is a valid licence. By the
way, the link is incorrect because there is nothing there but a link to the
real page. Indeed there is a clear warning "CAUTION: The mapping engine below
is outdated, it shows the old syntax."
Greetings.
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-buildservice+owner(a)opensuse.org
I'm not sure if this is a long-time problem or not but the check_http monitor
needs to send an Accept: header or the rails router fails and 404's
ActionController::RoutingError (No route matches [GET] "/monitor")
eg this works:
/usr/lib/nagios/plugins/check_http -S --sni -k 'Accept: text/html' -H
'build.opensuse.org' -u '/monitor' -v
In case this is useful to someone.
David
--
"Don't worry, you'll be fine; I saw it work in a cartoon once..."
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-buildservice+owner(a)opensuse.org