[GitHub] [cloudstack-documentation] blueorangutan commented on pull request #224: Adding docs for SUSE support

2021-06-27 Thread GitBox


blueorangutan commented on pull request #224:
URL: 
https://github.com/apache/cloudstack-documentation/pull/224#issuecomment-869353104


   Doc build preview: http://qa.cloudstack.cloud/docs/WIP-PROOFING/pr/224. 
(SL-JID 104)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-documentation] blueorangutan commented on pull request #224: Adding docs for SUSE support

2021-06-27 Thread GitBox


blueorangutan commented on pull request #224:
URL: 
https://github.com/apache/cloudstack-documentation/pull/224#issuecomment-869352692


   @davidjumani a Jenkins job has been kicked to build the document. I'll keep 
you posted as I make progress.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [cloudstack-documentation] davidjumani commented on pull request #224: Adding docs for SUSE support

2021-06-27 Thread GitBox


davidjumani commented on pull request #224:
URL: 
https://github.com/apache/cloudstack-documentation/pull/224#issuecomment-869352581


   @blueorangutan docbuild


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




Re: Error in hitting resetSSHKeyForVirtualMachine api

2021-06-27 Thread Harikrishna Patnala
Hi Bikram,

Please go through the management-server.log or vmops.log when you call this API 
and observe the stack trace of the error, you will get to know what is the 
exact error on running that SQL query. Accordingly, update or fix the DAO as 
suggested by David.

Regards,
Harikrishna

From: David Jumani 
Sent: Friday, June 25, 2021 4:06 PM
To: dev 
Subject: Re: Error in hitting resetSSHKeyForVirtualMachine api

Hi Bikram,

In addition to what Rohit had mentioned, also go through 
https://github.com/shapeblue/hackerbook/blob/main/hack/db.md to ensure that the 
DAO is properly implemented so the query is generated correctly

From: Rohit Yadav 
Sent: Friday, June 25, 2021 3:45 PM
To: dev ; David Jumani 
Subject: Re: Error in hitting resetSSHKeyForVirtualMachine api

Hi Bikram,

(FYI - Bikram is our GSoC21 [1] student, cc @David 
Jumani primary mentor)

  *   Are you hitting this on the latest main​ branch?
  *   Is the ssh key registered in the DB a valid SSH key and are you testing 
this using Simulator or KVM (or something else)?
  *   Is the keypairs parameter something you've introduced as part of your 
