Ask Your Question

MCo's profile - activity

2016-07-08 12:40:43 -0500 received badge  Necromancer (source)
2016-07-08 12:40:43 -0500 received badge  Teacher (source)
2015-05-22 02:35:48 -0500 received badge  Enthusiast
2015-02-17 08:18:14 -0500 answered a question Heat Virtual Machines Inaccessible

Hello,

I faced the same problem and this is how I fixed it. In the definition of the OS::Nova::Server resource, you need to add property "admin_user: ubuntu". This (now deprecated) property defines the name of the administrative user that heat associates the key to. The value depends on the operating system of the VM you are booting: "ubuntu" for Ubuntu, "fedora" for Fedora and "cloud-user” for CentOS/RHEL 6.5 (see also http://docs.openstack.org/developer/h... ). Starting from Juno, you probably can avoid this definition and the association between the admin user and the key is automatic. The reason why you cannot login if you don't specify admin_user is that heat automatically associates your key to administrative user "root" by default and independently on the operating system you are launching.

2014-11-25 19:23:14 -0500 received badge  Famous Question (source)
2014-11-25 17:19:07 -0500 received badge  Student (source)
2014-11-20 13:30:21 -0500 received badge  Famous Question (source)
2014-11-14 03:53:19 -0500 received badge  Notable Question (source)
2014-11-14 03:08:35 -0500 commented answer Where is devstack.org?

Thanks for you answer, the link looks good. I'm just wondering if the documentation I find at the link you suggest includes all the information I used to find at the old address.I noticed that some variables I used are not described (MYSQL_PASSWORD, RABBIT_PASSWORD, SERVICE_TOKEN, OFFLINE).

2014-11-10 23:45:57 -0500 received badge  Popular Question (source)
2014-11-10 10:20:34 -0500 asked a question Where is devstack.org?

Today, after some time, I tried to make an "installation" using devstack. First I tried to visit devstack.org , I was redirected to http://docs.openstack.org/developer/d... and I noticed that much of the useful documentation disappeared.

Then I tried to use devstack and, as far as I understand, the behavior has dramatically changed: localrc has been substituted by local.conf but local.conf does not work properly, many modules are installed by default while they were not installed, etc...

Does anybody know what is going on?

2014-09-25 01:22:12 -0500 commented answer Controller node vs Computer Node

To me, this is a very good answer. In addition, I would say that you can also have a look at this community document http://docs.openstack.org/icehouse/install-guide/install/apt/content/ (http://docs.openstack.org/icehouse/in...) where they explain the installation of a basic deployment.

2014-08-27 08:07:06 -0500 commented answer Defining default user-password for Ubuntu Cloud image

The answer is correct but the "/" at the beginning of the doesn't seem to work. See also https://ask.openstack.org/en/question/26817/how-to-prevent-cloud-init-from-disable-ssh-passwordauthentication/ (https://ask.openstack.org/en/question...)

2014-08-06 04:11:48 -0500 commented answer Heat: Attaching volumes to instances

It works like a charm! Thanks!

2014-08-06 04:11:14 -0500 received badge  Scholar (source)
2014-08-06 03:13:24 -0500 received badge  Notable Question (source)
2014-08-05 23:20:42 -0500 received badge  Popular Question (source)
2014-08-05 10:30:30 -0500 asked a question Heat: Attaching volumes to instances

Hello,

is there a way for attaching an already existing volume to an instance I start using heat? In other words, I don't want to create the volume to attach within the heat script, I want to attach a volume I already created before launching the heat script.

Thanks. MCo,

2014-07-24 05:21:24 -0500 commented answer ubuntu instances refuse ssh

Found the solution, at last! My real problem is the one reported https://ask.openstack.org/en/question/7156/text-editors-vim-nano-emacs-freezes-my-ssh-session-in-ubuntu-instances-1310-1304-and-12042-server/ (here). It appeared as an SSH connection problem because, very likely, Ubuntu delivers "too large" MTUs when a client connects, while cirros doesn't. The indications given in the post I reported fixes the problem. Hope it helps.

2014-07-24 04:51:36 -0500 commented answer ubuntu instances refuse ssh

Thanks for the suggestion but I've got some news. I noticed that even the SSH connection from a cirros to a client outside the cloud gives problems. They do not pop-up immediately; you can connect to cirros successfully. You experiment problems when you do something that "loads" the communication between cirros and the client outside the cloud (maybe cat-ting a long file). In such a case the communication hangs

2014-07-23 11:55:17 -0500 received badge  Editor (source)
2014-07-23 11:55:17 -0500 edited answer ubuntu instances refuse ssh

This is not an answer, it's a contribution for trying to understand what's happening here.

I'm experimenting the same problem:

  • same 3 node configuration
  • openstack IceHouse version
  • I can ping and ssh cirros (either from inside and from outside the cloud, when I associate a floating IP)
  • I can ping ubuntu either from inside and from outside the cloud BUT I cannot ssh ubuntu from outside the cloud
  • The funny thing is that I can ssh ubuntu from inside the cloud. Please note that I'm 1000% sure that the security group is fine. In fact, I can SSH cirros!

In conclusion, it seems like ubuntu does not permit SSH from outside the cloud. I repeat, security group is fine, I checked that several times with some help from colleagues

One more piece of information: ubuntu is able to access the metadata server.