<html><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:16px"><div dir="ltr">Hi Georgios Dimitrakakis/Girija Sharan,</div><div dir="ltr"><br></div><div dir="ltr">Thanks for help, now I am bale to ssh and able to change root passwd. <br></div><div id="yui_3_16_0_1_1418991987165_215961"><div dir="ltr">I ssh and they say sudo su as told by Georgios I am loged in as root, the using root command able to set new passwd for root. <br></div><div dir="ltr"><br></div><div dir="ltr">Now I am ble to run YUM, I seeing that I am not able to ping outside world I am able to ping my controller host 10.10.126.62. <br></div><div dir="ltr"><br></div><div dir="ltr">And my instance IP fixed one is 10.4.128.4 and floating IP is 10.10.126.133,</div><div dir="ltr"><br></div><div id="yui_3_16_0_1_1418991987165_215960" dir="ltr">I am also able to ping other host which is not running the instance 10.10.126.54. I am looking into it. <br></div><div dir="ltr"><br></div><div dir="ltr">route -n shows</div><div id="yui_3_16_0_1_1418991987165_215971" dir="ltr">[root@sunday fedora]# route -n<br style="" class="">Kernel IP routing table<br style="" class="">Destination     Gateway         Genmask         Flags Metric Ref    Use Iface<br style="" class="">0.0.0.0         10.4.128.3      0.0.0.0         UG    0      0        0 eth0<br style="" class="">10.4.128.0      0.0.0.0         255.255.240.0   U     0      0        0 eth0<br style="" class=""></div><div id="yui_3_16_0_1_1418991987165_217430" dir="ltr"><br></div><div id="yui_3_16_0_1_1418991987165_217431" dir="ltr"><br></div><div id="yui_3_16_0_1_1418991987165_217432" dir="ltr">I amnot able to ping google.com</div><div id="yui_3_16_0_1_1418991987165_217433" dir="ltr">looking into it. <br></div><div id="yui_3_16_0_1_1418991987165_217434" dir="ltr"><br></div><div id="yui_3_16_0_1_1418991987165_217435" dir="ltr">thanks in advance <br></div><div id="yui_3_16_0_1_1418991987165_217436" dir="ltr"><br></div><div id="yui_3_16_0_1_1418991987165_217437" dir="ltr">regards</div><div id="yui_3_16_0_1_1418991987165_217438" dir="ltr">Neelu</div><div id="yui_3_16_0_1_1418991987165_217439" dir="ltr"><br></div><div id="yui_3_16_0_1_1418991987165_217440" style="" class="" dir="ltr"><br style="" class=""></div></div><div><div>
<br>Regards
<br>Neelu</div></div> <div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: Helvetica Neue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 12px;"> <div dir="ltr"> <font face="Arial" size="2"> On Friday, 19 December 2014 8:19 PM, Georgios Dimitrakakis <giorgis@acmac.uoc.gr> wrote:<br> </font> </div>  <br><br> <div class="y_msg_container"> Doing that is changing the password for "fedora" user and not "root"<br clear="none"><br clear="none"><br clear="none"> When you ssh as the "fedora" user do "sudo su" and you will be able to <br clear="none"> login as "root" directly provided that the keys have been correctly <br clear="none"> injected.<br clear="none"><br clear="none"> You can then set the password for "root"<br clear="none"><br clear="none"> Best,<br clear="none"><br clear="none"> George<br clear="none"><br clear="none">> Hi Girija Sharan,<br clear="none">><br clear="none">> I tried it it is giving me<br clear="none">><br clear="none">> [<a shape="rect" ymailto="mailto:fedora@blabla" href="mailto:fedora@blabla">fedora@blabla</a> ~]$ passwd<br clear="none">> Changing password for user fedora.<br clear="none">> Changing password for fedora.<br clear="none">> (current) UNIX password:<br clear="none">> passwd: Authentication token manipulation error<br clear="none">> [<a shape="rect" ymailto="mailto:fedora@blabla" href="mailto:fedora@blabla">fedora@blabla</a> ~]$<br clear="none">><br clear="none">> [<a shape="rect" ymailto="mailto:fedora@blabla" href="mailto:fedora@blabla">fedora@blabla</a> ~]$ su - root<br clear="none">> Password:<br clear="none">> su: Authentication failure<br clear="none">><br clear="none">> here is the admin pass as shown below "uTU3H5er7yZS"<br clear="none">><br clear="none">> I enter this password gives error<br clear="none">><br clear="none">> i the above commands used the same admin pass<br clear="none">><br clear="none">> <a shape="rect" ymailto="mailto:stack@celestial-PC-1" href="mailto:stack@celestial-PC-1">stack@celestial-PC-1</a>:~/devstack$ nova boot --flavor 3 --image<br clear="none">> 9d30b9b5-d648-4af1-ad24-d5792d3f1909 --key-name nnnn --security-group<br clear="none">> default blabla<br clear="none">> <br clear="none">> +--------------------------------------+----------------------------------------------------------------------+<br clear="none">> | Property | Value |<br clear="none">> <br clear="none">> +--------------------------------------+----------------------------------------------------------------------+<br clear="none">> | OS-DCF:diskConfig | MANUAL |<br clear="none">> | OS-EXT-AZ:availability_zone | nova |<br clear="none">> | OS-EXT-SRV-ATTR:host | - |<br clear="none">> | OS-EXT-SRV-ATTR:hypervisor_hostname | - |<br clear="none">> | OS-EXT-SRV-ATTR:instance_name | instance-00000001 |<br clear="none">> | OS-EXT-STS:power_state | 0 |<br clear="none">> | OS-EXT-STS:task_state | scheduling |<br clear="none">> | OS-EXT-STS:vm_state | building |<br clear="none">> | OS-SRV-USG:launched_at | - |<br clear="none">> | OS-SRV-USG:terminated_at | - |<br clear="none">> | accessIPv4 | |<br clear="none">> | accessIPv6 | |<br clear="none">> | adminPass | uTU3H5er7yZS |<br clear="none">> | config_drive | |<br clear="none">> | created | 2014-12-19T12:29:45Z |<br clear="none">> | flavor | m1.medium (3) |<br clear="none">> | hostId | |<br clear="none">> | id | 898a3c21-c1bf-4325-93ac-f14315dd2210 |<br clear="none">> | image | Fedora-x86_64-20-20140618-sda<br clear="none">> (9d30b9b5-d648-4af1-ad24-d5792d3f1909) |<br clear="none">> | key_name | nnnn |<br clear="none">> | metadata | {} |<br clear="none">> | name | blabla |<br clear="none">> | os-extended-volumes:volumes_attached | [] |<br clear="none">> | progress | 0 |<br clear="none">> | security_groups | default |<br clear="none">> | status | BUILD |<br clear="none">> | tenant_id | 2d51ee7250aa4532801f83fda82468fc |<br clear="none">> | updated | 2014-12-19T12:29:46Z |<br clear="none">> | user_id | f923e8ad018a40c4a315fa1c23126eed |<br clear="none">> <br clear="none">> +--------------------------------------+----------------------------------------------------------------------+<br clear="none">><br clear="none">> Regards<br clear="none">> Neelu<br clear="none">><br clear="none">>   On Friday, 19 December 2014 3:25 PM, Girija Sharan  wrote:<br clear="none">><br clear="none">> Hi Som,<br clear="none">><br clear="none">> As you said, you are able to ssh into the instance using keypair, why<br clear="none">> don't you just ssh into that and set root password using 'passwd'<br clear="none">> command or create another user with root permissions ?<br clear="none">><br clear="none">> On Fri, Dec 19, 2014 at 3:06 PM, somshekar kadam  wrote:<br clear="none">><br clear="none">>> Hi Girija Sharan,<br clear="none">>><br clear="none">>> Thanks for pointing the link I will try and let me see if it works.<br clear="none">>><br clear="none">>> I just need to set the root pasword so that I can install apache<br clear="none">>> wbserver on this instance.<br clear="none">>><br clear="none">>> Is there any other best method to do it, which I not know.<br clear="none">>><br clear="none">>> thanks in advance<br clear="none">>><br clear="none">>> Regards<br clear="none">>> Neelu<br clear="none">>><br clear="none">>> On Friday, 19 December 2014 2:44 PM, Girija Sharan wrote:<br clear="none">>><br clear="none">>> Hi Som,<br clear="none">>><br clear="none">>> Not sure on what you are looking for. But here is a link which<br clear="none">>> describe<br clear="none">>><br clear="none">>> how to set root password during instance boot up.<br clear="none">>><br clear="none">>><br clear="none">> <br clear="none">> <a shape="rect" href="http://kimizhang.wordpress.com/2014/03/18/how-to-inject-filemetassh-keyroot-passworduserdataconfig-drive-to-a-vm-during-nova-boot/" target="_blank">http://kimizhang.wordpress.com/2014/03/18/how-to-inject-filemetassh-keyroot-passworduserdataconfig-drive-to-a-vm-during-nova-boot/</a><br clear="none">>> [10]<br clear="none">>><br clear="none">>> On Fri, Dec 19, 2014 at 2:19 PM, somshekar kadam wrote:<br clear="none">>><br clear="none">>>> Hi All,<br clear="none">>>><br clear="none">>>> I am trying to set root password on<br clear="none">>>> Fedora-x86_64-20-20140618-sda/cirros instance it fails .<br clear="none">>>> DO I need to add anyother security rules, please what I am<br clear="none">>>> missing.<br clear="none">>>> I need to install apache webserver on this instance.<br clear="none">>>><br clear="none">>>> Thanks in advance<br clear="none">>>><br clear="none">>>> nova root-password gggg<br clear="none">>>> New password:<br clear="none">>>> Again:<br clear="none">>>> ERROR (HTTPNotImplemented): Unable to set password on instance<br clear="none">>>> (HTTP 501) (Request-ID: req-6d0eebe3-68c5-4d8d-80b7-8d4639b7c2d4)<br clear="none">>>><br clear="none">>>> I have set all rules for security groups<br clear="none">>>> PC-1:~/devstack$ nova secgroup-list-rules default<br clear="none">>>> +-------------+-----------+---------+-----------+--------------+<br clear="none">>>> | IP Protocol | >From Port | To Port | IP Range | Source Group |<br clear="none">>>> +-------------+-----------+---------+-----------+--------------+<br clear="none">>>> | icmp | -1 | -1 | MAILSCANNER WARNING: NUMERICAL LINKS ARE OFTEN<br clear="none">>>> MALICIOUS: 0.0.0.0/0 [1] | |<br clear="none">>>> | tcp | 1 | 65535 | MAILSCANNER WARNING: NUMERICAL LINKS ARE OFTEN<br clear="none">>>> MALICIOUS: 0.0.0.0/0 [2] | |<br clear="none">>>> | udp | 1 | 65535 | MAILSCANNER WARNING: NUMERICAL LINKS ARE OFTEN<br clear="none">>>> MALICIOUS: 0.0.0.0/0 [3] | |<br clear="none">>>> | tcp | 22 | 22 | MAILSCANNER WARNING: NUMERICAL LINKS ARE OFTEN<br clear="none">>>> MALICIOUS: 0.0.0.0/0 [4] | |<br clear="none">>>> | tcp | 80 | 80 | MAILSCANNER WARNING: NUMERICAL LINKS ARE OFTEN<br clear="none">>>> MALICIOUS: 0.0.0.0/0 [5] | |<br clear="none">>>> | tcp | 443 | 443 | MAILSCANNER WARNING: NUMERICAL LINKS ARE OFTEN<br clear="none">>>> MALICIOUS: 0.0.0.0/0 [6] | |<br clear="none">>>> | tcp | 3306 | 3306 | MAILSCANNER WARNING: NUMERICAL LINKS ARE<br clear="none">>>> OFTEN MALICIOUS: 0.0.0.0/0 [7] | |<br clear="none">>>> | tcp | 53 | 53 | MAILSCANNER WARNING: NUMERICAL LINKS ARE OFTEN<br clear="none">>>> MALICIOUS: 0.0.0.0/0 [8] | |<br clear="none">>>> +-------------+-----------+---------+-----------+--------------+<br clear="none">>>><br clear="none">>>> Regards<br clear="none">>>> Neelu<br clear="none">><br clear="none">><br clear="none">><br clear="none">> Links:<br clear="none">> ------<br clear="none">> [1] <a shape="rect" href="http://0.0.0.0/0" target="_blank" onclick="return theMainWindow.showLinkWarning(this)">http://0.0.0.0/0</a><br clear="none">> [2] <a shape="rect" href="http://0.0.0.0/0" target="_blank" onclick="return theMainWindow.showLinkWarning(this)">http://0.0.0.0/0</a><br clear="none">> [3] <a shape="rect" href="http://0.0.0.0/0" target="_blank" onclick="return theMainWindow.showLinkWarning(this)">http://0.0.0.0/0</a><br clear="none">> [4] <a shape="rect" href="http://0.0.0.0/0" target="_blank" onclick="return theMainWindow.showLinkWarning(this)">http://0.0.0.0/0</a><br clear="none">> [5] <a shape="rect" href="http://0.0.0.0/0" target="_blank" onclick="return theMainWindow.showLinkWarning(this)">http://0.0.0.0/0</a><br clear="none">> [6] <a shape="rect" href="http://0.0.0.0/0" target="_blank" onclick="return theMainWindow.showLinkWarning(this)">http://0.0.0.0/0</a><br clear="none">> [7] <a shape="rect" href="http://0.0.0.0/0" target="_blank" onclick="return theMainWindow.showLinkWarning(this)">http://0.0.0.0/0</a><br clear="none">> [8] <a shape="rect" href="http://0.0.0.0/0" target="_blank" onclick="return theMainWindow.showLinkWarning(this)">http://0.0.0.0/0</a><br clear="none">> [9] mailto:<a shape="rect" ymailto="mailto:girijasharansingh@gmail.com" href="mailto:girijasharansingh@gmail.com">girijasharansingh@gmail.com</a><br clear="none">> [10]<br clear="none">> <br clear="none">> <a shape="rect" href="http://kimizhang.wordpress.com/2014/03/18/how-to-inject-filemetassh-keyroot-passworduserdataconfig-drive-to-a-vm-during-nova-boot/" target="_blank">http://kimizhang.wordpress.com/2014/03/18/how-to-inject-filemetassh-keyroot-passworduserdataconfig-drive-to-a-vm-during-nova-boot/</a><br clear="none">> [11] mailto:<a shape="rect" ymailto="mailto:som_kadam@yahoo.co.in" href="mailto:som_kadam@yahoo.co.in">som_kadam@yahoo.co.in</a><br clear="none">> [12] mailto:<a shape="rect" ymailto="mailto:som_kadam@yahoo.co.in" href="mailto:som_kadam@yahoo.co.in">som_kadam@yahoo.co.in</a><div class="yqt4318244029" id="yqtfd37451"><br clear="none"><br clear="none"></div><br><br></div>  </div> </div>  </div> </div></body></html>