On Wed, Aug 24, 2016 at 11:03 AM, Praveen Kumar <[email protected]> wrote: > Hi Rob, > > After having discussion with you on IRC I tried to reproduce what you > pointed out here. So to make sure I have a sane enviorment to test out > stuff I used a fedora 22 container (this is minimal and have no > dependencies at all installed) > > I followed required steps which we discussed also and able to install > all the local plugin successfully on f22. I created a paste[0] which > have all the steps I followed so I assume you have some issue with > your system. I am planning to create same paste for RHEL/CentOS (in > container env) so we make sure that steps which we have in document > should work as expected. > > [0] https://paste.fedoraproject.org/413139/14720163/
Just to add all the ruby packages which are installed and vagrant plugins in the system[1] [1] https://paste.fedoraproject.org/413145/16911147/ > > On Wed, Aug 24, 2016 at 10:17 AM, Robert Stryker <[email protected]> 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? >> >> [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/20160823/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/20160823/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/20160823/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/20160823/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-registration-1.2.3.gem >> Installing the >> '/home/rob/Downloads/cdk/20160823/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/20160823/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::UnsatisfiableDependencyError) >> >> [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/20160823/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/20160823/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 list >> [email protected] >> https://www.redhat.com/mailman/listinfo/devtools >> > > > > -- > Praveen Kumar > https://fedoraproject.org/wiki/User:Kumarpraveen -- Praveen Kumar https://fedoraproject.org/wiki/User:Kumarpraveen _______________________________________________ Devtools mailing list [email protected] https://www.redhat.com/mailman/listinfo/devtools
