Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-4865

verification of the hostname fails , because of long hostnames in /etc/hosts

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • 5.6.2
    • cmapi-6.4.1
    • cmapi
    • None
    • 2021-17

    Description

      cmapi write the hostname in columnstore.xml
      with
      socket.gethostbyaddr(hostaddr)[0] or socket.gethostbyaddr(node)[0]

      Both routine will get the hostname from
      /etc/hosts

      For validations, cmapi read hostname from columnstore.xml and compare it with
      socket.gethostname()

      socket.gethostname() returns the host shortname of the current computer.

      If in /etc/hosts is only the long names was saved, the comparisation fails,
      because the string of the host long name and the host short name are not identical.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Richard Richard Stracke
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.