[Openstack] Fedora/cirros instance failed to set root password

Girija Sharan girijasharansingh at gmail.com
Fri Dec 19 09:54:57 UTC 2014


Hi Som,

As you said, you are able to ssh into the instance using keypair, why don't
you just ssh into that and set root password using 'passwd' command or
create another user with root permissions ?

On Fri, Dec 19, 2014 at 3:06 PM, somshekar kadam <som_kadam at yahoo.co.in>
wrote:
>
> Hi Girija Sharan,
>
> Thanks for pointing the link I will try and let me see if it works.
> I just need to set the root pasword so that I can install apache wbserver
> on this instance.
> Is there any other best method to do it, which I not know.
>
> thanks in advance
>
>
> Regards
> Neelu
>
>
>   On Friday, 19 December 2014 2:44 PM, Girija Sharan <
> girijasharansingh at gmail.com> wrote:
>
>
> Hi Som,
>
> Not sure on what you are looking for. But here is a link which describe
> how to set root password during instance boot up.
>
>
> http://kimizhang.wordpress.com/2014/03/18/how-to-inject-filemetassh-keyroot-passworduserdataconfig-drive-to-a-vm-during-nova-boot/
>
>
> On Fri, Dec 19, 2014 at 2:19 PM, somshekar kadam <som_kadam at yahoo.co.in>
> wrote:
>
> Hi All,
>
> I am trying to set root password on Fedora-x86_64-20-20140618-sda/cirros
> instance it fails .
> DO I need to add anyother security rules, please what I am missing.
> I need to install apache webserver on this instance.
>
> Thanks in advance
>
>   nova root-password gggg
> New password:
> Again:
> ERROR (HTTPNotImplemented): Unable to set password on instance (HTTP 501)
> (Request-ID: req-6d0eebe3-68c5-4d8d-80b7-8d4639b7c2d4)
>
> I have set all rules for security groups
> PC-1:~/devstack$ nova secgroup-list-rules default
> +-------------+-----------+---------+-----------+--------------+
> | IP Protocol | From Port | To Port | IP Range  | Source Group |
> +-------------+-----------+---------+-----------+--------------+
> | icmp        | -1        | -1      | 0.0.0.0/0 |              |
> | tcp         | 1         | 65535   | 0.0.0.0/0 |              |
> | udp         | 1         | 65535   | 0.0.0.0/0 |              |
> | tcp         | 22        | 22      | 0.0.0.0/0 |              |
> | tcp         | 80        | 80      | 0.0.0.0/0 |              |
> | tcp         | 443       | 443     | 0.0.0.0/0 |              |
> | tcp         | 3306      | 3306    | 0.0.0.0/0 |              |
> | tcp         | 53        | 53      | 0.0.0.0/0 |              |
> +-------------+-----------+---------+-----------+--------------+
>
>
> Regards
> Neelu
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20141219/3b7d62d6/attachment.html>


More information about the Openstack mailing list