LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Virtualization and Cloud (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/)
-   -   How to install an OpenStack env under Slackware (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/how-to-install-an-openstack-env-under-slackware-4175571642/)

antuanS 02-07-2016 06:46 AM

How to install an OpenStack env under Slackware
 
I'm on Slackware, and I want to know how to install OpenStack. Because Everything is done for Ubuntu, Fedora, but not for Slackware. It looks like we are not allowed to install an OpenStack cloud environment under Slackware? who knows?
I say OpenStack, but it's the same for Apache CloudStack and so on.

Linux is Ubuntu?

berndbausch 02-08-2016 05:09 PM

Linux is an operating system kernel, so in that sense Ubuntu is not Linux. Neither is Slackware.

Ubuntu and friends package OpenStack, so that it's easier to install it (still hard to do manually, though worthwhile as a learning experience). If Slackware doesn't have OpenStack packages, it's not OpenStack's fault.

You can just get the software from Git, see https://wiki.openstack.org/wiki/Getting_The_Code. It will be hard to resolve dependencies and conflicts, though.

antuanS 02-09-2016 08:15 AM

Thanks for your reply. What bothers me is that one is forced to change his environment, only to install something. Or, spending 10 years to solve problems of dependencies it will not solve.

The alternative will be to install it in a virtual environnement, however, I do not want to run it in kvm or in virtualbox. Firejail seems to be an intersting alternative like freebsd jails. but I encounter a problem; the creation of a user in it and the option to switch user to sudo.

I am also looking to see if it is possible to install OpenStack under freebsd using linux compability?

rmcconnell 04-30-2016 11:18 AM

Quote:

Originally Posted by antuanS (Post 5497496)
Thanks for your reply. What bothers me is that one is forced to change his environment, only to install something. Or, spending 10 years to solve problems of dependencies it will not solve.

The alternative will be to install it in a virtual environnement, however, I do not want to run it in kvm or in virtualbox. Firejail seems to be an intersting alternative like freebsd jails. but I encounter a problem; the creation of a user in it and the option to switch user to sudo.

I am also looking to see if it is possible to install OpenStack under freebsd using linux compability?

The core problem is that the OpenStack installer depends on 'Linux Standard Base' (LSB) which the Slackware developers and users see as a serious bug. I'm also pretty sure none of the BSD communities would even consider adopting it. I am aware of one web site that was created to deal with this issue, but it doesn't appear that they have made much headway. That site is <www.doka.us/>.

I have pretty much the same problem. I have a spare server (Dell R610) and would like to install OpenStack to play around with. But after 23 years using Slackware, I have no interest in using any of the less dependable distributions on it.

dyasny 05-02-2016 08:33 AM

Openstack is designed to run on servers, it's an IaaS platform. Slackware, with all due respect, is not a server distribution. If you want to have Slackware working with openstack, the code is open, please feel free to do the packaging. Maybe a few individuals on the planet will actually use it just for laughs.

rmcconnell 05-02-2016 09:24 AM

I beg to differ, but Slackware is a general purpose distribution. The installation scripts are currently optimized for workstations, but with a little careful pruning it works quite well on servers as well. I always do a custom install to remove most of the flotsam and jetsam anyway, so leaving X and a few other extraneous packages out of a server install is quite easy to do. Then pick up a few items from the SlackBuilds <https://slackbuilds.org/> repository and off we go. But then I have seen people at my last employer do enough RHEL and CentOS server installations to know they had to do just as much pruning there if not more. And most of theirs consisted of removing the unwanted packages after the install scripts ran.

No, the root problem is the LSB dependency of OpenStack. There are only a few boutique distributions that were corrupted by that project, but they are the ones pulling OpenStack in that direction. I'm not familiar enough with it to know if it is possible to run it on either Slackware or BSD even if it could be installed.

dyasny 05-02-2016 02:48 PM

Quote:

Originally Posted by rmcconnell (Post 5539502)
I beg to differ, but Slackware is a general purpose distribution.

In theory - yes. But frankly, besides a bunch of ouvert fanboys, who would put it in production (and I mean a serious project, not a LAMP server to play with). Slackware is great for students to start their Linux journey, it's great for folks who want t really understand how the internals work, because the distro forces you to get in there, much like the python syntax forces you to do proper indentation.

Quote:

The installation scripts are currently optimized for workstations, but with a little careful pruning it works quite well on servers as well.
you said it - installation__scripts__. I rest my case.


Quote:

