[Openstack] Fedora/cirros instance failed to set root password
somshekar kadam
som_kadam at yahoo.co.in
Fri Dec 19 13:07:19 UTC 2014
Hi Girija Sharan,
I tried it it is giving me
[fedora at blabla ~]$ passwd
Changing password for user fedora.
Changing password for fedora.
(current) UNIX password:
passwd: Authentication token manipulation error
[fedora at blabla ~]$
[fedora at blabla ~]$ su - root
Password:
su: Authentication failure
here is the admin pass as shown below "uTU3H5er7yZS"
I enter this password gives error
i the above commands used the same admin pass
stack at celestial-PC-1:~/devstack$ nova boot --flavor 3 --image 9d30b9b5-d648-4af1-ad24-d5792d3f1909 --key-name nnnn --security-group default blabla
+--------------------------------------+----------------------------------------------------------------------+
| Property | Value |
+--------------------------------------+----------------------------------------------------------------------+
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-AZ:availability_zone | nova |
| OS-EXT-SRV-ATTR:host | - |
| OS-EXT-SRV-ATTR:hypervisor_hostname | - |
| OS-EXT-SRV-ATTR:instance_name | instance-00000001 |
| OS-EXT-STS:power_state | 0 |
| OS-EXT-STS:task_state | scheduling |
| OS-EXT-STS:vm_state | building |
| OS-SRV-USG:launched_at | - |
| OS-SRV-USG:terminated_at | - |
| accessIPv4 | |
| accessIPv6 | |
| adminPass | uTU3H5er7yZS |
| config_drive | |
| created | 2014-12-19T12:29:45Z |
| flavor | m1.medium (3) |
| hostId | |
| id | 898a3c21-c1bf-4325-93ac-f14315dd2210 |
| image | Fedora-x86_64-20-20140618-sda (9d30b9b5-d648-4af1-ad24-d5792d3f1909) |
| key_name | nnnn |
| metadata | {} |
| name | blabla |
| os-extended-volumes:volumes_attached | [] |
| progress | 0 |
| security_groups | default |
| status | BUILD |
| tenant_id | 2d51ee7250aa4532801f83fda82468fc |
| updated | 2014-12-19T12:29:46Z |
| user_id | f923e8ad018a40c4a315fa1c23126eed |
+--------------------------------------+----------------------------------------------------------------------+
Regards
Neelu
On Friday, 19 December 2014 3:25 PM, Girija Sharan <girijasharansingh at gmail.com> wrote:
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 groupsPC-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/cbf85a44/attachment.html>
More information about the Openstack
mailing list