redhatdemocentral / cdk-install-demo Goto Github PK
View Code? Open in Web Editor NEWGet Red Hat Container Development Kit (CDK) installed in fully automated and repeatable fashion on your laptop.
Get Red Hat Container Development Kit (CDK) installed in fully automated and repeatable fashion on your laptop.
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.
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?
There are a number of things that should be made clear in the README.md and the install script:
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
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
I have the windows support files in support/windows, but need testing of first try init.bat found in project.
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
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.
ADB i.e. Atomic Developer Bundle [1] is upstream of CDK and we should try to integrate this installer with it too. I am sure it will help the user community.
I am one of the maintainer of ADB and available in #nulecule of #atomic (Freenode) if you want to discuss this.
[1] https://github.com/projectatomic/adb-atomic-developer-bundle
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
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).
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:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.