I always do a custom install
And while you do that, I'll probably finish deploying a hundred RHEL nodes in a real environment. They might lag by maybe a fraction of a second here and there, but they are already in place and working, while you keep tinkering. I love to tinker too, but work is work, and hobbies are hobbies.

Quote:

But then I have seen people at my last employer do enough RHEL and CentOS server installations to know they had to do just as much pruning there if not more. And most of theirs consisted of removing the unwanted packages after the install scripts ran.
In my 10+ years deploying Linux servers, I have maybe had to do "pruning" a few times, and mostly that was due to windows interoperability (like getting samba to work faster than a windows server). And in that time, hardware got so ridiculously powerful, squeezing that extra portion of a percent isn't worth the trouble. Servers should be easy to redeploy, and once you get to tinkering, it's very easy to lose track of every little twist of the screwdriver.
Quote:

No, the root problem is the LSB dependency of OpenStack. There are only a few boutique distributions that were corrupted by that project, but they are the ones pulling OpenStack in that direction. I'm not familiar enough with it to know if it is possible to run it on either Slackware or BSD even if it could be installed.
Openstack is very large, very hard to maintain and very very hard to port between distributions. It's a huge effort, porting this monster, and only paying corporations are really capable of providing the manpower to do that. Those corporations will also never use boutique distributions like slackware or gentoo in production, because they are unsupportable at scale.

In short, while you might be a fan, and I have friends who also are fans, heck, I've used slackware myself when I was starting out, in the real world out there, slackware isn't considered a server distribution. You may rant about it, or you may try and port whatever you like to slackware yourself, but it will not see any use either way, just like slackware doesn't see any use in a corporate environment. And openstack isn't really worth deploying anywhere else anyway.

rmcconnell 05-03-2016 07:46 AM

"In my 10+ years deploying Linux servers, I have maybe had to do "pruning" a few times,"

To each his own. The folks I watched were doing PCI systems, and most of that pruning was necessary to clean up security issues so we could accept credit card payments. When I retired we were approaching a million transactions a month.

"Those corporations will also never use boutique distributions like slackware or gentoo in production, because they are unsupportable at scale."

I'm afraid you have that backwards. Slackware is one of the few pure distributions left. It is the kits based on LSB that are the boutique distributions. They were tweaked with superfluous frills and buttons to make them appear more valuable than they really were. Unfortunately, as a marketing ploy it has worked all too well. Even those developers that should have known better have taken the bait. Of course, having a few companies with money to throw at them didn't hurt. Slackware has never had that level of support.

But Slackware is what Patrick and his community want it to be. The only support it really lacks for production use is a cadre of qualified testers and alternate sets of scripts. If that were desired, I'm sure the necessary resources would show up.

dyasny 05-03-2016 08:39 AM

Quote:

Originally Posted by rmcconnell (Post 5539928)
To each his own. The folks I watched were doing PCI systems, and most of that pruning was necessary to clean up security issues so we could accept credit card payments. When I retired we were approaching a million transactions a month.

and yet, was slackware used?


Quote:

I'm afraid you have that backwards. Slackware is one of the few pure distributions left. It is the kits based on LSB that are the boutique distributions. They were tweaked with superfluous frills and buttons to make them appear more valuable than they really were. Unfortunately, as a marketing ploy it has worked all too well. Even those developers that should have known better have taken the bait. Of course, having a few companies with money to throw at them didn't hurt. Slackware has never had that level of support.
and it never will. without package management, things become very complex and the amount of actions required to achieve the same goal becomes ridiculous. Not to mention the fact that having to compile things locally is completely unscalable, and doesn't do much for configuration repeatability.

Quote:

But Slackware is what Patrick and his community want it to be. The only support it really lacks for production use is a cadre of qualified testers and alternate sets of scripts. If that were desired, I'm sure the necessary resources would show up.
That's all it will ever be - Patrick and community. Look at openstack, it has a huge following achieved in just a handful of years. Slackware has been around since the very start, and it never had a chance to achieve the same kind of following. So it all boils down to whether you want to be out there on the margins, or in the middle of the actual progress. I personally prefer the latter, that's what puts the bread and butter on my table after all.

Slax-Dude 05-05-2016 11:57 AM

Quote:

Originally Posted by dyasny (Post 5539958)
without package management, things become very complex and the amount of actions required to achieve the same goal becomes ridiculous. Not to mention the fact that having to compile things locally is completely unscalable, and doesn't do much for configuration repeatability.

