[ovirt-devel] trying to run ovirt wiki locally
Greg Sheremeta
gshereme at redhat.com
Fri Feb 10 18:30:52 UTC 2017
I just freshly checked it out on F24, and it works. During the setup, it
asked for my sudo password so it could install packages.
Log attached in case it helps.
Greg
On Fri, Feb 10, 2017 at 4:28 AM, Martin Sivak <msivak at redhat.com> wrote:
> The plain version (./run-server.sh) works for me on the current
> master, but I ran the setup.sh months ago so it is still possible
> there is something wrong in the setup script now.
>
> Martin
>
> On Fri, Feb 10, 2017 at 10:17 AM, Tomas Jelinek <tjelinek at redhat.com>
> wrote:
> > Hi all,
> >
> > so when doing something on the ovirt wiki I have found a slight
> imperfection
> > in the admin guide:
> > http://www.ovirt.org/documentation/admin-guide/
> >
> > So I decided to fix it but to verify it I wanted to run the page locally
> but
> > failed miserably. Spent some time trying to make it run but it seems I
> will
> > need some help.
> >
> > I'm running Fedora 25.
> >
> > So, first tried to use the non docker setup. The setup passed but when
> > running run-server.sh it first were complaining that:
> > bundler: command not found: middleman
> > even though the middleman is installed:
> > $ bundle show middleman
> > /home/tjelinek/.gem/ruby/gems/middleman-3.3.12
> >
> > when set the path explicitly to point to it:
> > $ export
> > PATH=/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/
> home/tjelinek/.gem/ruby/gems/middleman-core-3.3.12/bin
> > I've got:
> > bundler: failed to load command: middleman
> > (/home/tjelinek/.gem/ruby/gems/middleman-core-3.3.12/bin/middleman)
> > LoadError: libruby.so.2.0: cannot open shared object file: No such file
> or
> > directory -
> > /home/tjelinek/.gem/ruby/gems/http_parser.rb-0.6.0/lib/ruby_
> http_parser.so
> >
> > even the file is there:
> > ls
> > /home/tjelinek/.gem/ruby/gems/http_parser.rb-0.6.0/lib/ruby_
> http_parser.so
> > /home/tjelinek/.gem/ruby/gems/http_parser.rb-0.6.0/lib/ruby_
> http_parser.so
> >
> > So I gave up and tied the docker setup. The docker-setup.sh passed
> without
> > any problems.
> > Now the docker-run: first of all it needs selinux disbaled otherwise it
> > fails on:
> > panic: standard_init_linux.go:178: exec user process caused "permission
> > denied" [recovered]
> > panic: standard_init_linux.go:178: exec user process caused "permission
> > denied"
> >
> > And with selinux disabled I get:
> > Running docker image springboard-20170210-28960
> > /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require':
> > cannot load such file -- active_support (LoadError)
> > from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in
> `require'
> > from fetch-dashboard.rb:12:in `<main>'
> > An error occurred while installing nokogiri (1.7.0.1), and Bundler cannot
> > continue.
> > Make sure that `gem install nokogiri -v '1.7.0.1'` succeeds before
> bundling.
> >
> > And there I have stopped. Does it work to anyone? What needs to be done?
> >
> > Thank you,
> > Tomas
> >
> > _______________________________________________
> > Devel mailing list
> > Devel at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/devel
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
>
--
Greg Sheremeta, MBA
Red Hat, Inc.
Sr. Software Engineer
gshereme at redhat.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20170210/c1addbf2/attachment-0001.html>
-------------- next part --------------
greg at greg-x1:~/projects/ovirt-site(master|✔) $ ./setup.sh
Submodule 'data/events' (https://github.com/OSAS/rh-events.git) registered for path 'data/events'
Cloning into 'data/events'...
remote: Counting objects: 3338, done.
remote: Compressing objects: 100% (27/27), done.
remote: Total 3338 (delta 15), reused 0 (delta 0), pack-reused 3311
Receiving objects: 100% (3338/3338), 949.67 KiB | 1.65 MiB/s, done.
Resolving deltas: 100% (1684/1684), done.
Checking connectivity... done.
Submodule path 'data/events': checked out '3740aaa6313c69d50db76c0a3eb12168a8e65886'
[sudo] password for greg:
Redirecting to '/usr/bin/dnf install -y ruby-devel rubygems-devel gcc-c++ curl-devel rubygem-bundler patch zlib-devel redhat-rpm-config openssl' (see 'man yum2dnf')
Failed to synchronize cache for repo 'ovirt-engine-nodejs-modules_master', disabling.
Last metadata expiration check: 1:20:08 ago on Fri Feb 10 11:57:39 2017.
Package gcc-c++-6.2.1-2.fc24.x86_64 is already installed, skipping.
Package patch-2.7.5-3.fc24.x86_64 is already installed, skipping.
Package redhat-rpm-config-41-2.fc24.noarch is already installed, skipping.
Package openssl-1:1.0.2j-1.fc24.x86_64 is already installed, skipping.
Dependencies resolved.
=================================================================================================================================================
Package Arch Version Repository Size
=================================================================================================================================================
Installing:
libcurl-devel x86_64 7.47.1-10.fc24 updates 650 k
libyaml x86_64 0.1.6-8.fc24 fedora 58 k
ruby x86_64 2.3.3-61.1.fc24 updates 76 k
ruby-devel x86_64 2.3.3-61.1.fc24 updates 112 k
ruby-irb noarch 2.3.3-61.1.fc24 updates 94 k
ruby-libs x86_64 2.3.3-61.1.fc24 updates 2.9 M
rubygem-bigdecimal x86_64 1.2.8-61.1.fc24 updates 87 k
rubygem-bundler noarch 1.10.6-4.fc24 updates 229 k
rubygem-did_you_mean x86_64 1.0.0-61.1.fc24 updates 219 k
rubygem-io-console x86_64 0.4.5-61.1.fc24 updates 57 k
rubygem-json x86_64 1.8.3-103.fc24 updates 65 k
rubygem-psych x86_64 2.1.0-61.1.fc24 updates 86 k
rubygem-rdoc noarch 4.2.2-2.fc24 updates 449 k
rubygems noarch 2.5.2-61.1.fc24 updates 281 k
rubygems-devel noarch 2.5.2-61.1.fc24 updates 51 k
rubypick noarch 1.1.1-5.fc24 fedora 11 k
zlib-devel x86_64 1.2.8-10.fc24 fedora 55 k
Upgrading:
curl x86_64 7.47.1-10.fc24 updates 294 k
libcurl x86_64 7.47.1-10.fc24 updates 260 k
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
cpp x86_64 6.3.1-1.fc24 updates 9.0 M
gcc x86_64 6.3.1-1.fc24 updates 20 M
gcc-c++ x86_64 6.3.1-1.fc24 updates 11 M
gcc-gdb-plugin x86_64 6.3.1-1.fc24 updates 85 k
libgcc x86_64 6.3.1-1.fc24 updates 89 k
libgomp x86_64 6.3.1-1.fc24 updates 191 k
libstdc++ x86_64 6.3.1-1.fc24 updates 451 k
libstdc++-devel x86_64 6.3.1-1.fc24 updates 1.8 M
openssl x86_64 1:1.0.2k-1.fc24 updates 494 k
openssl-libs x86_64 1:1.0.2k-1.fc24 updates 1.2 M
redhat-rpm-config noarch 42-2.fc24 updates 59 k
Transaction Summary
=================================================================================================================================================
Install 17 Packages
Upgrade 2 Packages
Skip 11 Packages
Total download size: 5.9 M
Downloading Packages:
(1/19): rubypick-1.1.1-5.fc24.noarch.rpm 125 kB/s | 11 kB 00:00
(2/19): ruby-2.3.3-61.1.fc24.x86_64.rpm 531 kB/s | 76 kB 00:00
(3/19): ruby-devel-2.3.3-61.1.fc24.x86_64.rpm 714 kB/s | 112 kB 00:00
(4/19): rubygems-devel-2.5.2-61.1.fc24.noarch.rpm 1.5 MB/s | 51 kB 00:00
(5/19): rubygems-2.5.2-61.1.fc24.noarch.rpm 2.5 MB/s | 281 kB 00:00
(6/19): libyaml-0.1.6-8.fc24.x86_64.rpm 939 kB/s | 58 kB 00:00
(7/19): libcurl-devel-7.47.1-10.fc24.x86_64.rpm 2.9 MB/s | 650 kB 00:00
(8/19): rubygem-psych-2.1.0-61.1.fc24.x86_64.rpm 222 kB/s | 86 kB 00:00
(9/19): zlib-devel-1.2.8-10.fc24.x86_64.rpm 671 kB/s | 55 kB 00:00
(10/19): rubygem-bundler-1.10.6-4.fc24.noarch.rpm 1.7 MB/s | 229 kB 00:00
(11/19): rubygem-json-1.8.3-103.fc24.x86_64.rpm 1.2 MB/s | 65 kB 00:00
(12/19): ruby-irb-2.3.3-61.1.fc24.noarch.rpm 788 kB/s | 94 kB 00:00
(13/19): rubygem-rdoc-4.2.2-2.fc24.noarch.rpm 1.4 MB/s | 449 kB 00:00
(14/19): rubygem-bigdecimal-1.2.8-61.1.fc24.x86_64.rpm 903 kB/s | 87 kB 00:00
(15/19): rubygem-io-console-0.4.5-61.1.fc24.x86_64.rpm 145 kB/s | 57 kB 00:00
(16/19): rubygem-did_you_mean-1.0.0-61.1.fc24.x86_64.rpm 1.1 MB/s | 219 kB 00:00
(17/19): libcurl-7.47.1-10.fc24.x86_64.rpm 1.5 MB/s | 260 kB 00:00
(18/19): curl-7.47.1-10.fc24.x86_64.rpm 1.2 MB/s | 294 kB 00:00
(19/19): ruby-libs-2.3.3-61.1.fc24.x86_64.rpm 1.5 MB/s | 2.9 MB 00:01
-------------------------------------------------------------------------------------------------------------------------------------------------
Total 1.6 MB/s | 5.9 MB 00:03
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Installing : ruby-libs-2.3.3-61.1.fc24.x86_64 1/21
Installing : ruby-2.3.3-61.1.fc24.x86_64 2/21
Installing : rubypick-1.1.1-5.fc24.noarch 3/21
Upgrading : libcurl-7.47.1-10.fc24.x86_64 4/21
Installing : ruby-irb-2.3.3-61.1.fc24.noarch 5/21
Installing : libyaml-0.1.6-8.fc24.x86_64 6/21
Installing : rubygem-psych-2.1.0-61.1.fc24.x86_64 7/21
Installing : rubygems-2.5.2-61.1.fc24.noarch 8/21
Installing : rubygem-json-1.8.3-103.fc24.x86_64 9/21
Installing : rubygem-rdoc-4.2.2-2.fc24.noarch 10/21
Installing : rubygem-io-console-0.4.5-61.1.fc24.x86_64 11/21
Installing : rubygem-bundler-1.10.6-4.fc24.noarch 12/21
Installing : rubygems-devel-2.5.2-61.1.fc24.noarch 13/21
Installing : ruby-devel-2.3.3-61.1.fc24.x86_64 14/21
Installing : rubygem-bigdecimal-1.2.8-61.1.fc24.x86_64 15/21
Installing : rubygem-did_you_mean-1.0.0-61.1.fc24.x86_64 16/21
Installing : libcurl-devel-7.47.1-10.fc24.x86_64 17/21
Upgrading : curl-7.47.1-10.fc24.x86_64 18/21
Installing : zlib-devel-1.2.8-10.fc24.x86_64 19/21
Cleanup : curl-7.47.1-8.fc24.x86_64 20/21
Cleanup : libcurl-7.47.1-8.fc24.x86_64 21/21
Verifying : ruby-devel-2.3.3-61.1.fc24.x86_64 1/21
Verifying : rubypick-1.1.1-5.fc24.noarch 2/21
Verifying : ruby-2.3.3-61.1.fc24.x86_64 3/21
Verifying : ruby-libs-2.3.3-61.1.fc24.x86_64 4/21
Verifying : rubygems-devel-2.5.2-61.1.fc24.noarch 5/21
Verifying : rubygems-2.5.2-61.1.fc24.noarch 6/21
Verifying : rubygem-psych-2.1.0-61.1.fc24.x86_64 7/21
Verifying : libyaml-0.1.6-8.fc24.x86_64 8/21
Verifying : libcurl-devel-7.47.1-10.fc24.x86_64 9/21
Verifying : rubygem-bundler-1.10.6-4.fc24.noarch 10/21
Verifying : zlib-devel-1.2.8-10.fc24.x86_64 11/21
Verifying : rubygem-json-1.8.3-103.fc24.x86_64 12/21
Verifying : rubygem-rdoc-4.2.2-2.fc24.noarch 13/21
Verifying : ruby-irb-2.3.3-61.1.fc24.noarch 14/21
Verifying : rubygem-io-console-0.4.5-61.1.fc24.x86_64 15/21
Verifying : rubygem-bigdecimal-1.2.8-61.1.fc24.x86_64 16/21
Verifying : rubygem-did_you_mean-1.0.0-61.1.fc24.x86_64 17/21
Verifying : libcurl-7.47.1-10.fc24.x86_64 18/21
Verifying : curl-7.47.1-10.fc24.x86_64 19/21
Verifying : libcurl-7.47.1-8.fc24.x86_64 20/21
Verifying : curl-7.47.1-8.fc24.x86_64 21/21
Installed:
libcurl-devel.x86_64 7.47.1-10.fc24 libyaml.x86_64 0.1.6-8.fc24 ruby.x86_64 2.3.3-61.1.fc24
ruby-devel.x86_64 2.3.3-61.1.fc24 ruby-irb.noarch 2.3.3-61.1.fc24 ruby-libs.x86_64 2.3.3-61.1.fc24
rubygem-bigdecimal.x86_64 1.2.8-61.1.fc24 rubygem-bundler.noarch 1.10.6-4.fc24 rubygem-did_you_mean.x86_64 1.0.0-61.1.fc24
rubygem-io-console.x86_64 0.4.5-61.1.fc24 rubygem-json.x86_64 1.8.3-103.fc24 rubygem-psych.x86_64 2.1.0-61.1.fc24
rubygem-rdoc.noarch 4.2.2-2.fc24 rubygems.noarch 2.5.2-61.1.fc24 rubygems-devel.noarch 2.5.2-61.1.fc24
rubypick.noarch 1.1.1-5.fc24 zlib-devel.x86_64 1.2.8-10.fc24
Upgraded:
curl.x86_64 7.47.1-10.fc24 libcurl.x86_64 7.47.1-10.fc24
Complete!
Warning: this Gemfile contains multiple primary sources. Using `source` more than once without a block is a security risk, and may result in installing unexpected gems. To resolve this warning, use a block to indicate which gems should come from the secondary source. To upgrade this warning to an error, run `bundle config disable_multisource true`.
Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
Fetching gem metadata from https://rails-assets.org/..
Fetching gem metadata from https://rubygems.org/.............
Fetching version metadata from https://rails-assets.org/..
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rails-assets.org/..
Fetching dependency metadata from https://rubygems.org/..
Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
Installing i18n 0.7.0
Using json 1.8.3
Installing minitest 5.9.1
Installing thread_safe 0.3.5
Installing tzinfo 1.2.2
Installing activesupport 4.1.16
Installing addressable 2.3.8
Installing asciidoctor 1.5.2
Installing execjs 2.5.2
Installing autoprefixer-rails 5.1.9
Installing sass 3.4.13
Installing bootstrap-sass 3.3.4.1
Installing builder 3.2.2
Installing hitimes 1.2.4 with native extensions
Installing timers 4.0.4
Installing celluloid 0.16.0
Installing chronic 0.10.2
Installing chunky_png 1.3.4
Installing coderay 1.1.0
Installing coffee-script-source 1.9.1.1
Installing coffee-script 2.4.1
Installing commonjs 0.2.7
Installing multi_json 1.11.0
Installing compass-core 1.0.3
Installing compass-import-once 1.0.5
Installing rb-fsevent 0.9.8
Installing ffi 1.9.14 with native extensions
Installing rb-inotify 0.9.7
Installing compass 1.0.3
Installing curb 0.8.8 with native extensions
Installing docile 1.1.5
Installing eventmachine 1.2.0.1 with native extensions
Installing http_parser.rb 0.6.0 with native extensions
Installing em-websocket 0.5.1
Installing erubis 2.7.0
Installing expression_parser 0.9.0
Installing favicon_maker 1.3
Installing mini_portile 0.6.0
Installing nokogiri 1.6.6.2 with native extensions
Installing loofah 2.0.1
Installing sax-machine 1.3.1
Installing feedjira 1.6.0
Using bundler 1.10.6
Installing uber 0.0.15
Installing hooks 0.4.1
Installing listen 2.10.1
Installing padrino-support 0.12.8.1
Installing tilt 1.4.1
Installing padrino-helpers 0.12.8.1
Installing rack 1.6.5
Installing rack-test 0.6.3
Installing thor 0.19.1
Installing middleman-core 3.3.10
Installing font-awesome-middleman 4.2.3
Installing haml 4.0.6
Installing hike 1.2.3
Installing htmlentities 4.3.3
Installing icalendar 1.5.4
Installing kramdown 1.6.0
Installing launchy 2.4.3
Installing less 2.6.0
Installing libv8 3.16.14.7
Installing sprockets 2.12.3
Installing sprockets-helpers 1.1.0
Installing sprockets-sass 1.3.1
Installing middleman-sprockets 3.4.2
Installing uglifier 2.7.1
Installing middleman 3.3.10
Installing middleman-blog 3.5.3
Installing net-ssh 2.9.2
Installing net-sftp 2.1.2
Installing ptools 1.3.2
Installing middleman-deploy 1.0.0
Installing middleman-favicon-maker 3.7
Installing rack-livereload 0.3.16
Installing middleman-livereload 3.4.6
Installing rouge 1.8.0
Installing middleman-syntax 2.0.0
Installing oj 2.12.2 with native extensions
Installing open-uri-cached 0.0.5
Installing rails-assets-jquery 1.11.3
Installing rails-assets-moment 2.10.6
Installing rails-assets-bootstrap-sortable 1.11.1
Installing rails-assets-chartjs 2.1.6
Installing rails-assets-fullcalendar 2.5.0
Installing rails-assets-momentjs 2.10.6
Installing ref 1.0.5
Installing slop 4.3.0
Installing stringex 2.5.2
Installing therubyracer 0.12.2 with native extensions
Installing unf_ext 0.0.6 with native extensions
Installing unf 0.1.4
Installing twitter-text 1.11.0
Installing wikicloth 0.8.3
Bundle complete! 34 Gemfile dependencies, 94 gems now installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
Post-install message from compass:
Compass is charityware. If you love it, please donate on our behalf at http://umdf.org/compass Thanks!
Post-install message from haml:
HEADS UP! Haml 4.0 has many improvements, but also has changes that may break
your application:
* Support for Ruby 1.8.6 dropped
* Support for Rails 2 dropped
* Sass filter now always outputs <style> tags
* Data attributes are now hyphenated, not underscored
* html2haml utility moved to the html2haml gem
* Textile and Maruku filters moved to the haml-contrib gem
For more info see:
http://rubydoc.info/github/haml/haml/file/CHANGELOG.md
greg at greg-x1:~/projects/ovirt-site(master|✔) $ ./run-server.sh
Downloading oVirt dashboard data: 100% #######################################################################################################
== The Middleman is loading
Updating git submodules...
Synchronizing submodule url for 'data/events'
Entering 'data/events'
== Administration is at http://0.0.0.0:4567/admin/
== LiveReload accepting connections from ws://192.168.1.39:35729
== The Middleman is standing watch at http://0.0.0.0:4567
== Inspect your site configuration at http://0.0.0.0:4567/__middleman/
^C
greg at greg-x1:~/projects/ovirt-site(master|✔) $ which middleman
middleman is /home/greg/bin/middleman
More information about the Devel
mailing list