Can't add memsql repository - Cannot find a valid baseurl for repo

Attempted to install memSQL on Fedora 27 and can’t get past step 1

yum-config-manager --add-repo https://release.memsql.com/production/rpm/x86_64/repodata/memsql.repo

Yum-utils package has been deprecated, use dnf instead.
See ‘man yum2dnf’ for more information.

Loaded plugins: fastestmirror
adding repo from: https://release.memsql.com/production/rpm/x86_64/repodata/memsql.repo
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. http://dummy
Traceback (most recent call last):
File “/usr/bin/yum-config-manager”, line 228, in
grabber = repo.grabfunc; del repo
File “/usr/lib/python2.7/site-packages/yum/yumRepo.py”, line 697, in
grabfunc = property(lambda self: self._getgrabfunc())
File “/usr/lib/python2.7/site-packages/yum/yumRepo.py”, line 687, in _getgrabfunc
self._setupGrab()
File “/usr/lib/python2.7/site-packages/yum/yumRepo.py”, line 631, in _setupGrab
urls = self.urls
File “/usr/lib/python2.7/site-packages/yum/yumRepo.py”, line 875, in
urls = property(fget=lambda self: self._geturls(),
File “/usr/lib/python2.7/site-packages/yum/yumRepo.py”, line 872, in _geturls
self._baseurlSetup()
File “/usr/lib/python2.7/site-packages/yum/yumRepo.py”, line 838, in _baseurlSetup
self.check()
File “/usr/lib/python2.7/site-packages/yum/yumRepo.py”, line 558, in check
self.ui_id, repo=self)
yum.Errors.RepoError: Cannot find a valid baseurl for repo: dummy

Looks like something is missing from https://release.memsql.com/production/rpm/x86_64
<?xml version=“1.0” encoding=“ISO-8859-1”?>

<Error> <Code>NoSuchKey</Code> <Message>The specified key does not exist.</Message><Key>freya/production/rpm/x86_64</Key><RequestId>918DEBDF749165FC</RequestId><HostId>4PKs/ij+s2PTD0qVHkH3EX6Dhouh542HHHxZWcsptiot6/oAn901w5LssbsW2etcyGuX62wYvRI=</HostId></Error>

and using dnf:

dnf config-manager --add-repo https://release.memsql.com/production/rpm/x86_64/repodata/memsql.repo

Adding repo from: https://release.memsql.com/production/rpm/x86_64/repodata/memsql.repo
[root@red02 yum.repos.d]# dnf repolist
Traceback (most recent call last):
File “/usr/bin/dnf”, line 58, in
main.user_main(sys.argv[1:], exit_code=True)
File “/usr/lib/python3.6/site-packages/dnf/cli/main.py”, line 179, in user_main
errcode = main(args)
File “/usr/lib/python3.6/site-packages/dnf/cli/main.py”, line 64, in main
return _main(base, args, cli_class, option_parser_class)
File “/usr/lib/python3.6/site-packages/dnf/cli/main.py”, line 99, in _main
return cli_run(cli, base)
File “/usr/lib/python3.6/site-packages/dnf/cli/main.py”, line 115, in cli_run
cli.run()
File “/usr/lib/python3.6/site-packages/dnf/cli/cli.py”, line 1013, in run
self._process_demands()
File “/usr/lib/python3.6/site-packages/dnf/cli/cli.py”, line 766, in _process_demands
load_available_repos=self.demands.available_repos)
File “/usr/lib/python3.6/site-packages/dnf/base.py”, line 353, in fill_sack
self._add_repo_to_sack(r)
File “/usr/lib/python3.6/site-packages/dnf/base.py”, line 122, in _add_repo_to_sack
hrepo.filelists_fn = repo._filelists_fn
TypeError: Expected a string or a unicode object

And with a fresh install of Fedora 29:
[root@localhost ~]# dnf config-manager --add-repo https://release.memsql.com/pro
Adding repo from: https://release.memsql.com/production/rpm/x86_64/repodata/mems
[root@localhost ~]# dnf repolist
Fedora Modular 29 - x86_64
Fedora Modular 29 - x86_64 - Updates
Fedora 29 - x86_64 - Updates
Fedora 29 - x86_64
MemSQL
Segmentation fault (core dumped)

Per our system-requirements documentation we only support centos/rhel officially. If you want to install MemSQL software on Fedora we recommend downloading the RPM directly rather than using the Yum repo. We are still finishing our detailed “manual install docs” which outlines how to get RPM’s directly - so in the meantime here are the basic instructions:

You can lookup the latest release of any MemSQL product from our release index:

$ curl https://release.memsql.com/production/index/memsqlserver/latest.json
{                         
  "releaseID": "8a971bcf-025a-43ba-b463-f380be90f2e5",
  "version": "6.7.10",
  "commit": "e69057eaa425030f6b6d9036d77c55a56e017d70",
  "packages": {
    "memsql-server-deb": {
      "Path": "production/debian/pool/memsql-server_6.7.10_e69057eaa4_amd64.deb",
      "Sha256Sum": "3cb8e9656855d521e20d782eab281b0817e53621182f11566e47398c7928b952"
    },
    "memsql-server-rpm": {
      "Path": "production/rpm/x86_64/memsql-server-6.7.10-e69057eaa4.x86_64.rpm",
      "Sha256Sum": "8fbb915966e7ca8e75389caa8f81b5089238c7a21b58323aaa5bb5fe70052968"
    },
    "memsql-server-tar": {
      "Path": "production/tar/x86_64/memsql-server-6.7.10-e69057eaa4.x86_64.tar.gz",
      "Sha256Sum": "22e40b5a8a9e2332b814a0005c8d96e8f71875ffadd455a53ba72b2f243c2a73"
    },
    "memsql-symbols-tar": {
      "Path": "production/tar/x86_64/memsql-symbols-6.7.10-e69057eaa4.x86_64.tar.gz",
      "Sha256Sum": "afb929c2f7d457e42930c0e04671afd1d85be8b66d83324cf4b7fa8ba5b7a69f"
    }
  }
}

From here just take the relative path to the package you want and append it to the release base url:

For example, if you want to install the rpm you would take the path production/rpm/x86_64/memsql-server-6.7.10-e69057eaa4.x86_64.rpm and append it to https://release.memsql.com to get the final url:
https://release.memsql.com/production/rpm/x86_64/memsql-server-6.7.10-e69057eaa4.x86_64.rpm

Other products can be retrieved by replacing the word memsqlserver in the index url with one of:
memsqlstudio, memsqltoolbox, memsqlclient