Here we go again *sigh*
Slackware has a package manager.
I can make my own package repository in 30 seconds by running a script and point the package manager to it.
Using templates I can deploy a slackware server just as easily as a redhat one.
(ie: slackpkg install-template LAMP / slackpkg install-template KVM-node / slackpkg install-template openstack)

Granted: populating the repository with your own custom packages and building the templates is not trivial... but you only have to do it once and deploy X times.

ON TOPIC
Nobody bothered to package openstack for Slackware yet, but that is not openstack's fault.

dyasny 05-05-2016 03:28 PM

Quote:

Originally Posted by rmcconnell (Post 5539928)

Granted: populating the repository with your own custom packages and building the templates is not trivial... but you only have to do it once and deploy X times.

updates? backports? QA? support? I can (and do) use an untested distro on my laptop, for the sake on having new packages, but that would be suicidal in an enterprise environment. And to stop the upcoming comment - no, you cannot test every package that comes into your distribution properly, you simply don't have the resources to do that, with the amount of stuff happening in and on Linux these days, that's a full time job for a few hundreds of professional testers.

Quote:

Nobody bothered to package openstack for Slackware yet, but that is not openstack's fault.
And nobody will, because there simply isn't any requirement for that. Bring in a couple of companies the size of AT&T demanding slackware support, and then something will appear, definitely. Openstack makes sense in large corporate environments, I'm talking hundreds of servers at the very least, and I seriously doubt anyone will ever see slackware, gentoo, or any such niche distribution in such an environment.

Slax-Dude 05-06-2016 06:12 AM

Quote:

Originally Posted by dyasny (Post 5541086)
Quote:

Originally Posted by rmcconnell (Post 5539928)
Granted: populating the repository with your own custom packages and building the templates is not trivial... but you only have to do it once and deploy X times.


Just to clarify: rmcconnell didn't say that... I did :hattip:

rmcconnell 05-06-2016 10:24 AM

Quote:

Originally Posted by dyasny (Post 5539676)
In my 10+ years deploying Linux servers, I have maybe had to do "pruning" a few times, and mostly that was due to windows interoperability (like getting samba to work faster than a windows server). And in that time, hardware got so ridiculously powerful, squeezing that extra portion of a percent isn't worth the trouble. Servers should be easy to redeploy, and once you get to tinkering, it's very easy to lose track of every little twist of the screwdriver.

Maybe you can afford the latest hardware, but my social security check doesn't go that far. I have to depend on a few hand-me-downs and any used equipment that I can afford, and none of them have all that many resources. So both disk space and memory are critical resources that must be preserved.

Quote:

Originally Posted by dyasny (Post 5539676)
In short, while you might be a fan, and I have friends who also are fans, heck, I've used slackware myself when I was starting out, in the real world out there, slackware isn't considered a server distribution. You may rant about it, or you may try and port whatever you like to slackware yourself, but it will not see any use either way, just like slackware doesn't see any use in a corporate environment. And openstack isn't really worth deploying anywhere else anyway.

Ok, if openstack can only be used in that environment, what would you recommend for the family or small business owner that wants to set up a private cloud server?

dyasny 05-06-2016 09:13 PM

Quote:

Originally Posted by rmcconnell (Post 5541433)
Maybe you can afford the latest hardware, but my social security check doesn't go that far. I have to depend on a few hand-me-downs and any used equipment that I can afford, and none of them have all that many resources. So both disk space and memory are critical resources that must be preserved.


That's perfectly fine, but it has nothing to do with software like openstack, which is supposed to span hundreds and thousands of powerful servers.

Quote:

Ok, if openstack can only be used in that environment, what would you recommend for the family or small business owner that wants to set up a private cloud server?
easy. But first you have to tell me what it is you are trying to achieve, leaving fancy marketing words aside. You want to run VMs on demand? Be able to automate VM creation and removal? How many hosts are you trying to manage?

rmcconnell 05-09-2016 08:40 AM

Quote:

Originally Posted by dyasny (Post 5541629)
easy. But first you have to tell me what it is you are trying to achieve, leaving fancy marketing words aside. You want to run VMs on demand? Be able to automate VM creation and removal? How many hosts are you trying to manage?

Ahh, now you are asking technical questions that I won't know how to answer until after I have played with a few servers. This brings us back to a typical chicken and egg problem. How can I answer them without any experience, but how can I gain that experience without knowing any of the answers?


All times are GMT -5. The time now is 04:32 PM.