Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
Help Center/ Huawei Cloud Flexus_Huawei Cloud Flexus L Instance/ FAQs/ OS and Image/ What Should I Do If a Private Image Cannot Be Used to Create a FlexusL Instance or Change the OS of a FlexusL Instance Because the Password Reset Plug-in Is Not Installed on the Image or the Image's onekey_resetpasswd Tag Is Missing?

What Should I Do If a Private Image Cannot Be Used to Create a FlexusL Instance or Change the OS of a FlexusL Instance Because the Password Reset Plug-in Is Not Installed on the Image or the Image's onekey_resetpasswd Tag Is Missing?

Updated on 2024-12-04 GMT+08:00

Symptom

When you use a private image to create a FlexusL instance or change the OS, the message "This image has no password reset plug-in installed or onekey_resetpasswd tagged." is displayed.

NOTE:

If your private image is not displayed in the private image list of the FlexusL instance, check whether the private image and the FlexusL instance are in the same region. Images are regional resources. FlexusL instances can only be created from private images that are in the same region with them.

Possible Causes

If a private image is created from a server on another cloud platform or downloaded from a third party, the private image may fail to be used to create a FlexusL instance or change the OS of an instance because the password reset plug-in is not installed on the image or the onekey_resetpasswd tag is missing. Perform the following steps to rectify the fault:

Step 1: Check Whether the Private Image Lacks the onekey_resetpasswd Tag

  1. Query and copy the ID of the private image on the IMS console.

  2. Locate the ListImages API in API Explorer. Enter the image ID to check whether the private image contains the onekey_resetpasswd tag.
    1. Set the following parameters:
      • Region: Select the region where the private image is located.
      • ID: Enter the private image ID.
      Figure 1 Selecting a region
      Figure 2 Entering the private image ID
    2. Click Debug to view the result.

      If the __os_feature_list parameter is displayed in the response body and its value contains \"onekey_resetpasswd\": \"true\", the private image contains the onekey_resetpasswd tag. Otherwise, the onekey_resetpasswd tag is not contained, as shown in the following figure.

      If the private image does not contain the onekey_resetpasswd tag, add the tag to the private image by referring to 3.

      Figure 3 The onekey_resetpasswd tag not contained in the private image
  3. Add the onekey_resetpasswd tag for the private image.
    1. Set the following parameters in the UpdateImage API:
      • Region: Select the region where the private image is located.
      • image_id: Enter the private image ID.
      • Body: Click Edit Code and enter the following content:
      [
        {
          "op": "add",
          "path": "/__os_feature_list",
          "value": "{\"nic_hotplug\":\"true\", \"disk_hotplug\": \"true\", \"user_data\": \"true\", \"ssh_key\":\"true\", \"hostname_inject\": \"true\", \"onekey_resetpasswd\": \"true\"}"
        }
      ]
    2. Click Debug and then view the result.

      The __os_feature_list parameter is displayed in the response body and its value contains \"onekey_resetpasswd\": \"true\", which means that the private image contains the onekey_resetpasswd tag.

  4. Refresh the page for creating a FlexusL instance or changing the OS of an instance, and select the private image again.
    NOTE:

    Refresh the page before you select the private image.

Step 2: Check Whether the Password Reset Plug-in Is Installed in the Private Image

After using a private image to create a FlexusL instance or change the OS of an instance, set the password of the FlexusL instance on the console.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback