cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luciano Castro <luciano.cas...@gmail.com>
Subject Re: Failed to inject generated public key into systemvm iso sudo: a password is required
Date Mon, 26 Oct 2015 11:34:32 GMT
I dont know if it´s related to this BUG:

https://issues.apache.org/jira/browse/CLOUDSTACK-2013

thanks

On Mon, Oct 26, 2015 at 9:32 AM, Luciano Castro <luciano.castro@gmail.com>
wrote:

>
> Hi,
>
> Today, I just try to log into CS interface and I couldn´t. I took a look
> in the logs and it shows me:
>
> 2015-10-26 11:27:38,756 DEBUG [c.c.s.ConfigurationServerImpl]
> (localhost-startStop-1:null) Executing: /bin/bash
> /usr/share/cloudstack-common/scripts/vm/systemvm/injectkeys.sh
> /var/cloudstack/management/.ssh/id_rsa.pub
> /var/cloudstack/management/.ssh/id_rsa
> /usr/share/cloudstack-common/vms/systemvm.iso
> 2015-10-26 11:27:38,768 DEBUG [c.c.s.ConfigurationServerImpl]
> (localhost-startStop-1:null) Exit value is 1
> 2015-10-26 11:27:38,768 DEBUG [c.c.s.ConfigurationServerImpl]
> (localhost-startStop-1:null) sudo: a password is required
> 2015-10-26 11:27:38,769 INFO  [c.c.s.ConfigurationServerImpl]
> (localhost-startStop-1:null) Injected public and private keys into systemvm
> iso with result : sudo: a password is required
> 2015-10-26 11:27:38,769 WARN  [c.c.s.ConfigurationServerImpl]
> (localhost-startStop-1:null) Failed to inject generated public key into
> systemvm iso sudo: a password is required
>
> root@opencloud-mgmt01-mia ~]#
> /usr/share/cloudstack-common/scripts/vm/systemvm/injectkeys.sh
> /var/cloudstack/management/.ssh/id_rsa.pub
> /var/cloudstack/management/.ssh/id_rsa
> /usr/share/cloudstack-common/vms/systemvm.iso
> mount: /dev/loop0 is write-protected, mounting read-only
>
>
> I updated java* and restarted the system. The problem persists.
>
> [root@opencloud-mgmt01-mia ~]# rpm -qa| grep -i java
> tzdata-java-2015g-1.el7.noarch
> java-1.7.0-openjdk-headless-1.7.0.91-2.6.2.1.el7_1.x86_64
> java-1.7.0-openjdk-devel-1.7.0.91-2.6.2.1.el7_1.x86_64
> python-javapackages-3.4.1-6.el7_0.noarch
> javamail-1.4.6-8.el7.noarch
> javassist-3.16.1-10.el7.noarch
> mysql-connector-java-5.1.25-3.el7.noarch
> java-1.7.0-openjdk-1.7.0.91-2.6.2.1.el7_1.x86_64
> java-1.8.0-openjdk-1.8.0.65-2.b17.el7_1.x86_64
> javapackages-tools-3.4.1-6.el7_0.noarch
> java-1.8.0-openjdk-headless-1.8.0.65-2.b17.el7_1.x86_64
>
>     I´m using CS 4.5.2 with CentOS Linux release 7.1.1503 (Core).
>
>     Could you help me?
>
>     thanks!
>
>
> --
> Luciano Castro
>



-- 
Luciano Castro

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message