Bug 1250658
| Summary: | [Docs] [Heat] Documentation Red Hat Openstack 6 Heat | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | ahernand |
| Component: | documentation | Assignee: | Don Domingo <ddomingo> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.0 (Juno) | CC: | adahms, jwaterwo, mchappel, yeylon |
| Target Milestone: | z4 | Keywords: | Documentation, ZStream |
| Target Release: | 6.0 (Juno) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-08-16 02:59:51 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1257000 | ||
|
Description
ahernand
2015-08-05 17:09:57 UTC
Heat appears to use ec2-user as default, which appears to be contradictory to the documentation. https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/6/html-single/Configuration_Reference_Guide/index.html#ch_configuring-openstack-orchestration instance_user = ec2-user -------------------- (StrOpt) The default user for new instances. This option is deprecated and will be removed in the Juno release. If it's empty, Heat will use the default user set up with your cloud image (for OS::Nova::Server) or 'ec2-user' (for AWS::EC2::Instance). -------------------- This options has NOT been removed. Additionally, the ec2-user appears to be hard coded default: http://git.openstack.org/cgit/openstack/heat/tree/heat/engine/resources/instance.py?h=stable/juno#n606 ----------------------- # FIXME(shadower): the instance_user config option is deprecated. Once # it's gone, we should always use ec2-user for compatibility with # CloudFormation. if cfg.CONF.instance_user: instance_user = cfg.CONF.instance_user else: instance_user = 'ec2-user' ----------------------- So while the documentation says: "If it's empty, Heat will use the default user set up with your cloud image (for OS::Nova::Server)" means it it is set to an empty string, not if it is unspecified. unspecified will default to ec2-user it's technically correct but could definitely be clearer Assigning to Don for review. Changes published: https://access.redhat.com/documentation/en/red-hat-enterprise-linux-openstack-platform/version-7/configuration-reference#ch_configuring-openstack-orchestration Search for 'ec2-user'. This content is now live on the Customer Portal. Closing. |