easyengine icon indicating copy to clipboard operation
easyengine copied to clipboard

FQDN bug

Open rahul286 opened this issue 12 years ago • 8 comments

@gau1991

I ran ee update on digitalocean which alread has FQDN.

Still, it prompted me for FQDN.

ssh root demo rtcamp com -v root demo rtcamp com ssh 130x27

There are more mistakes here:

  1. I did not ask ee to install mail stack.
  2. I did not install ee freshly. Just updated it.

Why FQDN check is added in above 2 cases?

rahul286 avatar Sep 06 '14 16:09 rahul286

@rahul286 , EasyEngine check following command to get hostname

hostname -f

It returns FQDN of server.

on demo.rtcamp.com this commands returns following output:

^_^[[email protected]:~]# hostname -f 
localhost

Which is not FQDN.

Also, As per discussion with @MiteshShah , we decided that, EasyEngine must check FQDN during installation/updation only

gau1991 avatar Sep 06 '14 16:09 gau1991

Also, As per discussion with @MiteshShah , we decided that, EasyEngine must check FQDN during installation/updation only

You guys took wrong decision.

FQDN check is needed for mail server only. So it must not scare a user who is not interested in mail.

Also, we did not add explanation or description about FQDN. Did not show current FQDN value.

About demo.rtcamp.com

O_O[[email protected]:~]# hostname
demo.rtcamp.com

Why it is different than hostname -f?

rahul286 avatar Sep 06 '14 17:09 rahul286

On demo.rtcamp.com,

^_^[[email protected]:~]# head -1 /etc/hosts
127.0.0.1   localhost demo demo.rtcamp.com

Now I changed that to

^_^[[email protected]:~]# head -1 /etc/hosts
127.0.0.1   demo.rtcamp.com demo localhost

Now it returns correct hostname:

^_^[[email protected]:~]# hostname -f
demo.rtcamp.com

gau1991 avatar Sep 06 '14 17:09 gau1991

Fine.

Fix FQDN also.

EasyEngine should be Easy first! Don't ask a user something that EasyEngine can work without!

rahul286 avatar Sep 06 '14 17:09 rahul286

I ran into an issue yesterday testing on a local XenServer install and EasyEngine would not install until I setup a FQDN. These where just backend web servers and don't need any mailserver. Can there be an option to ask if we want to install the mailserver please. Or a command to install without it. I know many people have been waiting for this release but I run ee on 6 backends and I would hate to remove it every time I add a new node.

aronwp avatar Sep 06 '14 17:09 aronwp

@aronwp I can understand your frustration. We will fix this behavior/bug soon.

rahul286 avatar Sep 06 '14 17:09 rahul286

@rahul286 great to hear. Don't worry frustration and sys admin tasks go together sometimes. EasyEngine has made my life easier. Thanks for all the hard work.

aronwp avatar Sep 06 '14 17:09 aronwp

@aronwp thanks for your understanding and your feedback :-)

We will do our best to keep things Easy and frustrationless.

rahul286 avatar Sep 06 '14 17:09 rahul286