Closed sheng-liang closed 5 years ago
I'm on it. Expect something very soon
@imikushin Since we are using cloud-init datasources from CoreOS, there is support for wagent, but we just haven't enabled it in the code. You just need to add it here https://github.com/rancherio/os/blob/master/cmd/cloudinit/cloudinit.go#L265. I'm not sure what that code does, but just thought it might be worthwhile to point out.
Sorry, I'm not getting it-- is cloudinit a deploy tool that hooks up to various cloud providers and gets rancheros running? Pls let me know if that's correct, thank you :)!
@metagen Its not a deploy tool. cloud-init is a distribution package, that does early initialization of an instance on various cloud. https://cloudinit.readthedocs.org/en/latest/
cloud-init is used to setup ssh-keys, set hostname, write files and execute scripts on a freshly created instance. The data can be provided to cloud-init by various data sources, such as config drive (http://docs.openstack.org/user-guide/content/config-drive.html) for openstack. In case of Azure, waagent is the data source (http://azure.microsoft.com/en-us/documentation/articles/virtual-machines-linux-agent-user-guide/)
Any update on this issue? Would really be interesting to try it out :)
With this support, we need to make sure we add in the ability to pass in user-data
.
@yellow1912 We currently have a RancherOS v0.3.1 image out in the Azure Resource Management marketplace. We've documented instructions on how to launch a VM using their portal.
I tried to create a RancherOS image from the marketplace. When I select location I get not available in any region.
Noticed that RancherOS on Azure is configured for BYOL.
"Bring your own license (BYOL). Publisher implements their own mechanisms for securing the licensing of their product. Customers must contact the publisher directly to purchase a license to use the software."
Question is where do I get a license to be able to run RancherOS in Azure?
Are you using the new portal or the old portal? They switched over to the Azure Resource Management portal, which is where it can be found.
Even though it says BYOL, there is no license once you get the VM started.
Yeah using the new portal as its not available in the old one. I have tried to create the machine with different subscriptions like pay-as-you-go and MSDN. I can select the template, filling the first part of the template, but on the next step when to select the size they are all unavailable.
Tried all different regions.
Did you set up your resource groups all correctly? The new interface/requirements for Azure is definitely a bit confusing, so I'm wondering if that's why you aren't able to pick any of them...
There is not much configuration you can do on a resource groups, as its an resource group containing recources. I just use the create new on the basic settings page. I have tried with 3 different account too, and same result with all of the.
I tested it with the free trial and had no issues. Let me contact our MS contacts to see if they might be able to help.
I just tried again with my free trial that's about to expire and had no issue with getting pricing on the "Size" step.
Something have changed in azure. I can now select an VM size But it say unable to display pricing instead of unavailable, and when I get to the last step I cant buy the machine.
So it must be some azure issue, and someone is working on it. Maybe in 2 weeks time it will work hehe.
Could it be BizSpark subscription? We are trying to create with it and it doesn't work either...
It's not an issue with the BizSpark subscription as I tried to create it with the Azure CLI and got an error that "Plan Information is required". There is no option for plan information in the CLI or Portal.
I tried to create an Test US account and managed to create the box. I would guess it's region locked or something.
@Flowman tried to create into US region with BizSpark and it didn't worked.
@deniseschannon is there a way to publish RancherOS image through azure vm depot? https://vmdepot.msopentech.com/
My subscription is based in denmark, and i cant create the rancheros. Could you make it available to all regions?
I've a Bizpark account in Portugal and it doesn't show me the prices either. It would be cool if this could be fixed.
Actually, checking the RancherOS in azure marketplace (https://azure.microsoft.com/en-in/marketplace/partners/rancher/rancheros/) the only country available for pricing options is US.
I am having the same problem. I have a German account and I am not able to pick any kind of Machine. Is there a solution for that ?
The message that I get is: "Not offered in the region of your subscription"
I'm facing the same issue - my subscription is based in Germany.
Based on https://azure.microsoft.com/en-in/marketplace/partners/rancher/rancheros/ rancheros image seems limited to people with a billing country of the US. It seems to be available in all regions but your billing country must be the US. Mine is Australia so i get the error people were reporting above the "Not Available" Could the image be allowed in all billing regions?
For the technical people that want to build their own azure rancheros image, check out this github repo https://github.com/imikushin/os-azure
It will create a vm image that can be used in the classic azure model.
Is there a time frame for releasing the 0.4 series to Azure ARM?
@seertenedos is right. This is a common problem with third party images on Azure. Not sure what the resolution it. Calling Azure Support is the best bet.
Any idea when this will be resolved?
We had spent time getting RancherOS on Azure on their old API (Azure Services Management) and then they released a new API (Azure Resource Management), which is where we haven't been able to prioritize spending the time to get RancherOS working in their new API (ARM mode).
PRs are welcome if you end up successfully building your own Azure RancherOS image in the new API.
Also, I reached out again to see why the subscription is limited to billing countries of only the US.
Same error here with billing in Spain.
I think in the meanwhile this https://azure.microsoft.com/en-us/marketplace/partners/rancher/rancheros/ does not let us select our country as 'Billing Country' it will not be available.
Nowadays only United States is available.
I would love to take RancherOS for a spin using my MSDN subscription but I'm also facing problems. I have been told that:
Since the rancherOS is marketplace 3rd app service, it is directly charged to credit card. I am afraid that we cannot utilize MSDN credits for marketplace services
Does this mean that the billing of the VM is on my subscription but the App costs are separate? Because that would make sense for proprietary applications, but RancherOS is open source and to my understanding does not have a cost of its own.
Hello guys.
Do we have a working version of RancherOS for azure ? I saw in the doc the azure version was stuck in 0.3.1. I would like to try your solution to deploy a kubernetes cluster and manage it.
Regards.
@AlexGrs Are you sure you're not thinking of using Kubernetes with Rancher? Rancher can certainly be used on Azure today, just not with RancherOS.
Hi @joshwget ,
To use Rancher on Azure without RancherOS means I need to deploy it using a container approach right ? I thought that by using this approach I was not able to upgrade rancher in the last version.
I have some difficulties to understand the difference between Rancher and RancherOS to be honest.
@AlexGrs You can launch Rancher on Azure without RancherOS. For Rancher, these are the requirements:
http://docs.rancher.com/rancher/v1.2/en/installing-rancher/installing-server/#requirements
If you have issues with launching Rancher, please open up issues in https://github.com/rancher/rancher/issues
RancherOS is an operating system where everything is running in a container.
Is this problem solved? I'm in Portugal and tried with my Azure Sponsorship Subscription and it showed the same problems listed above, "not available".
I'm apprehensive about using Rancher with Azure, considering that in within Rancher we can launch RancherOS instances (hosts) in Azure. So this will be problem again even if I install the Rancher Server in a Ubuntu instance.
Please advise.
PS: If its too old and with problems, please remove it from the Azure Marketplace.
This is still not solved. It's not working for EU West region. First you cannot set the size of the VM. Even if you manage to set it, you get this message: The publisher does not offer this product in the billing region of your subscription. Please choose another subscription.
Why is this region locked? Is there any reason?
Any update on this issue? Still can't deploy RancherOS using Azure's web, cli and docker-machine driver. Example:
$ docker-machine create --driver azure --azure-subscription-id SUB_ID --azure-size Standard_A1 --azure-image rancher:rancheros:os:0.3.1 --azure-location westeurope rancher-master
Running pre-create checks...
(rancher-master) Completed machine pre-create checks.
Creating machine...
(rancher-master) Querying existing resource group. name="docker-machine"
(rancher-master) Creating resource group. name="docker-machine" location="westeurope"
(rancher-master) Configuring availability set. name="docker-machine"
(rancher-master) Configuring network security group. name="rancher-master-firewall" location="westeurope"
(rancher-master) Querying if virtual network already exists. location="westeurope" name="docker-machine-vnet" rg="docker-machine"
(rancher-master) Creating virtual network. location="westeurope" name="docker-machine-vnet" rg="docker-machine"
(rancher-master) Configuring subnet. name="docker-machine" vnet="docker-machine-vnet" cidr="192.168.0.0/16"
(rancher-master) Creating public IP address. name="rancher-master-ip" static=false
(rancher-master) Creating network interface. name="rancher-master-nic"
(rancher-master) Creating storage account. name="vhdslzvudm4c3mao1ntvk4kg" location="westeurope" sku=Standard_LRS
(rancher-master) Creating virtual machine. name="rancher-master" location="westeurope" size="Standard_A1" username="docker-user" osImage="rancher:rancheros:os:0.3.1"
Error creating machine: Error in driver during machine creation: compute.VirtualMachinesClient#CreateOrUpdate: Failure sending request: StatusCode=200 -- Original Error: Long running operation terminated with status 'Failed': Code="VMMarketplaceInvalidInput" Message="Creating a virtual machine from Marketplace image requires Plan information in the request. OS disk name is rancher-master-os-disk."
+1 please fix this
Can we get an update on the progress here, please? I'd like to run a rancheros cluster on azure, right now, this seems impossible.
+1
+1
+1
+1 please. I'm using the Rancher Web UI and there's no place to include Plan information. What's the status of this issue?
We have completed the self-test, but it takes about 2 weeks to publish to the marketplace, and there are some other problems with our account. For these reasons, we are unable to ensure that it can be used in the Azure marketplace when the 1.5.1 release.
You can get a custom build if you want to your own azure image:
# first, build with rancher/os
$ make azure
# second, build with rancher/os-packer
PACKER_BOOT_WAIT=100s make build-azure
Now keep this issue open. Once we ship it to the marketplace, I will close this issue.
RancherOS on Azure is available now. https://azuremarketplace.microsoft.com/en-us/marketplace/apps/rancher.rancheros
I've just deployed RancherOS via the Marketplace on Azure but am unable to ssh into the vm. Is there still a known issue with this?
@ddarling85 Try this doc: https://rancher.com/docs/os/v1.x/en/installation/running-rancheros/cloud/azure/
Perhaps we need to create a system container for running the Azure python agent?