I am getting the following error while running the puppet help node_gce command:
[root#puppetmaster ~]# puppet help node_gce
Faraday: you may want to install system_timer for reliable timeouts
Error: Could not autoload puppet/face/node_gce/add_metadata: "--user=": already defined in puppet
Error: Could not load help for the face node_gce.
Please check the error logs for more information.
Detail: "Could not autoload puppet/face/node_gce/add_metadata: "--user=": already defined in puppet"
Error: Try 'puppet help help help' for usage
Any help will be appreciated.
Related
I use evolve to automate my database changes and help keep those changes in sync across all my environments and development teams. Before I run the evolve is ok. But I am currently encountering errors in evolve, and the error information shows Validate failed: invalid checksum for migration. Below is the script I use.
C:\Users\HP\Desktop\MywamProject\evolve_2.4.0_Windows-64bit>evolve migrate mysql -c "User Id=root;password=root;Host=localhost;Port=3306;Database=saas_catalogdb;" -l "C:\\Users\\HP\\Desktop\\MywamProject\\mywam.saas.backend.api\\docker-database\\evolve\\catalogdb"
Executing Migrate...
Evolve initialized.
Validate failed: invalid checksum for migration: V120__Insert_into_sa_report_proforma_detail.sql.
Validate failed: invalid checksum for migration: V120__Insert_into_sa_report_proforma_detail.sql.
May I know which part I am getting wrong? Hope someone can guide me on how to solve this problem. Thanks.
You can fix this issue by repair the checksum of already applied migrations. So instead of you put the command as migrate, change it to repair
Example:
evolve repair mysql -c ...the rest of the command you need
Should be like this:
evolve repair mysql -c "User Id=root;password=root;Host=localhost;Port=3306;Database=saas_catalogdb;" -l "C:\\Users\\HP\\Desktop\\MywamProject\\mywam.saas.backend.api\\docker-database\\evolve\\catalogdb"
You can go to this link for more options on the commands and options:
https://evolve-db.netlify.app/configuration/options/
This is the first time i'm using openstack, I'm really a new one, I'm doing right now an OpenStack packstack installation, I've generated an answer file in which i specify the following parameters : (notice that I've followed a website doing that i don't know exactly what does all of these parameters means)
CONFIG_PROVISION_DEMO=n
CONFIG_NEUTRON_ML2_TYPE_DRIVERS=flat,vxlan
CONFIG_NEUTRON_ML2_TENANT_NETWORK_TYPES=vxlan
CONFIG_NEUTRON_ML2_MECHANISM_DRIVERS=openvswitch
CONFIG_NEUTRON_L2_AGENT=openvswitch
CONFIG_NEUTRON_OVS_EXTERNAL_PHYSNET=extnet
CONFIG_NEUTRON_OVS_BRIDGE_MAPPINGS=extnet:br-ex
CONFIG_NEUTRON_OVS_BRIDGE_IFACES=br-ex:em1
I'm getting the following error :
ERROR : Error appeared during Puppet run: 10.53.193.172_controller.pp Notice: /Stage[main]/Nova::Db::Sync/Exec[nova-db-sync]/returns: Error: (pymysql.err.OperationalError) (1045, u"Access denied for user 'nova'#'10.53.193.172' (using password: YES)") (Background on this error at: sqlalche.me/e/e3q8) You will find full trace in log /var/tmp/packstack/20210401-074033-eKhyZ8/manifests/10.53.193.172_controller.pp.log
I've search how to solve it,and i didn't find anything helpful, so i ignored it and I've try to re-run the packstack --answer-file=answerfile.txt, and I'm getting this time a new error :
ERROR : Error appeared during Puppet run: 10.53.193.172_controller.pp
Error: Failed to apply catalog: Could not authenticate
You will find full trace in log /var/tmp/packstack/20210401-082518-KWFGCT/manifests/10.53.193.172_controller.pp.log
Please check log file /var/tmp/packstack/20210401-082518-KWFGCT/openstack-setup.log for more information
Any help, please !
I am referring to the following link Installation Link for installing Kubernetes on Ubuntu 18.04. I am getting the following errors on typing the command :
sudo kubeadm join 192.168.0.114:6443 --token qgce4f.tgzda1zemqnro1em --discovery-token-ca-cert-hash sha256:6ebc15a5a9818481f8a98af01a7a367ba93b2180babb954940edd8178548773a ignore-preflight-errors=All
W0303 18:33:39.565868 7098 join.go:185] [join] WARNING: More than one API server endpoint supplied on command line [192.168.0.114:6443 ignore-preflight-errors=All]. Using the first one.
[preflight] Running pre-flight checks
[WARNING SystemVerification]: this Docker version is not on the list of validated versions: 18.09.3. Latest validated version: 18.06
[preflight] Some fatal errors occurred:
[ERROR DirAvailable--etc-kubernetes-manifests]: /etc/kubernetes/manifests is not empty
[ERROR FileAvailable--etc-kubernetes-kubelet.conf]: /etc/kubernetes/kubelet.conf already exists
[ERROR Port-10250]: Port 10250 is in use
[ERROR FileAvailable--etc-kubernetes-pki-ca.crt]: /etc/kubernetes/pki/ca.crt already exists
[preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...`
Can someone please tell me how to fix this? Thanks !
Consider using the kubeadm reset command as described here:
The "reset" command executes the following phases:
preflight Run reset pre-flight checks
update-cluster-status Remove this node from the ClusterStatus object.
remove-etcd-member Remove a local etcd member.
cleanup-node Run cleanup node.
The fourth phase of this command should fix the 4 errors you mentioned:
A ) It will stop the kubelet service - so port 10250 will be released.
B ) It will delete contents of the following directories:
/etc/kubernetes/manifests
/etc/kubernetes/pki
C ) It will delete the following files:
/etc/kubernetes/admin.conf
/etc/kubernetes/kubelet.conf
/etc/kubernetes/bootstrap-kubelet.conf
/etc/kubernetes/controller-manager.conf
/etc/kubernetes/scheduler.conf
(*) Make sure you run the kubeadm join command with verbosity level of 5 and above (by appending the --v=5 flag).
when click on ‘run puppet' at host web,an error appeard like this:
Error: 执行 puppetrun 失败:ERF12-4252 [ProxyAPI::ProxyException]: 无法执行 Puppet 运行 ([RestClient::InternalServerError]: 500 Internal Server Error) 代理服务器 https://ppt.YLY:8443/puppet
it means :
Error: Executing puppetrun failed: ERF12-4252 [ProxyAPI :: ProxyException]: Unable to perform Puppet run ([RestClient :: InternalServerError]: 500 Internal Server Error) Proxy: https: //ppt.YLY: 8443 / puppet
and logs in /var/log/foreman/ show the same error,nothing additional.
have someone saw this?
thx in advance.
it solved by decrease the version of foreman
Even though I have Websocket installed, at build time, using the Meteor build tool, I’m getting this console error:
Unable to resolve some modules:
"../build/Release/bufferutil" in /Volumes/RAM Disk/myWebApp/node_modules/websocket/lib/BufferUtil.js (os.osx.x86_64)
"../build/default/bufferutil" in /Volumes/RAM Disk/myWebApp/node_modules/websocket/lib/BufferUtil.js (os.osx.x86_64)
"../build/Release/validation" in /Volumes/RAM Disk/myWebApp/node_modules/websocket/lib/Validation.js (os.osx.x86_64)
"../build/default/validation" in /Volumes/RAM Disk/myWebApp/node_modules/websocket/lib/Validation.js (os.osx.x86_64)
What might be causing this?
It looks like this is just a warning, not a fatal error.
https://github.com/meteor/meteor/issues/6601