Just FYI: CDK cannot be started with libvirt provider on F24 because of this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1368745 Solution to that bug is already in update repositories and I just verified, that with that update to selinux-policy-targeted it works. Radim
On Wed, Aug 24, 2016 at 8:09 PM, Robert Stryker <[email protected]> wrote: > Hi Lala: > Unfortunately a newer vagrant isn't available for me without upgradign > OS... which I've been delaying. > > We eventually found the cause, and it was that no ruby repositories were > available. Thanks for the help though. > > On Wed, Aug 24, 2016 at 5:37 AM, Lalatendu Mohanty <[email protected]> > wrote: > >> On 08/24/2016 10:17 AM, Robert Stryker wrote: >> >> Hey all: >> >> I may have made complaints about this before in the past, but I'm really >> baffled how to install the vagrant plugins that come bundled in the >> cdk.zip, and nothing really seems to work for me... or at least, nothing >> that I would consider normal. >> >> It seems any time i try to install one of the bundled plugins, it just >> complains I need to go find its dependencies. I don't know if the >> dependencies are also plugins or not, but I have to install them, and, in >> some cases, uninstall them afterwards. >> >> For example trying to install vagrant-sshfs tells me i must install >> win32-process first. But win32-process isn't an actual vagrant >> plugin...... So I have to vagrant plugin install win32-process, then >> vagrant plugin install the local gem for vagrant-sshfs, then vagrant >> plugin uninstall win32-process. >> >> Is this intentional? Is this a known defect? Is there any way around it? >> >> >> Hi Rob, >> >> The issue seems to be local to your system and not a generic issue as we >> have tested/installed vagrant-sshfs and landrush on Fedora 23 machines >> multiple times. "vagrant plugin install vagrant-sshfs" should download and >> install win32-process. User does not need to install in separately. >> >> I would strongly recommend you to move to a newer version of Vagrant >> i.e. 1.8.1. >> >> -Lala >> >> >> [rob@rawbdor rhel-ose]$ uname -a >> Linux rawbdor 4.4.14-200.fc22.x86_64 #1 SMP Fri Jun 24 21:19:33 UTC 2016 >> x86_64 x86_64 x86_64 GNU/Linux >> >> [rob@rawbdor rhel-ose]$ vagrant version >> Installed Version: 1.7.2 >> Latest Version: 1.8.5 >> >> [root@rawbdor rhel-ose]$ dnf install vagrant >> Package vagrant-1.7.2-12.fc22.noarch is already installed, skipping. >> Dependencies resolved. >> Nothing to do. >> Complete! >> >> [root@rawbdor rhel-ose]$ dnf update vagrant >> Dependencies resolved. >> Nothing to do. >> Complete! >> >> >> >> Stream-of-conscious too much info below... Don't bother reading it unless >> you want to see my shell log, basically. >> >> [rob@rawbdor plugins]$ vagrant plugin list >> vagrant-libvirt (0.0.35, system) >> vagrant-registration (1.2.3) >> >> So then I look at what plugins I need to install: >> >> [rob@rawbdor plugins]$ ls *.gem >> landrush-1.2.0.dev.gem >> vagrant-service-manager-1.4.0.dev.gem >> vagrant-registration-1.2.3.gem >> vagrant-sshfs-1.2.0.gem >> >> Ok... seems reasonable... so lets start with landrush. >> >> [rob@rawbdor plugins]$ vagrant plugin install >> /home/rob/Downloads/cdk/20160823/cdk/plugins/landrush-1.2.0.dev.gem >> >> Installing the '/home/rob/Downloads/cdk/20160 >> 823/cdk/plugins/landrush-1.2.0.dev.gem' plugin. This can take a few >> minutes... >> >> /home/rob/.rvm/rubies/ruby-2.2.4/lib/ruby/site_ruby/2.2.0/rubygems/resolver.rb:439:in >> `resolve_for_zero': Unable to resolve dependency: 'landrush (= 1.2.0.dev)' >> requires 'rubydns (= 0.8.5)' (Gem::UnsatisfiableDependencyError) >> ... etc etc etc... >> >> >> So then I try to install rubydns... but I know this isn't a plugin or it >> would be listed in the list of required plugins? >> >> [rob@rawbdor plugins]$ gem install rubydns >> ERROR: Could not find a valid gem 'rubydns' (>= 0) in any repository >> >> Ok... so it can't be found... um... >> >> [rob@rawbdor plugins]$ vagrant plugin install rubydns >> Installing the 'rubydns' plugin. This can take a few minutes... >> Installed the plugin 'rubydns (0.8.5)'! >> >> [rob@rawbdor plugins]$ vagrant plugin install >> /home/rob/Downloads/cdk/20160823/cdk/plugins/landrush-1.2.0.dev.gem >> >> Installing the '/home/rob/Downloads/cdk/20160 >> 823/cdk/plugins/landrush-1.2.0.dev.gem' plugin. This can take a few >> minutes... >> /home/rob/.rvm/rubies/ruby-2.2.4/lib/ruby/site_ruby/2.2.0/rubygems/resolver.rb:439:in >> `resolve_for_zero': Unable to resolve dependency: 'landrush (= 1.2.0.dev)' >> requires 'landrush-ip (~> 0.2.3)' (Gem::UnsatisfiableDependencyError) >> etc etc etc... >> >> So... now I have to install landrush-ip? >> >> [rob@rawbdor plugins]$ gem install landrush-ip >> ERROR: Could not find a valid gem 'landrush-ip' (>= 0) in any repository >> >> I can repeat the same procedure.... I guess... but it feels very wrong to >> me. >> >> [rob@rawbdor plugins]$ vagrant plugin install landrush-ip >> Installing the 'landrush-ip' plugin. This can take a few minutes... >> Installed the plugin 'landrush-ip (0.2.3)'! >> >> [rob@rawbdor plugins]$ vagrant plugin install >> /home/rob/Downloads/cdk/20160823/cdk/plugins/landrush-1.2.0.dev.gem >> >> Installing the '/home/rob/Downloads/cdk/20160 >> 823/cdk/plugins/landrush-1.2.0.dev.gem' plugin. This can take a few >> minutes... >> /home/rob/.rvm/rubies/ruby-2.2.4/lib/ruby/site_ruby/2.2.0/rubygems/resolver.rb:439:in >> `resolve_for_zero': Unable to resolve dependency: 'landrush (= 1.2.0.dev)' >> requires 'win32-process (>= 0)' (Gem::UnsatisfiableDependencyError) >> >> Ok... so now I need to install win32-process >> >> [rob@rawbdor plugins]$ vagrant plugin install win32-process >> Installing the 'win32-process' plugin. This can take a few minutes... >> Installed the plugin 'win32-process (0.8.3)'! >> >> [rob@rawbdor plugins]$ vagrant plugin install >> /home/rob/Downloads/cdk/20160823/cdk/plugins/landrush-1.2.0.dev.gem >> Installing the '/home/rob/Downloads/cdk/20160 >> 823/cdk/plugins/landrush-1.2.0.dev.gem' plugin. This can take a few >> minutes... >> Installed the plugin 'landrush (1.2.0.dev)'! >> >> Great... so now........ >> >> [rob@rawbdor plugins]$ vagrant plugin install >> /home/rob/Downloads/cdk/20160823/cdk/plugins/vagrant-registr >> ation-1.2.3.gem >> Installing the '/home/rob/Downloads/cdk/20160 >> 823/cdk/plugins/vagrant-registration-1.2.3.gem' plugin. This can take a >> few minutes... >> Installed the plugin 'vagrant-registration (1.2.3)'! >> >> Ok... that went fine... maybe that was the only problem? >> >> >> [rob@rawbdor plugins]$ vagrant plugin install >> /home/rob/Downloads/cdk/20160823/cdk/plugins/vagrant-service >> -manager-1.4.0.dev.gem >> Installing the '/home/rob/Downloads/cdk/20160 >> 823/cdk/plugins/vagrant-service-manager-1.4.0.dev.gem' plugin. This can >> take a few minutes... >> /home/rob/.rvm/rubies/ruby-2.2.4/lib/ruby/site_ruby/2.2.0/rubygems/resolver.rb:439:in >> `resolve_for_zero': Unable to resolve dependency: 'vagrant-service-manager >> (= 1.4.0.dev)' requires 'rubyzip (~> 1.2.0)' (Gem::UnsatisfiableDependencyE >> rror) >> >> [rob@rawbdor plugins]$ vagrant plugin install rubyzip >> Installing the 'rubyzip' plugin. This can take a few minutes... >> Installed the plugin 'rubyzip (1.2.0)'! >> [rob@rawbdor plugins]$ vagrant plugin install >> /home/rob/Downloads/cdk/20160823/cdk/plugins/vagrant-service >> -manager-1.4.0.dev.gem >> Installing the '/home/rob/Downloads/cdk/20160 >> 823/cdk/plugins/vagrant-service-manager-1.4.0.dev.gem' plugin. This can >> take a few minutes... >> Installed the plugin 'vagrant-service-manager (1.4.0.dev)'! >> >> [rob@rawbdor plugins]$ vagrant plugin install >> /home/rob/Downloads/cdk/20160823/cdk/plugins/vagrant-sshfs-1.2.0.gem >> Installing the '/home/rob/Downloads/cdk/20160 >> 823/cdk/plugins/vagrant-sshfs-1.2.0.gem' plugin. This can take a few >> minutes... >> Installed the plugin 'vagrant-sshfs (1.2.0)'! >> >> [rob@rawbdor plugins]$ vagrant plugin list >> landrush-ip (0.2.3) >> rubydns (0.8.5) >> win32-process (0.8.3) >> landrush (1.2.0.dev) >> - Version Constraint: 1.2.0.dev >> rubyzip (1.2.0) >> vagrant-libvirt (0.0.35, system) >> vagrant-registration (1.2.3) >> - Version Constraint: 1.2.3 >> vagrant-service-manager (1.4.0.dev) >> - Version Constraint: 1.4.0.dev >> vagrant-sshfs (1.2.0) >> - Version Constraint: 1.2.0 >> >> Obviously these shouldn't all be installed as plugins, but I don't know >> how else to get the cdk up and running? >> >> The CDK will not start with all these things which I assume are not >> vagrant plugins being installed as plugins... >> >> [rob@rawbdor rhel-ose]$ vagrant up >> Vagrant failed to initialize at a very early stage: >> >> The plugins failed to load properly. The error message given is >> shown below. >> >> unable to resolve type 'uintptr_t' >> >> I've seen this error before... and I know I have to remove win32-process >> as a plugin. >> >> >> _______________________________________________ >> Devtools mailing >> [email protected]https://www.redhat.com/mailman/listinfo/devtools >> >> >> > > _______________________________________________ > Devtools mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/devtools > >
_______________________________________________ Devtools mailing list [email protected] https://www.redhat.com/mailman/listinfo/devtools
