Comments (14)
why is it so hard to just run what you made and get to to work normally
bc this is a complex thing with many moving parts which constantly change.
this is not a turn-key solution, you have to have basic understanding how things work under the hood.
so now - why is kubeadm
not installed on master? ssh to the master manually and examine /var/log/cloud-init.log etc.
from hyperctl.
tryng to get the logs read
will post the /var/logs/cloud-init.log when i get it
from hyperctl.
i needed to recreate vms but now the script keeps failing
new-vm: Sequence contains multiple elements
\hyperctl.ps1:406 char:11
-
$vm = new-vm -name $vmname -memorystartupbytes $mem -generation $ ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidOperation: (:) [New-VM], VirtualizationException
- FullyQualifiedErrorId : InvalidOperation,Microsoft.HyperV.PowerShell.Commands.NewVM
does not mater how i call the vm to create it keeps failing with that
gooin to reinstall hyper-v if this presists
this happed after the last reboot of the host mashne
from hyperctl.
After reinstalling hyper-v and let the script recreate image and switch
The msater is now running init its is
waiting for master to init...
waiting for master to init...
waiting for master to init...
waiting for master to init...
waiting for master to init...
waiting for master to init...
waiting for master to init...
waiting for master to init...
waiting for master to init...
waiting for master to init...
I gues that can take up sometime with 3 nodes
from hyperctl.
2020-11-22 10:34:44,425 - util.py[DEBUG]: Cloud-init v. 18.2 running 'init-local' at Sun, 22 Nov 2020 10:34:44 +0000. Up 43.40 seconds.
2020-11-22 10:34:44,426 - main.py[DEBUG]: No kernel command line url found.
2020-11-22 10:34:44,426 - main.py[DEBUG]: Closing stdin.
2020-11-22 10:34:44,427 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud (recursive=False)
2020-11-22 10:34:44,436 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud (recursive=True)
2020-11-22 10:34:44,439 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud/scripts (recursive=False)
2020-11-22 10:34:44,441 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud/scripts (recursive=True)
2020-11-22 10:34:44,443 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud/scripts/per-instance (recursive=False)
2020-11-22 10:34:44,444 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud/scripts (recursive=True)
2020-11-22 10:34:44,446 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud/scripts/per-once (recursive=False)
2020-11-22 10:34:44,447 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud/scripts (recursive=True)
2020-11-22 10:34:44,449 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud/scripts/per-boot (recursive=False)
2020-11-22 10:34:44,450 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud/scripts (recursive=True)
2020-11-22 10:34:44,453 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud/scripts/vendor (recursive=False)
2020-11-22 10:34:44,454 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud (recursive=True)
2020-11-22 10:34:44,458 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud/seed (recursive=False)
2020-11-22 10:34:44,459 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud (recursive=True)
2020-11-22 10:34:44,465 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud/instances (recursive=False)
2020-11-22 10:34:44,466 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud (recursive=True)
2020-11-22 10:34:44,470 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud/handlers (recursive=False)
2020-11-22 10:34:44,471 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud (recursive=True)
2020-11-22 10:34:44,477 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud/sem (recursive=False)
2020-11-22 10:34:44,478 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud/data (recursive=False)
2020-11-22 10:34:44,480 - util.py[DEBUG]: Writing to /var/log/cloud-init.log - ab: [600] 0 bytes
2020-11-22 10:34:44,480 - util.py[DEBUG]: Restoring selinux mode for /var/log/cloud-init.log (recursive=False)
2020-11-22 10:34:44,481 - util.py[DEBUG]: Restoring selinux mode for /var/log/cloud-init.log (recursive=False)
2020-11-22 10:34:44,483 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance/boot-finished
2020-11-22 10:34:44,483 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/data/no-net
2020-11-22 10:34:44,483 - handlers.py[DEBUG]: start: init-local/check-cache: attempting to read from cache [check]
2020-11-22 10:34:44,483 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/obj.pkl (quiet=False)
2020-11-22 10:34:44,484 - stages.py[DEBUG]: no cache found
2020-11-22 10:34:44,484 - handlers.py[DEBUG]: finish: init-local/check-cache: SUCCESS: no cache found
2020-11-22 10:34:44,484 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance
2020-11-22 10:34:44,509 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.rhel.Distro'>
2020-11-22 10:34:44,509 - init.py[DEBUG]: Looking for data source in: ['NoCloud', 'ConfigDrive', 'OpenNebula', 'DigitalOcean', 'Azure', 'AltCloud', 'OVF', 'MAAS', 'GCE', 'OpenStack', 'AliYun', 'Ec2', 'CloudSigma', 'CloudStack', 'SmartOS', 'Bigstep', 'Scaleway', 'Hetzner', 'IBMCloud', 'None'], via packages ['', u'cloudinit.sources'] that matches dependencies ['FILESYSTEM']
2020-11-22 10:34:46,750 - init.py[DEBUG]: Searching for local data source in: [u'DataSourceNoCloud', u'DataSourceConfigDrive', u'DataSourceOpenNebula', u'DataSourceDigitalOcean', u'DataSourceAzure', u'DataSourceOVF', u'DataSourceEc2Local', u'DataSourceCloudSigma', u'DataSourceSmartOS', u'DataSourceHetzner', u'DataSourceIBMCloud']
2020-11-22 10:34:46,751 - handlers.py[DEBUG]: start: init-local/search-NoCloud: searching for local data from DataSourceNoCloud
2020-11-22 10:34:46,751 - init.py[DEBUG]: Seeing if we can get any data from <class 'cloudinit.sources.DataSourceNoCloud.DataSourceNoCloud'>
2020-11-22 10:34:46,752 - util.py[DEBUG]: Running command ['systemd-detect-virt', '--quiet', '--container'] with allowed return codes [0] (shell=False, capture=True)
"/var/log/cloud-init.log" 580L, 72765C
this is what vi shows on the vi /var/log/cloud-init.log
hope it goes trough at some point
its still saying waiting for master to init has been dooing for 5 minutes
from hyperctl.
Hi, may be you can create ubuntu vm directly using hyper-v and then run kubeadm init and join commands
from hyperctl.
2020-11-22 10:34:44,425 - util.py[DEBUG]: Cloud-init v. 18.2 running 'init-local' at Sun, 22 Nov 2020 10:34:44 +0000. Up 43.40 seconds.
2020-11-22 10:34:44,426 - main.py[DEBUG]: No kernel command line url found.
2020-11-22 10:34:44,426 - main.py[DEBUG]: Closing stdin.
2020-11-22 10:34:44,427 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud (recursive=False)
2020-11-22 10:34:44,436 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud (recursive=True)
2020-11-22 10:34:44,439 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud/scripts (recursive=False)
2020-11-22 10:34:44,441 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud/scripts (recursive=True)
2020-11-22 10:34:44,443 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud/scripts/per-instance (recursive=False)
2020-11-22 10:34:44,444 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud/scripts (recursive=True)
2020-11-22 10:34:44,446 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud/scripts/per-once (recursive=False)
2020-11-22 10:34:44,447 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud/scripts (recursive=True)
2020-11-22 10:34:44,449 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud/scripts/per-boot (recursive=False)
2020-11-22 10:34:44,450 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud/scripts (recursive=True)
2020-11-22 10:34:44,453 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud/scripts/vendor (recursive=False)
2020-11-22 10:34:44,454 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud (recursive=True)
2020-11-22 10:34:44,458 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud/seed (recursive=False)
2020-11-22 10:34:44,459 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud (recursive=True)
2020-11-22 10:34:44,465 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud/instances (recursive=False)
2020-11-22 10:34:44,466 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud (recursive=True)
2020-11-22 10:34:44,470 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud/handlers (recursive=False)
2020-11-22 10:34:44,471 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud (recursive=True)
2020-11-22 10:34:44,477 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud/sem (recursive=False)
2020-11-22 10:34:44,478 - util.py[DEBUG]: Restoring selinux mode for /var/lib/cloud/data (recursive=False)
2020-11-22 10:34:44,480 - util.py[DEBUG]: Writing to /var/log/cloud-init.log - ab: [600] 0 bytes
2020-11-22 10:34:44,480 - util.py[DEBUG]: Restoring selinux mode for /var/log/cloud-init.log (recursive=False)
2020-11-22 10:34:44,481 - util.py[DEBUG]: Restoring selinux mode for /var/log/cloud-init.log (recursive=False)
2020-11-22 10:34:44,483 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance/boot-finished
2020-11-22 10:34:44,483 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/data/no-net
2020-11-22 10:34:44,483 - handlers.py[DEBUG]: start: init-local/check-cache: attempting to read from cache [check]
2020-11-22 10:34:44,483 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/obj.pkl (quiet=False)
2020-11-22 10:34:44,484 - stages.py[DEBUG]: no cache found
2020-11-22 10:34:44,484 - handlers.py[DEBUG]: finish: init-local/check-cache: SUCCESS: no cache found
2020-11-22 10:34:44,484 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance
2020-11-22 10:34:44,509 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.rhel.Distro'>
2020-11-22 10:34:44,509 - init.py[DEBUG]: Looking for data source in: ['NoCloud', 'ConfigDrive', 'OpenNebula', 'DigitalOcean', 'Azure', 'AltCloud', 'OVF', 'MAAS', 'GCE', 'OpenStack', 'AliYun', 'Ec2', 'CloudSigma', 'CloudStack', 'SmartOS', 'Bigstep', 'Scaleway', 'Hetzner', 'IBMCloud', 'None'], via packages ['', u'cloudinit.sources'] that matches dependencies ['FILESYSTEM']
2020-11-22 10:34:46,750 - init.py[DEBUG]: Searching for local data source in: [u'DataSourceNoCloud', u'DataSourceConfigDrive', u'DataSourceOpenNebula', u'DataSourceDigitalOcean', u'DataSourceAzure', u'DataSourceOVF', u'DataSourceEc2Local', u'DataSourceCloudSigma', u'DataSourceSmartOS', u'DataSourceHetzner', u'DataSourceIBMCloud']
2020-11-22 10:34:46,751 - handlers.py[DEBUG]: start: init-local/search-NoCloud: searching for local data from DataSourceNoCloud
2020-11-22 10:34:46,751 - init.py[DEBUG]: Seeing if we can get any data from <class 'cloudinit.sources.DataSourceNoCloud.DataSourceNoCloud'>
2020-11-22 10:34:46,752 - util.py[DEBUG]: Running command ['systemd-detect-virt', '--quiet', '--container'] with allowed return codes [0] (shell=False, capture=True)
"/var/log/cloud-init.log" 580L, 72765Cthis is what vi shows on the vi /var/log/cloud-init.log
hope it goes trough at some point
its still saying waiting for master to init has been dooing for 5 minutes
Are you using rhel as image type?
I have used ubuntu bionic and it works for me
from hyperctl.
the script only gets the cent os image, i could not get it to go for the ubuntu or rhel images with the commands
If i use ubuntu for eample is it needed to be the server/core or can i use the one with desktop as well for the the script to run the rest of commands
from hyperctl.
the script only gets the cent os image, i could not get it to go for the ubuntu or rhel images with the commands
There is a config file, .distro
from hyperctl.
in hte code section and zip i downloaded it not.
where can i find that so i can push it to ubuntu more confort with ubuntu then cent os as well
from hyperctl.
in hte code section and zip i downloaded it not.
where can i find that so i can push it to ubuntu more confort with ubuntu then cent os as well
Can we connect over email?
from hyperctl.
from hyperctl.
i needed to recreate vms but now the script keeps failing
new-vm: Sequence contains multiple elements
\hyperctl.ps1:406 char:11
* ``` $vm = new-vm -name $vmname -memorystartupbytes $mem -generation $ ... ``` * ``` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``` * CategoryInfo : InvalidOperation: (:) [New-VM], VirtualizationException * FullyQualifiedErrorId : InvalidOperation,Microsoft.HyperV.PowerShell.Commands.NewVM
does not mater how i call the vm to create it keeps failing with that gooin to reinstall hyper-v if this presists this happed after the last reboot of the host mashne
This happens if you do not remove the network when attempting to recreate the vms.
from hyperctl.
No matter what I do I cannot get SSH to work when running init. Manually or through the script. I am also unable to login to the master vm regardless of what my user-data file contains.
I am starting to think whatever creates the vhdx is not working properly. I will continue to troubleshoot...
from hyperctl.
Related Issues (5)
- Unable to SSH HOT 3
- @master: Permission denied (publickey,gssapi-keyex,gssapi-with-mic) HOT 2
- init keeps asking for rsa passfrase HOT 4
- Permission denied (publickey,gssapi-keyex,gssapi-with-mic). waiting for master to init... w510@master: Permission denied (publickey,gssapi-keyex,gssapi-with-mic). waiting for master to init...
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hyperctl.