fix(hostdeployer): deployer hostname

This commit is contained in:
ioito
2021-12-09 16:08:21 +08:00
parent 2c69ed60b8
commit 476684de9d
5 changed files with 167 additions and 157 deletions
+4 -2
View File
@@ -18,10 +18,9 @@ import (
"fmt"
"math/rand"
"github.com/pkg/errors"
"yunion.io/x/jsonutils"
"yunion.io/x/log"
"yunion.io/x/pkg/errors"
"yunion.io/x/pkg/util/netutils"
"yunion.io/x/onecloud/pkg/hostman/guestfs/fsdriver"
@@ -69,6 +68,9 @@ func DoDeployGuestFs(rootfs fsdriver.IRootFsDriver, guestDesc *deployapi.GuestDe
partition = rootfs.GetPartition()
releaseInfo = rootfs.GetReleaseInfo(partition)
)
if len(guestDesc.Hostname) > 0 {
hn = guestDesc.Hostname
}
for _, n := range nics {
var addr netutils.IPV4Addr
if addr, err = netutils.NewIPV4Addr(n.Ip); err != nil {
+154 -154
View File
@@ -1,31 +1,20 @@
// Copyright 2019 Yunion
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: deploy.proto
// source: pkg/hostman/hostdeployer/apis/deploy.proto
// protoc --version=libprotoc 3.11.3
// protoc-gen-go --version=v1.3.5
// protoc --go_out=plugins=grpc:. pkg/hostman/hostdeployer/apis/deploy.proto
package apis
import (
context "context"
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
@@ -47,6 +36,7 @@ type GuestDesc struct {
NicsStandby []*Nic `protobuf:"bytes,5,rep,name=nics_standby,json=nicsStandby,proto3" json:"nics_standby,omitempty"`
Disks []*Disk `protobuf:"bytes,6,rep,name=disks,proto3" json:"disks,omitempty"`
Hypervisor string `protobuf:"bytes,7,opt,name=Hypervisor,proto3" json:"Hypervisor,omitempty"`
Hostname string `protobuf:"bytes,8,opt,name=hostname,proto3" json:"hostname,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@@ -56,7 +46,7 @@ func (m *GuestDesc) Reset() { *m = GuestDesc{} }
func (m *GuestDesc) String() string { return proto.CompactTextString(m) }
func (*GuestDesc) ProtoMessage() {}
func (*GuestDesc) Descriptor() ([]byte, []int) {
return fileDescriptor_05f09e103004e384, []int{0}
return fileDescriptor_dd896c9c60108af6, []int{0}
}
func (m *GuestDesc) XXX_Unmarshal(b []byte) error {
@@ -126,6 +116,13 @@ func (m *GuestDesc) GetHypervisor() string {
return ""
}
func (m *GuestDesc) GetHostname() string {
if m != nil {
return m.Hostname
}
return ""
}
type Disk struct {
DiskId string `protobuf:"bytes,1,opt,name=disk_id,json=diskId,proto3" json:"disk_id,omitempty"`
Driver string `protobuf:"bytes,2,opt,name=driver,proto3" json:"driver,omitempty"`
@@ -153,7 +150,7 @@ func (m *Disk) Reset() { *m = Disk{} }
func (m *Disk) String() string { return proto.CompactTextString(m) }
func (*Disk) ProtoMessage() {}
func (*Disk) Descriptor() ([]byte, []int) {
return fileDescriptor_05f09e103004e384, []int{1}
return fileDescriptor_dd896c9c60108af6, []int{1}
}
func (m *Disk) XXX_Unmarshal(b []byte) error {
@@ -329,7 +326,7 @@ func (m *Nic) Reset() { *m = Nic{} }
func (m *Nic) String() string { return proto.CompactTextString(m) }
func (*Nic) ProtoMessage() {}
func (*Nic) Descriptor() ([]byte, []int) {
return fileDescriptor_05f09e103004e384, []int{2}
return fileDescriptor_dd896c9c60108af6, []int{2}
}
func (m *Nic) XXX_Unmarshal(b []byte) error {
@@ -547,7 +544,7 @@ func (m *VDDKConInfo) Reset() { *m = VDDKConInfo{} }
func (m *VDDKConInfo) String() string { return proto.CompactTextString(m) }
func (*VDDKConInfo) ProtoMessage() {}
func (*VDDKConInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_05f09e103004e384, []int{3}
return fileDescriptor_dd896c9c60108af6, []int{3}
}
func (m *VDDKConInfo) XXX_Unmarshal(b []byte) error {
@@ -622,7 +619,7 @@ func (m *DeployInfo) Reset() { *m = DeployInfo{} }
func (m *DeployInfo) String() string { return proto.CompactTextString(m) }
func (*DeployInfo) ProtoMessage() {}
func (*DeployInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_05f09e103004e384, []int{4}
return fileDescriptor_dd896c9c60108af6, []int{4}
}
func (m *DeployInfo) XXX_Unmarshal(b []byte) error {
@@ -720,7 +717,7 @@ func (m *SSHKeys) Reset() { *m = SSHKeys{} }
func (m *SSHKeys) String() string { return proto.CompactTextString(m) }
func (*SSHKeys) ProtoMessage() {}
func (*SSHKeys) Descriptor() ([]byte, []int) {
return fileDescriptor_05f09e103004e384, []int{5}
return fileDescriptor_dd896c9c60108af6, []int{5}
}
func (m *SSHKeys) XXX_Unmarshal(b []byte) error {
@@ -782,7 +779,7 @@ func (m *DeployContent) Reset() { *m = DeployContent{} }
func (m *DeployContent) String() string { return proto.CompactTextString(m) }
func (*DeployContent) ProtoMessage() {}
func (*DeployContent) Descriptor() ([]byte, []int) {
return fileDescriptor_05f09e103004e384, []int{6}
return fileDescriptor_dd896c9c60108af6, []int{6}
}
func (m *DeployContent) XXX_Unmarshal(b []byte) error {
@@ -834,7 +831,7 @@ func (m *Empty) Reset() { *m = Empty{} }
func (m *Empty) String() string { return proto.CompactTextString(m) }
func (*Empty) ProtoMessage() {}
func (*Empty) Descriptor() ([]byte, []int) {
return fileDescriptor_05f09e103004e384, []int{7}
return fileDescriptor_dd896c9c60108af6, []int{7}
}
func (m *Empty) XXX_Unmarshal(b []byte) error {
@@ -872,7 +869,7 @@ func (m *DeployGuestFsResponse) Reset() { *m = DeployGuestFsResponse{} }
func (m *DeployGuestFsResponse) String() string { return proto.CompactTextString(m) }
func (*DeployGuestFsResponse) ProtoMessage() {}
func (*DeployGuestFsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_05f09e103004e384, []int{8}
return fileDescriptor_dd896c9c60108af6, []int{8}
}
func (m *DeployGuestFsResponse) XXX_Unmarshal(b []byte) error {
@@ -956,7 +953,7 @@ func (m *DeployParams) Reset() { *m = DeployParams{} }
func (m *DeployParams) String() string { return proto.CompactTextString(m) }
func (*DeployParams) ProtoMessage() {}
func (*DeployParams) Descriptor() ([]byte, []int) {
return fileDescriptor_05f09e103004e384, []int{9}
return fileDescriptor_dd896c9c60108af6, []int{9}
}
func (m *DeployParams) XXX_Unmarshal(b []byte) error {
@@ -1018,7 +1015,7 @@ func (m *ResizeFsParams) Reset() { *m = ResizeFsParams{} }
func (m *ResizeFsParams) String() string { return proto.CompactTextString(m) }
func (*ResizeFsParams) ProtoMessage() {}
func (*ResizeFsParams) Descriptor() ([]byte, []int) {
return fileDescriptor_05f09e103004e384, []int{10}
return fileDescriptor_dd896c9c60108af6, []int{10}
}
func (m *ResizeFsParams) XXX_Unmarshal(b []byte) error {
@@ -1073,7 +1070,7 @@ func (m *FormatFsParams) Reset() { *m = FormatFsParams{} }
func (m *FormatFsParams) String() string { return proto.CompactTextString(m) }
func (*FormatFsParams) ProtoMessage() {}
func (*FormatFsParams) Descriptor() ([]byte, []int) {
return fileDescriptor_05f09e103004e384, []int{11}
return fileDescriptor_dd896c9c60108af6, []int{11}
}
func (m *FormatFsParams) XXX_Unmarshal(b []byte) error {
@@ -1129,7 +1126,7 @@ func (m *ReleaseInfo) Reset() { *m = ReleaseInfo{} }
func (m *ReleaseInfo) String() string { return proto.CompactTextString(m) }
func (*ReleaseInfo) ProtoMessage() {}
func (*ReleaseInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_05f09e103004e384, []int{12}
return fileDescriptor_dd896c9c60108af6, []int{12}
}
func (m *ReleaseInfo) XXX_Unmarshal(b []byte) error {
@@ -1190,7 +1187,7 @@ func (m *SaveToGlanceParams) Reset() { *m = SaveToGlanceParams{} }
func (m *SaveToGlanceParams) String() string { return proto.CompactTextString(m) }
func (*SaveToGlanceParams) ProtoMessage() {}
func (*SaveToGlanceParams) Descriptor() ([]byte, []int) {
return fileDescriptor_05f09e103004e384, []int{13}
return fileDescriptor_dd896c9c60108af6, []int{13}
}
func (m *SaveToGlanceParams) XXX_Unmarshal(b []byte) error {
@@ -1237,7 +1234,7 @@ func (m *SaveToGlanceResponse) Reset() { *m = SaveToGlanceResponse{} }
func (m *SaveToGlanceResponse) String() string { return proto.CompactTextString(m) }
func (*SaveToGlanceResponse) ProtoMessage() {}
func (*SaveToGlanceResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_05f09e103004e384, []int{14}
return fileDescriptor_dd896c9c60108af6, []int{14}
}
func (m *SaveToGlanceResponse) XXX_Unmarshal(b []byte) error {
@@ -1283,7 +1280,7 @@ func (m *ProbeImageInfoPramas) Reset() { *m = ProbeImageInfoPramas{} }
func (m *ProbeImageInfoPramas) String() string { return proto.CompactTextString(m) }
func (*ProbeImageInfoPramas) ProtoMessage() {}
func (*ProbeImageInfoPramas) Descriptor() ([]byte, []int) {
return fileDescriptor_05f09e103004e384, []int{15}
return fileDescriptor_dd896c9c60108af6, []int{15}
}
func (m *ProbeImageInfoPramas) XXX_Unmarshal(b []byte) error {
@@ -1328,7 +1325,7 @@ func (m *ImageInfo) Reset() { *m = ImageInfo{} }
func (m *ImageInfo) String() string { return proto.CompactTextString(m) }
func (*ImageInfo) ProtoMessage() {}
func (*ImageInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_05f09e103004e384, []int{16}
return fileDescriptor_dd896c9c60108af6, []int{16}
}
func (m *ImageInfo) XXX_Unmarshal(b []byte) error {
@@ -1409,7 +1406,7 @@ func (m *EsxiDiskInfo) Reset() { *m = EsxiDiskInfo{} }
func (m *EsxiDiskInfo) String() string { return proto.CompactTextString(m) }
func (*EsxiDiskInfo) ProtoMessage() {}
func (*EsxiDiskInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_05f09e103004e384, []int{17}
return fileDescriptor_dd896c9c60108af6, []int{17}
}
func (m *EsxiDiskInfo) XXX_Unmarshal(b []byte) error {
@@ -1449,7 +1446,7 @@ func (m *ConnectEsxiDisksParams) Reset() { *m = ConnectEsxiDisksParams{}
func (m *ConnectEsxiDisksParams) String() string { return proto.CompactTextString(m) }
func (*ConnectEsxiDisksParams) ProtoMessage() {}
func (*ConnectEsxiDisksParams) Descriptor() ([]byte, []int) {
return fileDescriptor_05f09e103004e384, []int{18}
return fileDescriptor_dd896c9c60108af6, []int{18}
}
func (m *ConnectEsxiDisksParams) XXX_Unmarshal(b []byte) error {
@@ -1495,7 +1492,7 @@ func (m *EsxiDisksConnectionInfo) Reset() { *m = EsxiDisksConnectionInfo
func (m *EsxiDisksConnectionInfo) String() string { return proto.CompactTextString(m) }
func (*EsxiDisksConnectionInfo) ProtoMessage() {}
func (*EsxiDisksConnectionInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_05f09e103004e384, []int{19}
return fileDescriptor_dd896c9c60108af6, []int{19}
}
func (m *EsxiDisksConnectionInfo) XXX_Unmarshal(b []byte) error {
@@ -1546,128 +1543,131 @@ func init() {
proto.RegisterType((*EsxiDisksConnectionInfo)(nil), "apis.EsxiDisksConnectionInfo")
}
func init() { proto.RegisterFile("deploy.proto", fileDescriptor_05f09e103004e384) }
func init() {
proto.RegisterFile("pkg/hostman/hostdeployer/apis/deploy.proto", fileDescriptor_dd896c9c60108af6)
}
var fileDescriptor_05f09e103004e384 = []byte{
// 1735 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0x4f, 0x6f, 0x1c, 0x49,
0x15, 0xd7, 0xfc, 0x9f, 0x7e, 0xe3, 0xd8, 0x4e, 0xc5, 0xb1, 0x7b, 0x27, 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x78, 0xf6, 0xa9, 0x53, 0x7a, 0x7f, 0x41, 0x8c,
0x9f, 0xee, 0x66, 0xe0, 0x7e, 0xbe, 0x5e, 0xc2, 0xa3, 0x2b, 0x69, 0x92, 0xfb, 0x67, 0x7e, 0x78,
0xd7, 0x4e, 0x60, 0x6e, 0xfb, 0xf4, 0x5f, 0xff, 0xe2, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x30,
0xc4, 0xb6, 0xf0, 0xe7, 0x0f, 0x00, 0x00,
var fileDescriptor_dd896c9c60108af6 = []byte{
// 1760 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0xdd, 0x6e, 0x1c, 0x49,
0x15, 0xd6, 0xfc, 0x4f, 0x9f, 0xf1, 0x5f, 0x2a, 0x8e, 0xdd, 0x3b, 0xd9, 0xec, 0x5a, 0x83, 0x40,
0x56, 0xc8, 0x3a, 0xc2, 0x01, 0x6e, 0x10, 0x12, 0x91, 0xbd, 0xd9, 0xb5, 0xc2, 0x2e, 0x56, 0x3b,
0x81, 0x3b, 0x5a, 0xe5, 0xee, 0x9a, 0x99, 0xc2, 0xdd, 0x55, 0xad, 0xae, 0x9a, 0x99, 0x0c, 0xd2,
0xbe, 0x11, 0x57, 0x48, 0xdc, 0x72, 0xc9, 0x3b, 0xf0, 0x0a, 0x3c, 0x00, 0xdc, 0xa2, 0x73, 0xaa,
0xba, 0xa7, 0xc7, 0x1b, 0xb2, 0xb9, 0xe1, 0xaa, 0xeb, 0xfc, 0x54, 0xd5, 0xf9, 0xfd, 0x4e, 0x35,
0x3c, 0x2d, 0xee, 0x66, 0xcf, 0xe7, 0xda, 0xd8, 0x9c, 0x2b, 0xfa, 0xa6, 0xa2, 0xc8, 0xf4, 0x5a,
0x94, 0xcf, 0x79, 0x21, 0xcd, 0x73, 0x47, 0x9d, 0x15, 0xa5, 0xb6, 0x9a, 0x75, 0x91, 0x35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xb8, 0xbe, 0xd7, 0xdb, 0x21, 0xfd, 0x13, 0xe5, 0xb4, 0xfa, 0xb1, 0x6a, 0xfd,
0xcf, 0x93, 0x9c, 0xc2, 0xf9, 0x3f, 0x3a, 0x30, 0x72, 0x58, 0xf5, 0x72, 0x86, 0xa3, 0xe0, 0x37,
0xd5, 0x24, 0xf1, 0x40, 0xcf, 0x58, 0x13, 0xcf, 0x9c, 0x7b, 0xe3, 0xc7, 0x4d, 0xde, 0xfd, 0x89,
0xf0, 0x05, 0x0c, 0x2b, 0xc8, 0x62, 0x87, 0x55, 0x91, 0x35, 0x21, 0x6c, 0x3c, 0xf2, 0xe6, 0xe0,
0x68, 0x41, 0xf5, 0x0a, 0x62, 0x2a, 0xf5, 0x6d, 0xc8, 0xd9, 0x56, 0xbf, 0x84, 0x9d, 0x66, 0xc7,
0xb1, 0xd0, 0xbf, 0x7f, 0xbe, 0xd7, 0xd4, 0xe3, 0xf1, 0xf7, 0x25, 0xb5, 0x8d, 0xbf, 0x86, 0xbd,
0xed, 0x86, 0x62, 0x5e, 0xfb, 0x7d, 0x6d, 0x36, 0xf6, 0x33, 0x60, 0xa3, 0xfc, 0x3b, 0x38, 0xb8,
0x9f, 0x78, 0xf6, 0xa9, 0x53, 0x7a, 0x7f, 0x41, 0x8c, 0x9f, 0x6c, 0x67, 0xe0, 0x7e, 0xbe, 0x5e,
0xc2, 0xc3, 0x4b, 0x69, 0x92, 0xfb, 0x67, 0x7e, 0x78, 0xd7, 0x56, 0x60, 0x6e, 0xfb, 0xf4, 0xcf,
0xff, 0xe2, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x05, 0x65, 0xaf, 0xd2, 0x21, 0x10, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn
var _ grpc.ClientConnInterface
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4
const _ = grpc.SupportPackageIsVersion6
// DeployAgentClient is the client API for DeployAgent service.
//
@@ -1683,10 +1683,10 @@ type DeployAgentClient interface {
}
type deployAgentClient struct {
cc *grpc.ClientConn
cc grpc.ClientConnInterface
}
func NewDeployAgentClient(cc *grpc.ClientConn) DeployAgentClient {
func NewDeployAgentClient(cc grpc.ClientConnInterface) DeployAgentClient {
return &deployAgentClient{cc}
}
@@ -1954,5 +1954,5 @@ var _DeployAgent_serviceDesc = grpc.ServiceDesc{
},
},
Streams: []grpc.StreamDesc{},
Metadata: "deploy.proto",
Metadata: "pkg/hostman/hostdeployer/apis/deploy.proto",
}
@@ -1,5 +1,8 @@
syntax = "proto3";
// protoc --version=libprotoc 3.11.3
// protoc-gen-go --version=v1.3.5
// protoc --go_out=plugins=grpc:. pkg/hostman/hostdeployer/apis/deploy.proto
package apis;
message GuestDesc {
@@ -12,6 +15,7 @@ message GuestDesc {
repeated Disk disks = 6;
string Hypervisor = 7;
string hostname = 8;
}
message Disk {
+1
View File
@@ -91,6 +91,7 @@ func GuestDescToDeployDesc(guestDesc *jsonutils.JSONDict) (*GuestDesc, error) {
ret.Name, _ = guestDesc.GetString("name")
ret.Domain, _ = guestDesc.GetString("domain")
ret.Uuid, _ = guestDesc.GetString("uuid")
ret.Hostname, _ = guestDesc.GetString("hostname")
jnics, _ := guestDesc.Get("nics")
jdisks, _ := guestDesc.Get("disks")
jnicsStandby, _ := guestDesc.Get("nics_standby")
+4 -1
View File
@@ -105,7 +105,10 @@ func (s *SGuestDHCPServer) getGuestConfig(guestDesc, guestNic jsonutils.JSONObje
conf.ServerIP = net.ParseIP(v4Ip.NetAddr(int8(masklen)).String())
conf.SubnetMask = net.ParseIP(netutils2.Netlen2Mask(int(masklen)))
conf.BroadcastAddr = v4Ip.BroadcastAddr(int8(masklen)).ToBytes()
conf.Hostname, _ = guestDesc.GetString("hostname")
conf.Hostname, _ = guestDesc.GetString("name")
if hostname, _ := guestDesc.GetString("hostname"); len(hostname) > 0 {
conf.Hostname = hostname
}
conf.Domain = nicdesc.Domain
// get main ip