project? Is it handled properly at the API implement (refer 
https://github.com/shapeblue/hackerbook/blob/main/hack/api.md#introduction)

[1] https://cwiki.apache.org/confluence/display/CLOUDSTACK/GSoC+2021


Regards.

Rohit Yadav
Principal Engineer
rohit.ya...@shapeblue.com
www.shapeblue.com








From: Daan Hoogland 
Sent: Friday, June 25, 2021 13:19
To: dev 
Subject: Re: Error in hitting resetSSHKeyForVirtualMachine api

Bikram,
I see and extra parameter "keypairs" that would not be recognised and hence
ignored but otherwise your cli seem correct according to [1]

I think you hit a bug, please investigate the logs and create an issue at
[2] if you feel it is a  cloudstack issue or at [3] if it is a cmk issue

[1]
http://cloudstack.apache.org/api/apidocs-4.15/apis/resetSSHKeyForVirtualMachine.html
[2] https://github.com/apache/cloudstack/issues/new/choose
[3] https://github.com/apache/cloudstack-cloudmonkey/issues/new/choose

regards,

On Fri, Jun 25, 2021 at 9:01 AM Bikram Biswas 
wrote:

> Here is the command and message in cloudmonkey. The VM is connected with
> the ssh-key-pair with the name 'myname'
>
> (bicrxm) 🐱 > reset sshkeyforvirtualmachine account=admin
> domainid=a7509cc5-d50e-11eb-afe0-646e69d9cd09 keypair=myname
> id=c9e37866-2314-46f8-8741-9b2d045ad40a keypairs=myname
> {
>   "accountid": "a751fb3a-d50e-11eb-afe0-646e69d9cd09",
>   "cmd":
> "org.apache.cloudstack.api.command.admin.vm.ResetVMSSHKeyCmdByAdmin",
>   "completed": "2021-06-25T12:24:47+0530",
>   "created": "2021-06-25T12:24:45+0530",
>   "jobid": "53db8eca-cf4c-4eb6-a9f2-a37d54af0f7d",
>   "jobinstanceid": "c9e37866-2314-46f8-8741-9b2d045ad40a",
>   "jobinstancetype": "VirtualMachine",
>   "jobprocstatus": 0,
>   "jobresult": {
> "errorcode": 530,
> "errortext": "Caught: com.mysql.cj.jdbc.ClientPreparedStatement:
> SELECT ssh_keypairs.id, ssh_keypairs.account_id, ssh_keypairs.domain_id,
> ssh_keypairs.keypair_name, ssh_keypairs.fingerprint,
> ssh_keypairs.public_key FROM ssh_keypairs WHERE ssh_keypairs.account_id =
> 2  AND ssh_keypairs.domain_id = 1  AND ssh_keypairs.keypair_name = ** NOT
> SPECIFIED **  ORDER BY ssh_keypairs.keypair_name DESC "
>   },
>   "jobresultcode": 530,
>   "jobresulttype": "object",
>   "jobstatus": 2,
>   "userid": "a781b145-d50e-11eb-afe0-646e69d9cd09"
> }
> πŸ™ˆ Error: async API failed for job 53db8eca-cf4c-4eb6-a9f2-a37d54af0f7d
> (bicrxm) 🐱 >
>
>

--
Daan




 



Re: Unable to add host error ACS

2021-06-27 Thread Rohit Yadav
Thanks for sharing, glad the issue is resolved. The specific issue only affects 
4.15.0.0 and older releases, this issue is however fixed in 4.15.1.0.

After adding hosts you may actually revert the original sshd configuration.


Regards.


From: Technologyrss Mail 
Sent: Sunday, June 27, 2021 13:03
To: Wei ZHOU ; dev@cloudstack.apache.org 

Subject: Re: Unable to add host error ACS


Thank you so much!
This 3 lines add into sshd_config file and restart sshd service then solved!

PubkeyAcceptedKeyTypes=+ssh-dss
HostKeyAlgorithms=+ssh-dss
KexAlgorithms=+diffie-hellman-group1-sha1

I am always try to find out ACS properly working with latest OS with latest 
version. I have Tech blog with YouTube channel.
Always I am appropriate your help & working as previous.

---
Alamin

On 6/27/2021 1:15 PM, Wei ZHOU wrote:
Hi,

Have you tried with 
http://docs.cloudstack.apache.org/en/4.15.0.0/releasenotes/about.html#workaround-for-adding-newer-kvm-hosts
 ?

-Wei


 

On Sun, 27 Jun 2021 at 02:18, Technologyrss Mail 
mailto:technologyrss.m...@gmail.com>> wrote:

>From MGMT error log

[cid:part3.64E24953.345219EA@gmail.com]

>From KVM error log

[cid:part4.5B07A141.1406078A@gmail.com]

---Alamin

On 6/27/2021 12:24 AM, Wei ZHOU wrote:

Are you able to ssh into host using username/password ?

-Wei

On Sat, 26 Jun 2021 at 20:02, Technologyrss Mail <
technologyrss.m...@gmail.com> wrote:



Please see below error, This is from ACS MGMT log error.

2021-06-25 18:29:23,782 WARN [c.c.a.d.ParamGenericValidationWorker]
(qtp1644231115-18:ctx-ad53a30c ctx-da493b27) (logid:fc697fe9) Received
unknown parameters for command addHost. Unknown parameters : clustertype
2021-06-25 18:29:23,812 INFO  [c.c.r.ResourceManagerImpl]
(qtp1644231115-18:ctx-ad53a30c ctx-da493b27) (logid:fc697fe9) Trying to
add a new host at http://10.66.100.50 in data center 1
2021-06-25 18:29:24,034 WARN  [c.c.h.k.d.LibvirtServerDiscoverer]
(qtp1644231115-18:ctx-ad53a30c ctx-da493b27) (logid:fc697fe9) can't
setup agent, due to java.io.IOException: There was a problem while
connecting to 10.66.100.50:22 - There was a problem 
while connecting to
10.66.100.50:22
2021-06-25 18:29:24,037 WARN  [c.c.r.ResourceManagerImpl]
(qtp1644231115-18:ctx-ad53a30c ctx-da493b27) (logid:fc697fe9) Unable to
find the server resources at http://10.66.100.50
2021-06-25 18:29:24,049 INFO  [c.c.u.e.CSExceptionErrorCode]
(qtp1644231115-18:ctx-ad53a30c ctx-da493b27) (logid:fc697fe9) Could not
find exception: com.cloud.exception.DiscoveryException in error code
list for exceptions
2021-06-25 18:29:24,050 WARN  [o.a.c.a.c.a.h.AddHostCmd]
(qtp1644231115-18:ctx-ad53a30c ctx-da493b27) (logid:fc697fe9) Exception:
com.cloud.exception.DiscoveryException: Unable to add the host

---

Alamin

On 6/26/2021 10:18 PM, Rohit Yadav wrote:


Can you share logs, or the specific exceptions you're seeing if any? In


case you've attached them to your mail, the ML may not allow large
attachments.


Are you using ACS with basic zone on Ubuntu 20.04, both as mgmt server


and KVM host? In which case you may want to tail/investigate the logs on
both the management server and the KVM agent(s).


Regards.


From: Technologyrss Mail 

Sent: Saturday, June 26, 2021 04:52
To: dev@cloudstack.apache.org 

Subject: Unable to add host error ACS

*Hi,*

I am try to setup ACS basic zone but unable to add host. If possible
please see my ACS log.

My all server is Ubuntu 20.04. and all service are running properly.

Please help me

--

*Thanks & Regards.*

Support Admin

Facebook http://facebook.com/technologyrss>> 
| Twitter
 | 
Website <


https://technologyrss.com>


116/1 West Malibagh, D. I. T Road

Dhaka-1217, Bangladesh

*Mob :* +088 01716915504

*Email :* 
support.ad...@technologyrss.com

*Web :* 
www.technologyrss.com
 <


https://technologyrss.com>