Comments (15)
Contents of the zip file, from a CentOS 6.6 VM, no chef-client-latest.rpm
:
Archive: Chef.Bootstrap.WindowsAzure__LinuxChefClient__11.18.6.1.zip
Length Date Time Name
--------- ---------- ----- ----
0 03-30-2015 13:15 bin/
484 03-30-2015 13:15 bin/chef-disable.rb
477 03-30-2015 13:15 bin/chef-enable.rb
1836 03-30-2015 13:15 bin/chef-install.sh
2544 03-30-2015 13:15 bin/chef-uninstall.sh
1230 03-30-2015 13:15 bin/chef-update.sh
190 03-30-2015 13:15 disable.sh
188 03-30-2015 13:15 enable.sh
0 03-30-2015 13:15 gems/
29696 03-30-2015 13:15 gems/azure-chef-extension-0.0.1.gem
293 03-30-2015 13:15 HandlerManifest.json
136 03-30-2015 13:15 install.sh
0 03-30-2015 13:15 installer/
32482204 03-30-2015 13:15 installer/chef-client-latest.deb
132 03-30-2015 13:15 uninstall.sh
129 03-30-2015 13:15 update.sh
0 03-30-2015 13:15 version_11.18.6.1_20150330_ubuntu
--------- -------
32519539 17 files
from azure-chef-extension.
Looking at the source code and CommandExecution.log
it seems to get off on the wrong foot.
2015/03/31 21:30:47 Downloading plugin manifest: Chef.Bootstrap.WindowsAzure.LinuxChefClient from http://rdfepirv2db3prdstr02.blob.core.windows.net/0fa68ca509a643f49117169ef78baf70/Chef.Bootstrap.WindowsAzure_LinuxChefClient_europenorth_manifest.xml
It shouldn't download Chef.Bootstrap.WindowsAzure_LinuxChefClient_europenorth_manifest.xml
but rather Chef.Bootstrap.WindowsAzure_CentosChefClient_europenorth_manifest.xml
.
The full URL would be http://rdfepirv2db3prdstr02.blob.core.windows.net/0fa68ca509a643f49117169ef78baf70/Chef.Bootstrap.WindowsAzure_CentosChefClient_europenorth_manifest.xml.
from azure-chef-extension.
@trydis azure-chef-extension is not supported for CentOS on azure portal right now.
from azure-chef-extension.
Any time frame on when it will be supported? Looks like most (all?) of the code is already in the scripts. Not a big deal, since I can use knife to bootstrap the nodes, just curious 😄
from azure-chef-extension.
No plans to support CentOS as of now. But we'll consider this in future.
from azure-chef-extension.
We do need to address this as soon as the Azure portal can handle two different Linux distros.
from azure-chef-extension.
The chef-install.sh
already supports CentOS. The only thing missing is the file installer/chef-client-latest.rpm
in the package.
from azure-chef-extension.
@adamedx, can you please add the RPM file to the zip file http://rdfepirv2am2prdstr02.blob.core.windows.net/0fa68ca509a643f49117169ef78baf70/Chef.Bootstrap.WindowsAzure__LinuxChefClient__11.18.6.1
Thank you!
from azure-chef-extension.
Hi , I'm Vittorio from Azure support - we are currently discussing this with the respective Microsoft and Chef development teams
Thanks
Vittorio
from azure-chef-extension.
We have started work on this issue. Instead of keeping installers for both ubuntu
and centos
in same LinuxChefClient
package, we are going to use yum repo
for installing centos package.
from azure-chef-extension.
@tmaierACN as @NimishaS states, this is being worked on. For transparency, the key problem here is mismatch in UX assumptions in Azure Resource manager which assumes that one extension works on all Linux distributions vs. the extension which was originally intended to be published for each distribution.
The initial fix will use Chef's public (Internet-based) yum repos to avoid the need to package binaries. We are finalizing a plan to use yum repos internal to Azure to retain the Ubuntu case's performance, reliability, and security benefits of requiring no Internet access to the guest VM.
Here is a much longer explanation of the situation:
The original motivation for one extension per distro was that the while the extension's code contains installation code that should work an multiple Linux distributions, it also contains chef-client binaries.
- When the extension was first implemented, there was no Internet-based yum repository from which to obtain the packages, so including the binaries was the best option.
- The extension contains binaries for only one OS distro to avoid large package sizes and attendant speed reliability issues that go along with large package, and this leads to an extension that is specific to OS distribution.
- The guest agent with which the extension integrates happened to stabilize first for Ubuntu, so that platform was implemented first.
- The Azure Resource Manager however only distinguishes between Windows and Linux, and UX-focused tools like the Azure portal are thus not able to use the ARM API to identify an extension specific to CentOS -- there can only be one extension for all Linux distros as far as ARM is concerned.
- To avoid regressing UX scenarios for users of the existing Ubuntu extension, we focused on getting a yum repo from which we could publish the package. That repository is fairly extensive and contains many products, so that was a non-trivial undertaking and has taken longer than we'd like from the standpoint of the extension.
Now that we have the yum repository, we can move forward with adding CentOS support without including CentOS binaries and adhere to the design requirement for a generic Linux extension.
from azure-chef-extension.
Cool. Thank you for this detailed update, @adamedx.
from azure-chef-extension.
So how can I install Chef on Centos using 'CentosChefClient extension' or 'LinuxChefClient extension'?
from azure-chef-extension.
@hough01, due to this bug, there isn't a way to do this using the Azure resource manager commands, but we hope to have a fix soon.
However, if you have a workstation (Linux or Windows) where you've installed Chef-DK, you can gem install knife-azure
to use the knife-azure plugin to configure an Azure node with Chef.
from azure-chef-extension.
azure-chef-extension
1210.12.4.1001 has been published for linux with centos support.
from azure-chef-extension.
Related Issues (20)
- Status not updated properly if install has to be retried. HOT 5
- Install fails if MSI installer in use when Azure Extension applied HOT 12
- High CPU utilizaton on Windows 2019 HOT 8
- Get Win32_Product in chef-install.psm1 polluting Windows logs
- Deployment of Azure Chef extension is failing in Ubuntu 20.04
- Add support for service type "none" for linux VMs
- Linux `chef_package_url` setting does not strip query parameters from file extension
- type_handler_version = "1210.13" HOT 10
- Install fails with CC17 due to dependency on knife libraries HOT 3
- Pin azure-chef-extension to chef 16 until chef 17 is tested and verified. HOT 1
- Azure chef extension policyfile support - 1210.13.4.1 HOT 8
- With chef17 chef-client no longer installs as a service in windows.
- Git clone error when installing cookbook HOT 2
- Installation failure on linux 8+ HOT 2
- Python not found error in Redhat 8.4 HOT 1
- When using chef-Azure-extention 1210.13.x, credentials are being printed on the logs during client converge HOT 2
- Move azure-chef-extention release server under progress
- Exception Chef.Bootstrap.WindowsAzure.ChefClient has not exited on time on Chef Version 14 HOT 1
- Automate the azure-chef-extension release pipeline
- License Acceptance causing Client First Run to fail on Windows
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-chef-extension.