Git Product home page Git Product logo

cdk-install-demo's People

Contributors

aweiteka avatar carljmosca avatar eschabell avatar sabre1041 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cdk-install-demo's Issues

Don't rmdir existing CDK directory tree.

The install script (blindly) deletes an existing CDK directory if it already exists.

Aside from possibly causing the user to possibly loose data this can cause problems with Vagrant if you delete existing boxes that are in .vagrant without removing them first. To work around this you'd need to delete ~/.vagrant.d and clean up existing VMs in Virtualbox.

default: Warning: Remote connection disconnect. Retrying...

Hi, when i execute "vagrant up" command:

C:\Users\cbauza\cdk\components\rhel\rhel-ose>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Remote connection disconnect. Retrying...

I modifiy the Vagrantfile adding
config.vm.provider :virtualbox do |vb|
vb.gui = true
end

And in the GUI of the virtual machin i see that its necesary user and password.
which is the user and password?

README.md and install script clarifications.

There are a number of things that should be made clear in the README.md and the install script:

  • it will only currently work with the version/path of the CDK it is currently hard coded for. (beta4).
  • CDK is currently beta,install instructions and this script may need to change for GA.
  • The user is responsible for downloading all of the necessary bits, the script currently doesn't do any downloading

invalid option specified running init.sh

Running init.sh on OS X 10.11.4 I get the following:

#######################################################################
##                                                                   ##
##  Setting up the CDK Install Demo                                  ##
##                                                                   ##
##                                                                   ##
##    ####  ###  #   # #####  ###  ##### #   # ##### ####            ##
##   #     #   # ##  #   #   #   #   #   ##  # #     #   #           ##
##   #     #   # # # #   #   #####   #   # # # ###   ####            ##
##   #     #   # #  ##   #   #   #   #   #  ## #     #  #            ##
##    ###   ###  #   #   #   #   # ##### #   # ##### #   #           ##
##                                                                   ##
##            ####  ##### #   #   #   # ##### #####                  ##
##            #   # #     #   #   #  #    #     #                    ##
##            #   # ###   #   #   ###     #     #                    ##
##            #   # #      # #    #  #    #     #                    ##
##            ####  #####   #     #   # #####   #                    ##
##                                                                   ##
##                                                                   ##
##  brought to you by Andrew Block, Eric D. Schabell                 ##
##                                                                   ##
##  [email protected]:redhatdemocentral/cdk-install-demo.git            ##
##                                                                   ##
#######################################################################

Vagrant is installed...

VirtualBox is installed...

Product sources are present...

OSX Vagrant box present...

  - removing existing installation...

Setting up installation now...

Copying over VagrantFile with rhel-ose larger memory settings...

Installing provided Vagrant plugins...

Installing the 'vagrant-registration-1.2.1.gem' plugin. This can take a few minutes...
Installed the plugin 'vagrant-registration (1.2.1)'!

Checking that plugins installed, looking for:

  -> vagrant-registration
  -> vagrant-service-manager
  -> vagrant-sshfs

vagrant-registration (1.2.1)

Adding the RHEL Vagrant box...

An invalid option was specified. The help for this command
is available below.

Usage: vagrant box add <name> <url> [--provider provider] [-h]

    -f, --force                      Overwrite an existing box if it exists.
        --insecure                   If set, SSL certs will not be validated.
        --provider provider          The provider that backs the box.
    -h, --help                       Print this help

Error executing "vagrant up" on a Fedora 24 host on an Intel Core i7 processor

When I follow the steps and do a vagrant up in the rhel-ose directory I get the following output:

[iboernig@boernig rhel-ose]$ vagrant up
Bringing machine 'default' up with 'libvirt' provider...
==> default: Creating image (snapshot of base box volume).
==> default: Creating domain with the following settings...
==> default: -- Name: rhel-ose_default
==> default: -- Domain type: kvm
==> default: -- Cpus: 2
==> default: -- Memory: 4096M
==> default: -- Management MAC:
==> default: -- Loader:
==> default: -- Base box: cdkv2
==> default: -- Storage pool: default
==> default: -- Image: /var/lib/libvirt/images/rhel-ose_default.img (41G)
==> default: -- Volume Cache: default
==> default: -- Kernel:
==> default: -- Initrd:
==> default: -- Graphics Type: vnc
==> default: -- Graphics Port: 5900
==> default: -- Graphics IP: 127.0.0.1
==> default: -- Graphics Password: Not defined
==> default: -- Video Type: cirrus
==> default: -- Video VRAM: 9216
==> default: -- Keymap: en-us
==> default: -- INPUT: type=mouse, bus=ps2
==> default: -- Command line :
==> default: Creating shared folders metadata...
==> default: Starting domain.
There was an error talking to Libvirt. The error message is shown
below:

Call to virDomainCreateWithFlags failed: internal error: process exited while connecting to monitor: warning: host doesn't support requested feature: CPUID.01H:EDX.ds [bit 21]
warning: host doesn't support requested feature: CPUID.01H:EDX.acpi [bit 22]
warning: host doesn't support requested feature: CPUID.01H:EDX.ht [bit 28]
warning: host doesn't support requested feature: CPUID.01H:EDX.tm [bit 29]
warning: host doesn't support requested feature: CPUID.01H:EDX.pbe [bit 31]
warning: host doesn't support requested feature: CPUID.01H:ECX.dtes64 [bit 2]
warning: host doesn't support requested feature: CPUID.01H:ECX.monitor [bit 3]
warning: host doesn't support requested feature: CPUID.01H:ECX.ds_cpl [bit 4]
warning: host doesn't support requested feature: CPUID.01H:ECX.vmx [bit 5]
warning: host doesn't support requested feature: CPUID.01H:ECX.smx [bit 6]
warning: host doesn't support requested feature: CPUID.01H:ECX.est [bit 7]
warning: host doesn't support requested feature: CPUID.01H:ECX.tm2 [bit 8]
warning: host doesn't support requested feature: CPUID.01H:ECX.xt

Ability to toggle vagrant providers

Especially for the Windows installation, it is possible for users to be able to utilize either the vmware fusion or vagrant CDK. Providing the ability to add a flag or instruct the user on the steps necessary to make these changes would be helpful

May install the wrong vagrant plugin versions.

The script runs vagrant plugin install vagrant-registration vagrant-adbinfo landrush. Since those aren't .gem filenames, it will install the RubyGEMS versions from on-line and not the .gem files in the cdk/plugins directory.

Download Links

HI,

Can you please update document and provide download link for each needed tools? As I am not able to find any of required tools in access.redhat.com/downloads

Looking forward to hear back from you

Kind Regards,
Niraj Bhatt

Error downloading cdkv2

When I get to the step: "vagrant up", I'm getting an error:

An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

Couldn't open file /home/ishu/Desktop/cdk-install-demo-master/target/cdk/components/rhel/rhel-ose/cdkv2

The previous steps to setup the project went ok (see enclosed screenshot).
vagrant-error

Windows mentions VirtualBox, but use VMware box file name.

install.bat contains:

set WINDOWS_BOX=rhel-cdk-kubernetes-7.2-13.x86_64.vagrant-vmware-fusion.box

and

call where VirtualBox >nul 2>&1
if %ERRORLEVEL% NEQ 0 (
    echo VirtualBox is required but not installed yet... downlaod here: https://www.virtualbox.org/wiki/Downloads
    GOTO :EOF

So:

  • That's the wrong file name, should be -vbox-
  • The VirtualBox installed test won't succeed as VirtualBox isn't placed in the path on Windows by default.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.